Commit Graph

3184 Commits

Author SHA1 Message Date
Nick Burch
26598e3179 Notes on ooxml-schemas 1.1 and 1.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@954511 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 15:20:19 +00:00
Nick Burch
ad33151624 Better handling of Outlook messages in HSMF when there's no recipient email address
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@954476 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 13:47:22 +00:00
Nick Burch
5c3415e09c When formatting numbers with DataFormatter, handle brackets following colours
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@954416 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 11:45:09 +00:00
Yegor Kozlov
5c68b8bd76 force ASCII encoding when compiling sources, fixed unmappable characters for encoding ASCII
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@954172 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13 06:26:14 +00:00
Nick Burch
3d9281b8da Remove spurious svn:executable flags
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953725 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 15:22:49 +00:00
Nick Burch
6c5710a6af The next release will be 3.7 beta 2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953722 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 15:17:15 +00:00
Nick Burch
06ab7e3bdb Keep compatibility for now, and alert people to move to the new class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953721 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 15:16:49 +00:00
Nick Burch
6de45a3b30 A few little tweaks to the contribution guide
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953716 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 15:12:19 +00:00
Nick Burch
09e0578165 Fix 1.6-isms from the patch from bug #48574
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953707 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 14:46:29 +00:00
Nick Burch
0447e031da Apply (with slight tweaks) patch from Phillip Epp from bug #48574 - further XWPF support for tables, paragraphs, including enhanced support for adding new ones
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953704 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 14:37:58 +00:00
Nick Burch
05ddf6a51e Fix for bug #48245 - tweak HWPF table cell detection to work across more files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953694 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 13:29:44 +00:00
Nick Burch
e92c009814 Apply, with a few tweaks, the patch from bug #48996 - initial support for External Name References in HSSF formula evaluation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953395 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 17:07:06 +00:00
Nick Burch
bf4e6ff464 Add additional RevisionMarkAuthorTable test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953343 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 15:02:05 +00:00
Nick Burch
ff39e177d1 Add more to test for bug #46664, including the last bit which is disabled pending a fuller fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953290 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 11:56:56 +00:00
Nick Burch
2157d942f2 Fix bug #46664 - fix up Tab IDs when adding new sheets, so that print areas don't end up invalid
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@953180 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 22:56:16 +00:00
Yegor Kozlov
8c4341facf cleaned javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951920 13f79535-47bb-0310-9956-ffa450edef68
2010-06-06 18:19:08 +00:00
Nick Burch
d29d1d7d9b Apply with tweaks the patch from bug #45269 - improve replaceText on HWPF ranges
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951498 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 17:19:31 +00:00
Nick Burch
0e86939f7e Add tests to verify that XSSF and HSSF do the same thing with retrieving the wrong type of value from string/numberic/formula cells, and tweak documentation to match the long standing behaviour (bug #47815)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951466 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 15:58:02 +00:00
Nick Burch
3352f76127 Make the orders match the names, as otherwise people get confused (bug #49381 for example)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951453 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 15:41:32 +00:00
Nick Burch
74c40ef943 Add unit test to verify that bug #47490 no longer exists
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951446 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 15:33:47 +00:00
Nick Burch
80ff41d36a Add unit test for bug #45970 - shows that we can read Formulas with URL based references in them, but we can't change them properly. Part of the unit test is disabled for now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951420 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 14:40:01 +00:00
Nick Burch
d14beb4b84 Fix bug #49386 - avoid NPE when extracting OOXML file properties which are dates
Also tidy up POIXMLPropertiesTextExtractor to exclude properties which are missing


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951384 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 12:02:36 +00:00
Nick Burch
45c4b6bf8f Tweak @link reference to avoid compiler issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951055 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 16:23:40 +00:00
Nick Burch
f9fa636e6d Remove un-used imports
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951053 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 16:21:41 +00:00
Nick Burch
ee937dd9d0 Fix bug #49377 - only call DecimalFormat.setRoundingMode on Java 1.6 - it's needed to match excel's rendering of numbers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951052 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 16:20:26 +00:00
Nick Burch
da0c5ad895 Fix bug #49378 - correct 1.6ism
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951048 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 16:13:38 +00:00
Nick Burch
65d7431a9f Parse the HSMF headers chunk if present, and use it to find Dates in text extraction if needed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951034 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 15:33:54 +00:00
Nick Burch
835efd63de Fix 1.6ism
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951016 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 14:58:02 +00:00
Nick Burch
5cd9ac0ccf Fix inspired by bug #48494 - detect and support time formats like HH:MM;HH:MM
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950665 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 17:17:42 +00:00
Nick Burch
53f8d4561f Another fix inspired by bug #48494 - have ExcelExtractor make use of HSSFDataFormatter, so that numbers and dates come out closer to how Excel would render them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950657 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 16:51:05 +00:00
Nick Burch
393e672176 Fix bug #48494 - have EventBasedExcelExtractor make use of HSSFDataFormatter, so that numbers and dates come out closer to how Excel would render them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950616 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 16:13:04 +00:00
Nick Burch
b288c631f2 Fix bug #49096 - add clone support to Chart begin and end records, to allow cloning of more Chart containing sheets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950611 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 16:01:26 +00:00
Nick Burch
cee16bc83b List attachment names in the output of OutlookTextExtractor (to get attachment contents, use ExtractorFactory as normal)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950595 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 15:24:11 +00:00
Nick Burch
91976c60d8 Update the FAQ with a note about poi-ooxml-schemas vs the full ooxml-schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950499 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 11:30:13 +00:00
Nick Burch
e6879026b5 Fix inspired by bug #48872 - allow DateFormatter.formatRawCellContents to handle 1904 as well as 1900 dates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950117 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 15:31:51 +00:00
Nick Burch
fafc079bfe More work inspired by bug #48872 - handle MMMMM and elapsed time formatting rules in DataFormatter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950113 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 15:20:57 +00:00
Nick Burch
b303c57d54 More fixes inspired by bug #48872 - handle zero formatting rules, and better color detection in DataFormatter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950035 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 12:12:22 +00:00
Yegor Kozlov
ee9210d27b ensure english locale for POI build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949511 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 12:39:42 +00:00
Yegor Kozlov
deae43db43 more cleanup of deprecation warnings generated by javac
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949485 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 06:57:23 +00:00
Yegor Kozlov
6ee427ddf9 fixed construction of the DIB picture header, see Bugzilla 43161
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949483 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 06:56:32 +00:00
Yegor Kozlov
55c924c5d2 removed deprecation warnings to keep javac quiet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949434 13f79535-47bb-0310-9956-ffa450edef68
2010-05-29 18:31:04 +00:00
Yegor Kozlov
8c6e2767fa optimized serialization of XSSFRow - avoid re-ordering of CTCell beans if they are already ordered
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949375 13f79535-47bb-0310-9956-ffa450edef68
2010-05-29 10:28:04 +00:00
Nick Burch
db3f7a1484 Support a couple more crazy formats, as identified in bug #48872, plus test them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949226 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 16:47:01 +00:00
Nick Burch
e09e67c403 Fix bug #48718 - Make the creation of multiple, un-modified fonts in a row in XSSF match the old HSSF behaviour
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949177 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 13:44:45 +00:00
Nick Burch
a8a9bc2928 Fix bug #44916 - Allow access to the HSSFPatriarch from HSSFSheet once created
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948880 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 16:27:09 +00:00
Nick Burch
13bc8e8500 Tidy up various indents and generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948878 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 16:22:46 +00:00
Maxim Valyanskiy
959cf9aa7c add myself to who.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948831 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 13:30:22 +00:00
Maxim Valyanskiy
fa9ba080de Initial support for reading AES-encrypted/write-protected OOXML files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948826 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 13:26:36 +00:00
Maxim Valyanskiy
59f8f913e3 Initial support for reading AES-encrypted/write-protected OOXML files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948825 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 13:23:27 +00:00
Nick Burch
5cfa676c0b Add missing test file for bug #48779
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948752 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 10:15:10 +00:00
Mark Beardsley
699382f3cf Moved from xssf\usermodel examples following Christian's modification to that example.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948710 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 08:07:36 +00:00
Mark Beardsley
185a5cc95f Added Christian's Centre Across Selection code.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948709 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 08:06:47 +00:00
Nick Burch
f6bda6f28a Solution for bug #48779 - Allow you to get straight from a CellStyle to a Color, irrespective of if the Color is indexed or inline-defined
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948511 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 17:46:46 +00:00
Nick Burch
5d461efea2 Add disabled unit test for bug #48539, which is currently still broken
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948477 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 15:22:04 +00:00
Nick Burch
cf943a8f84 Add test which shows that bug #48832 is invalid
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948473 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 15:11:33 +00:00
Nick Burch
29dab17a44 Add unit test to show that the behaviour in bug #48923 is as expected
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948462 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:51:49 +00:00
Nick Burch
0df94e6be8 Apply patch from bug #48924 - Allow access of the HWPF DateAndTime underlying date values
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948455 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:40:25 +00:00
Nick Burch
6666c539da Add a simple testcase for the new RevisionMarkAuthorTable.java
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948445 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:22:49 +00:00
Nick Burch
9798e24fd2 Apply patch from bug #48926 - Initial support for the HWPF revision marks authors list
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948435 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:17:15 +00:00
Nick Burch
6f141b8e01 Fix bug #49160 - Ensure that CTDigSigBlob is included in poi-ooxml jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948426 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 13:56:51 +00:00
Nick Burch
f6c41635e5 Fix bug #49189 - Detect w:tab and w:cr entries in XWPF paragraphs, even when the XSD is silly and maps them to CTEmpty
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948199 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 20:31:42 +00:00
Nick Burch
24b73b2cdc Get to a consistent indent
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948116 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 17:13:52 +00:00
Nick Burch
0cddb0a50b Fix bug #49273 - Correct handling for Font Character Sets with indicies greater than 127
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948089 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 16:25:34 +00:00
Nick Burch
4c1d86e5de Apply patches from Peter Kutak from bugs 49334 and 49242 - HSSFChart improvements by tracking more records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948080 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 15:59:26 +00:00
Josh Micich
a80d363286 Added loose tests to junit hierarchy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947860 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 23:26:57 +00:00
Josh Micich
b9e43015df Changed JRE 6 dependent code to its JRE 5 equivalent
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947842 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 22:41:51 +00:00
Mark Beardsley
046c73ba82 Modified existing text to cover changes made to XWPFHeaderFooterPolicy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947688 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 15:56:05 +00:00
Mark Beardsley
9207d6662a Added overloaded method to support multiple paragraphs in footer/header
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947686 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 15:55:30 +00:00
Nick Burch
11c4ab5eca More license headers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947647 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 14:15:27 +00:00
Nick Burch
b19532bd16 Add in missing license headers to a few files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947644 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 14:00:48 +00:00
Yegor Kozlov
06eeb5d312 Improved performance of XSSFSheet.write, avoid unnecessary re-ordering of CTRow beans if they are already ordered
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947542 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 05:31:48 +00:00
Yegor Kozlov
fa7c8f269a avoid NPE when finding cell comments, Bugzilla 48846
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947315 13f79535-47bb-0310-9956-ffa450edef68
2010-05-22 16:24:22 +00:00
Yegor Kozlov
17c2a4208f Ensure that CTPhoneticPr is included in poi-ooxml jar, see Bugzilla 49325
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947312 13f79535-47bb-0310-9956-ffa450edef68
2010-05-22 16:07:31 +00:00
Yegor Kozlov
010f3a4535 Fixed tests failing in non-english locales, see Bugzilla 49191
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947310 13f79535-47bb-0310-9956-ffa450edef68
2010-05-22 16:06:36 +00:00
Nick Burch
eb4a56cb52 Apply (with slight tweaks) patch from bug #48432 - Support for XSSF themes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@946136 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 11:55:17 +00:00
Yegor Kozlov
c1748f0143 support for data validation for OOXML, see Bugzilla 49244
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@944869 13f79535-47bb-0310-9956-ffa450edef68
2010-05-16 15:49:21 +00:00
Yegor Kozlov
18230c14b9 Enhanced SViewer to support most border types, cell formats, and conditional formatting. Added ToHtml example that converts a spreadsheet into HTML, See Bugzilla #49066
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@942809 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 16:11:50 +00:00
Nick Burch
ede8beb227 Fix bug #49020 - Workaround Excel outputting invalid XML in button definitions by not closing BR tags
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@941399 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 17:49:59 +00:00
Nick Burch
7b043c2bc4 Apply patch from Trejkaz from bug #49050 - Improve performance of AbstractEscherHolderRecord when there are lots of Continue Records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@941379 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 16:45:58 +00:00
Nick Burch
a4be4cecfc Fix bug #49194 - Correct text size limit for OOXML .xlsx files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@941372 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 16:30:43 +00:00
Nick Burch
a62b2d04e7 Fix bug #49254 - Fix CellUtils.setFont to use the correct type internally
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@941342 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 15:24:23 +00:00
Nick Burch
8830bebd6d Hopefully finish fixing bug #49139 - track down another subtle hard coding of 512, and switch to using the big block size variable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@941334 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 15:10:17 +00:00
Nick Burch
535cdd29b4 Add DISABLED test which shows the latest problem relating to bug #49139
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@940648 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 21:58:26 +00:00
Nick Burch
98bb2d614e Enable the tests for bug #49139, now that we have a sample test file to go with it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@940519 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 17:18:35 +00:00
Maxim Valyanskiy
64dfac1ed9 skip incorrect MMSRecord in xls
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@938372 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 09:24:52 +00:00
Nick Burch
a3899a57d8 Resolve bug #49139 - don't assume that the block size is always 512 bytes. Instead of hard coding this value in, pass around the new POIFSBigBlockSize object that holds the size and various helper subsizes. Should now be possible to open 4k block files without error.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@937834 13f79535-47bb-0310-9956-ffa450edef68
2010-04-25 17:35:56 +00:00
Yegor Kozlov
0b4df9519b Avoid writing malformed CDATA blocks in sharedStrings.xml, see Bugzill 48936
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@937792 13f79535-47bb-0310-9956-ffa450edef68
2010-04-25 12:58:45 +00:00
Yegor Kozlov
927e153c94 Added implementation for TEXT() and TRUNC(), see Bugzilla 49025 and 49026
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@937652 13f79535-47bb-0310-9956-ffa450edef68
2010-04-24 17:17:20 +00:00
Mark Beardsley
2187e24118 Improved usage message.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@937312 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 14:31:59 +00:00
Yegor Kozlov
d2e1849979 Properly close internal InputStream in ExtractorFactory#createExtractor(File), see Bugzilla 49147
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@935900 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 13:06:59 +00:00
Yegor Kozlov
fe048df54e Fixed locale-sensitive formatters in PackagePropertiesPart, see Bugzilla 49138
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@935896 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 12:57:27 +00:00
Yegor Kozlov
e3ea49bf61 Ensure that CTVectorVariant is included in poi-ooxml-schemas.jar, Added accessors to CoreProperties.Keywords. See Bugzilla 49146 and 49153
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@935860 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 10:27:30 +00:00
Mark Beardsley
ba9704c3ab Converts Excel to CSV using usermodel.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@934444 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 15:18:03 +00:00
Nick Burch
7e681eed75 One more missing license
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@933965 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 14:15:16 +00:00
Nick Burch
f1371227be Remove old .cvsignore files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@933963 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 14:11:13 +00:00
Nick Burch
acfba7e8ed Add missing license header to older xml files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@933961 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 14:04:14 +00:00
Nick Burch
04ac9edea6 Add missing license headers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@933959 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 14:02:04 +00:00
Nick Burch
3caec855a3 Remove readme about java 1.4 vs 1.5, as we've ditched java 1.4 support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@933958 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 14:01:38 +00:00
Nick Burch
d1486edc42 Lots more documentation on how we read in POIFS files and process the sectors/blocks and FATs. Also add a test that shows that bug #46391 is invalid
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@933663 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 15:04:45 +00:00
Maxim Valyanskiy
fc53ead4ca bugfix: ClassCastException it PicturesTable.getAllPictures():
UnknownEscherRecord cannot be cast to EscherBlipRecord


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@931111 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 12:12:03 +00:00
Yegor Kozlov
639bf94c6f propagate parent to parent-aware records decoded from Escher, also ensure that TextShape and EscherTextboxWrapper hold the same cached sets of records, see Bugzilla 48916
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@930525 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 14:44:39 +00:00
Nick Burch
512a6f2bb5 Fix bug #48485 - Add extra paper size constans to PrintSetup, such as A3, B4 and B5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@929064 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 10:05:53 +00:00
Yegor Kozlov
14502b9ac0 fixed compilation errors in recently added examples
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@923072 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 06:14:03 +00:00
Mark Beardsley
fc2c8245ec Correct package statement
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@922366 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 17:42:32 +00:00
Mark Beardsley
961df28875 Ported to SS model.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@922219 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 11:23:44 +00:00
Mark Beardsley
fd003e28c5 Comments modified re re-sizing behaviour
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@921819 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 12:12:54 +00:00
Nick Burch
918f1a496d Fix an issue with the HSMF tests working on some machines but not others - Make poifs.filesystem.DirectoryNode preserve the original ordering of its files, which HSMF needs to be able
to correctly match up chunks

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@911878 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 17:55:32 +00:00
Yegor Kozlov
9b208abd09 Support evaluation of indirect defined names in INDIRECT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@910043 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 17:11:08 +00:00
Maxim Valyanskiy
b8dbb48254 XSLFCommonSlideData: extract text data from group shape
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@907626 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 12:08:15 +00:00
Nick Burch
943d3d19e1 Add a disabled test for bug #44501, which still remains, plus fix a generics warning
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@904062 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 12:28:29 +00:00
Nick Burch
9bbf3ef4d0 Fix generics warnings, and fix up tests to handle the extra bit of text being extracted now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@904060 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 12:20:32 +00:00
Nick Burch
3aef368b71 Apply patch from Jukka from bug #43670 to improve HDGF v11 Separator detection, and handle short strings better, hopefully solving the Negative length of ChunkHeader issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@904052 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 12:05:13 +00:00
Nick Burch
2880d934f9 Improve error message, and fix generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@904049 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 12:00:38 +00:00
Nick Burch
81755dc8d2 Add patch from Jukka from bug #48617 + test - Optionally allow the overriding of the Locale used by DataFormatter to control how the default number and date formats should look
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@903303 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 16:21:17 +00:00
Nick Burch
a2e6cafca9 New event based xssf text extractor (XSSFEventBasedExcelExtractor)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@903182 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 11:39:44 +00:00
Nick Burch
90700558cd The ReadOnlySharedStringsTable is re-usable for other event based things, so copy out to it's own class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@903170 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 11:10:48 +00:00
Nick Burch
6e2c32e1c5 Most of support suggested by Phil Varner on the list - ExtractorFactory can now be told to prefer Event Based extractors (current Excel only) on a per-thread or overall basis
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@902927 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 19:02:13 +00:00
Yegor Kozlov
7854649016 avoid failures in XLSX2CSV when shared string table is missing, see Bugzilla 48544
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@902566 13f79535-47bb-0310-9956-ffa450edef68
2010-01-24 13:40:58 +00:00
Yegor Kozlov
d49e83fe92 properly close all IO streams created in OPCPackage, see Bugzilla 48571
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@902565 13f79535-47bb-0310-9956-ffa450edef68
2010-01-24 13:26:19 +00:00
Yegor Kozlov
76a0ce511b always copy all declared inner classes and interfaces when generating poi-ooxml-schemas, see Bugzilla 48572
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@902563 13f79535-47bb-0310-9956-ffa450edef68
2010-01-24 13:11:46 +00:00
Maxim Valyanskiy
ed3cae95f8 PowerPoint OLEShape: extract last version of embedded ole object
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@901215 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 14:33:58 +00:00
Nick Burch
8f421fc5b0 Add a note about the UnicodeString move from a few days ago
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@900816 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 15:20:04 +00:00
Nick Burch
b631a6edee Add changelog note
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@900747 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 12:06:41 +00:00
Nick Burch
55f1878628 Implement the ExtRst part of a UnicodeString
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@900746 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 12:04:14 +00:00
Nick Burch
d39c43b4b2 If there's no more data but there ought to be for unicode strings, in a partly corrupt file, give a warning and substitute in empty strings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@900745 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 12:03:27 +00:00
Nick Burch
bfa3409fc5 Add more documentation, and make the constructor public for testing use
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@900744 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 12:02:10 +00:00
Nick Burch
3b7ac92989 Improve unhandled continue record message by saying what it follows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@900743 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 12:01:13 +00:00
Nick Burch
64ee32ec12 Fix a couple of warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@900399 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 14:11:26 +00:00
Nick Burch
0e53beb61e New debugging class, useful for when figuring out how to split on continue records, where continue records lie etc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@900397 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 14:07:38 +00:00
Nick Burch
0111e33db5 Tidy up some of the IntMapper/UnicodeString bits with generics
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@900376 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 12:56:18 +00:00
Nick Burch
6605995ac6 records.UnicodeString isn't actually a Record, just a common part that exists in many other records. As such, move it to records.common, which is where all the other record components live
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@900362 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 12:18:00 +00:00
Maxim Valyanskiy
a52cd3e05a bug#48068: RecordFormatException: The content of an excel record cannot exceed 8224 bytes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@899608 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 12:25:15 +00:00
Yegor Kozlov
4be190d69d avoid creating unnecessary temp files, tighten up usage of temp files in unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@899364 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 19:23:13 +00:00
Maxim Valyanskiy
a9e8084bb7 revert previous commit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@899129 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 09:22:39 +00:00
Maxim Valyanskiy
2e6ffb4f7e ExtractorFactory: save OOXML stream into temporary file before text extraction - this reduces memory usage and allows temporary file cleanup
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@899123 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 08:56:35 +00:00
Yegor Kozlov
8b377f2f67 Avoid creating temporary files when opening OPC packages from input stream
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898927 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 20:24:15 +00:00
Nick Burch
b88672b637 Add a command line wrapper around ExtractorFactory, mostly aimed at when debugging rather than production
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898810 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 15:52:53 +00:00
Nick Burch
4cb27e5095 Remove some generics warnings from the HPSF custom properties and sections parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898804 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 15:42:53 +00:00
Nick Burch
0d7ef148b5 Tweak the generics definition on workbook so that method signatures on hssf and xssf won't need to change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898769 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 14:25:31 +00:00
Nick Burch
b5ccd57cd6 Tweak the iterator section to avoid casts as we have generics, and then ditch the hssf duplicate bit (everyone should be pointed at the ss.usermodel version)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898750 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 13:46:36 +00:00
Nick Burch
1362cf6ba7 Fix a few generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898748 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 13:42:15 +00:00
Nick Burch
545f2e1119 Improved how HSMF handles multiple recipients
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898295 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 12:02:18 +00:00
Maxim Valyanskiy
a85c56df35 add more powerpoint xml mime types
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898292 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 11:53:35 +00:00
Nick Burch
6e97a360a3 Add PublisherTextExtractor support to ExtractorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897887 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 14:55:43 +00:00
Nick Burch
55ae8cd33d Add status message for recent change from maxcom
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897886 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 14:54:16 +00:00
Maxim Valyanskiy
f1a1f4a6ff XSLF: text extraction from tables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897875 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 14:27:54 +00:00
Nick Burch
5621bb0800 Make it possible to return null on missing chunks, rather than the exception
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897847 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 12:19:42 +00:00
Nick Burch
e605489dc0 Do a manual sync, as per the common skins README, to avoid a build warning
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897830 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 10:39:35 +00:00
Nick Burch
5ad8301c2a Add embeded (attachment) support to the outlook text extractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897258 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 16:44:08 +00:00
Nick Burch
98cea49eb5 Rename the outlook extractor to be more consistent with other extractors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897249 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 16:18:52 +00:00
Nick Burch
cefe4e1d28 Wire up the new HSMFTextExtactor to the ExtractorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897246 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 16:14:27 +00:00
Nick Burch
bd2f63c721 Add a text extractor to HSMF for simpler extraction of text from .msg files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897242 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 16:04:15 +00:00
Nick Burch
a6e7575999 Fix generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897239 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 16:02:35 +00:00
Nick Burch
7ae86fab09 More work on the recipient related chunks, including a helper method to do best-effort finding of the recipients email address
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897213 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 14:26:27 +00:00
Nick Burch
52695c1811 Quick bit of refactoring to save parsing the type and id twice
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897205 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 13:49:09 +00:00
Nick Burch
ff94e5c61b Support fetching the message date from the submission id
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897201 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 13:42:53 +00:00
Nick Burch
1ae7d3f871 Docs tweaks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897200 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 13:42:17 +00:00
Nick Burch
58806414fc Tweak a few tests, and add in a few more chunk types
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897185 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 12:08:35 +00:00
Nick Burch
795ed3ce55 Complete chunk parser tests, and make more chunk groups available
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897172 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 11:37:37 +00:00
Nick Burch
0e368a23da Fix some chunk types, fix the directory descent, fix the Msg2txt example, and start on fixing core tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897167 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 11:14:58 +00:00
Nick Burch
6afb781730 Shuffle where some of the HSMF tests live to better match package names, and stub out a few more tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@896923 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 16:47:09 +00:00
Nick Burch
2bb376f55b Start on major HSMF refactoring. Should compile, but not quite all tests pass as a little bit of work is left
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@896914 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 16:15:20 +00:00
Nick Burch
e5884f2f66 Add a couple more HSMF chunk types, and use Generics in a few places
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@896868 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 12:56:39 +00:00
Nick Burch
dd6750ceb9 Skip warnings we can't avoid
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@896866 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 12:50:21 +00:00
Nick Burch
62e8d43b5b Initialise the link type of HSSFHyperLink, so that getType() on it works
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@896049 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 14:08:51 +00:00
Nick Burch
e4531ab0fd More FeatRecord support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@895487 13f79535-47bb-0310-9956-ffa450edef68
2010-01-03 21:51:25 +00:00
Nick Burch
6b46bb007d Add in a few bits of Generics to avoid warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@895477 13f79535-47bb-0310-9956-ffa450edef68
2010-01-03 20:56:40 +00:00
Nick Burch
8a636423b2 Add a note on the different shared feature types
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@895287 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02 21:03:16 +00:00
Yegor Kozlov
19d2a9ae09 improved usermodel to prevent data corruption when setting array formulas, mimic Excel behaviour and block changing cells included in multi-cell arrays
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@894469 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 19:47:38 +00:00
Yegor Kozlov
a64917fe88 removed svn:eol-style=native from binary files, uncommented related tests; see Bugzilla 48427
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@894173 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 13:45:10 +00:00
Nick Burch
89c140c265 Start testing the contents of FeatRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@894091 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 18:22:02 +00:00
Nick Burch
f0e176bfae Add Generics types to avoid warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@894089 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 18:16:12 +00:00
Nick Burch
d033cf37f8 Make InternalSheet capture the feature related records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@894081 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 17:13:44 +00:00
Nick Burch
1186abb3b4 Looks like we already had Ref8U but with a different name... Switch to using CellRangeAddress instead!
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@894078 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 16:46:38 +00:00
Nick Burch
869fc4e5a6 More work on FeatRecord/Shared Features. More is still needed though, it's still WIP
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@894018 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 19:57:09 +00:00
Nick Burch
e536251666 Finish off common Ref8U subrecord, and add tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@894015 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 18:48:44 +00:00
Josh Micich
88dbbbf1c6 Replaced getInstance methods with field for instances of ITestDataProvider. Some simplification in hierarchy of related tests.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893929 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 02:17:34 +00:00
Josh Micich
a1f9d0827c Clean-up in BaseTestSheetShiftRows and subclasses.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893909 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 00:25:59 +00:00
Josh Micich
e493c8dd01 Made public instance fields for ITestDataProvider singletons.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893900 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 23:51:32 +00:00
Josh Micich
a74769efcd Minor clean-up in TestXSSFSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893899 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 23:43:55 +00:00
Josh Micich
5c3fcf7a3c Fixed FormulaParser to allow negative elements in array literals.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893898 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 23:26:47 +00:00
Josh Micich
931671c3d2 Added CellRange return type for Sheet array formula methods. Renamed new test classes to make it clear that array formula evaluation is not being tested yet. Added extra test cases.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893897 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 23:04:04 +00:00
Yegor Kozlov
aba7267376 added HSSF usermodel tests for array formulas, added support for array formulas in ss interfaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893870 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 15:15:55 +00:00
Yegor Kozlov
b3093fc671 fixed incorrect initialization of --noheader option in BiffViewer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893869 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 15:13:26 +00:00
Yegor Kozlov
cf6b1118b4 removed mistakenly submitted test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893802 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 18:38:27 +00:00
Yegor Kozlov
b9fab26825 added tests for XSSF usermodel for array formulas, this change is a step towards adoption of the patch submitted in Bugzilla 48292
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893625 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 20:58:01 +00:00
Josh Micich
51c3adb24f Added arg check to NumericFunction.singleOperandEvaluate().
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893403 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 04:40:14 +00:00
Josh Micich
cc648a0fc0 Simplified InterfaceHdrRecord and InterfaceEndRecord (some rework after bug 47251 / r892862).
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893402 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 04:35:37 +00:00
Josh Micich
56c40e3a0f replaced commented code with 'if (false)' block
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893395 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 03:43:33 +00:00
Yegor Kozlov
3bbde4880c improved performance of DateUtil.isCellDateFormatted(), see Bugzilla 48425
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893105 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 07:52:55 +00:00
Josh Micich
c89aeaee12 Added getRow() and getColumn() functions to TwoDEval to simplify logic in INDEX implementation.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893063 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 03:00:21 +00:00
Josh Micich
65a41cce66 Fixed SharedValueManager to create separate empty instances in anticipation of instances becoming mutable.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893057 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 01:41:16 +00:00
Josh Micich
f11c66506d Renamed model.Sheet to InternalSheet to alleviate name clash.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893051 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 01:08:33 +00:00
Josh Micich
ea80e22b2b Renamed model.Workbook to InternalWorkbook to alleviate name clash.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893050 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 00:51:29 +00:00
Josh Micich
ce3db22c12 put field initialisation in Workbook constructor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893045 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 00:13:56 +00:00
Josh Micich
cac5b3d60f Removed unused Model, ModelFactory. ModelFactoryListener etc.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893041 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 00:03:04 +00:00
Josh Micich
7033e79c35 renamed function implementations to avoid potential name clashes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893030 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 23:30:32 +00:00
Yegor Kozlov
7bd00361c3 fixed InterfaceEndRecord to tolerate unexpected record contents, see bug 47251
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892862 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 16:24:08 +00:00
Yegor Kozlov
fcdc6ff6e2 undo code mistakenly submitted in r892839
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892842 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 14:57:23 +00:00
Yegor Kozlov
3969ed7e8f improved javadoc on Picture.resize()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892839 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 14:51:39 +00:00
Yegor Kozlov
804c3e9d4f another test for Bugzilla 48026
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892468 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 11:41:39 +00:00
Yegor Kozlov
13e963bc8c fixed PageSettingsBlock to allow multiple HeaderFooterRecord records, see Bugzilla 48026
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892467 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 11:37:45 +00:00
Yegor Kozlov
f57d1d8a39 added --noheader option to BiffViewer to suppress output of record headers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892465 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 11:36:06 +00:00
Yegor Kozlov
e945a10ade fixed CellRangeUtil.mergeCellRanges to work for adjacent cell regions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892462 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 11:27:01 +00:00
Yegor Kozlov
d704d13573 fixed possible NPE in LbsDataSubRecord.toString()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892461 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 11:26:10 +00:00
Yegor Kozlov
9da4551038 changed retention policy in @Internal to RUNTIME, also added a string parameter for custom messages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892460 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 11:25:39 +00:00
Josh Micich
4a5154b3f3 removed obsolete work-around code from test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@891887 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 20:45:47 +00:00
Josh Micich
b589ee7482 Fixed INDEX function to return reference results properly.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@891516 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 01:35:57 +00:00
Josh Micich
6e96d5be74 Minor improvements to error reporting in TestIndexFunctionFromSpreadsheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@891512 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 01:31:29 +00:00
Josh Micich
5d9b7a3ee4 fixed special cases of dereferenceResult method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@891468 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 23:16:30 +00:00
Josh Micich
556622b05f changed short param to int in AreaEval.containsColumn() method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@891425 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 21:08:36 +00:00
Yegor Kozlov
7ae214c7c7 fixed ExternalNameRecord to properly distinguish DDE data from OLE data in the record body, see Bugzilla 48339
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@890871 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 16:25:14 +00:00
Yegor Kozlov
2468b7a1e4 preserve POIFS StorageClsid when re-writing existing workbooks, this property is important for embedded objects, see Bugzilla 47920
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@890714 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 09:30:30 +00:00
Yegor Kozlov
d20d9bab07 updated the Downloads page to reflect the latest release of POI-3.6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@890708 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 09:27:44 +00:00
Yegor Kozlov
94b22e266a added a template of RELEASE-NOTES
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@890685 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 08:28:01 +00:00
David Fisher
db0bd14a2c Added missing license headers to 5 files. Removed dist target from howtobuild.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@890089 13f79535-47bb-0310-9956-ffa450edef68
2009-12-13 18:32:47 +00:00
David Fisher
edcf941fde Documentation changes for poi-ooxml-schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@890085 13f79535-47bb-0310-9956-ffa450edef68
2009-12-13 18:04:02 +00:00
Josh Micich
adac5e854d modified MultiOperandNumericFunction to use TwoDEval
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@888714 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 07:01:49 +00:00
Josh Micich
18041addf0 Created new TwoDEval interface for AreaEvals (in preparation for patch 48292)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@888665 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 00:50:11 +00:00
Josh Micich
2ddd88ed0d Removed unused imports under src/java and src/testcases. Other minor fixes.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@888653 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 00:12:32 +00:00
Josh Micich
0c3c85a152 Renamed AreaEval method from getValueAt() to getAbsoluteValue()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@888582 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 21:48:54 +00:00
Josh Micich
37790e51e4 Some more clean up of array formula support in preparation for patch 48292
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@888577 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 21:30:35 +00:00
Josh Micich
f26db72b4b Refactored some code in OFFSET implementation. Added test cases showing comparisons with BoolEval.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@888555 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 20:08:59 +00:00
Josh Micich
72eaea0704 Bugzilla 48343 - added implementation of SUBTOTAL function (patch from Paul Tomlin)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@888490 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 17:19:09 +00:00
Yegor Kozlov
7dd36f3db7 updated current version on status.xml, also some misc post-release improvements in mvn-deploy.sh and build.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@887930 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 14:20:10 +00:00
Josh Micich
1992068d14 Controlled instantiation of BoolPtg (made consistent with ErrPtg)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@887477 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 01:04:44 +00:00
Josh Micich
9fb5841de3 Removed generic type parameter from OperandPtg because it was not worth the extra syntax.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@887432 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 23:05:06 +00:00
Yegor Kozlov
436965d98b fixed XSSFSheet autoSizeColumn() to tolerate empty RichTextString, see Bugzilla 48332
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@887160 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 11:24:02 +00:00
Josh Micich
e55e9044aa Made POI follow the rules for encoding unary +/- operators more closely.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@887028 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 01:25:34 +00:00
Josh Micich
484dc9fe5a Refactoring/simplification of TestFormulaParser
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@887012 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 00:20:24 +00:00
Josh Micich
7eea9324d8 More fixes for Cell.setCellType() when converting from CELL_TYPE_FORMULA to CELL_TYPE_STRING. Similar to issues fixed with bugzilla 46479.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@886951 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 22:18:12 +00:00
Josh Micich
513534c852 Converted line endings from CRLF to LF in Internal.java
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@886942 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 22:04:26 +00:00
Yegor Kozlov
4a45b78277 added an annotation '@Internal' to mark program elements intended for POI internal use only, marked all public accessors to OOXML xmlbeans as @Internal
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@886846 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 16:50:34 +00:00
Yegor Kozlov
ddefe3144d added a test covering bookmarks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@886733 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 10:41:00 +00:00
Josh Micich
5c57aa3cba Bugzilla 48332 - fixed ColumnInfoRecord to tolerate missing reserved field
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@886311 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 21:29:44 +00:00
Josh Micich
1a9770c3dc Added junits for existing functionality of ColumnInfoRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@886299 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 20:56:59 +00:00
Yegor Kozlov
9c515122aa fixed RecordFormatException when reading LbsDataSubRecord, see bugzilla 47701
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@886113 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 10:56:01 +00:00
Josh Micich
712ac9f8ee Made ScalarConstantPtg public and MissingArgEval.instance final
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@885661 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 03:09:55 +00:00
Yegor Kozlov
6216c511a9 memory usage optimization in XSSF - avoid creating parentless xml beans
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@885429 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 14:09:03 +00:00
Josh Micich
baa4640ec9 Made BlankEval instance consistent with other Eval singletons.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@885061 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 02:50:47 +00:00
Josh Micich
f81973441b Added constants for IF() and CHOOSE() function indexes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@885043 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 22:53:42 +00:00
Josh Micich
5c7dbb2730 Patch 48284 - raise visibility of FormulaParseException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@885007 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 21:01:59 +00:00
Josh Micich
c73dd9d324 minor changes - initial work on bugzilla 48292 (support for array formulas)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@885006 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 20:54:03 +00:00
Josh Micich
97a5bf3d61 small tweak to fix compiler error after r884918 (differences in @Override rules from java 5 to 6)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@885000 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 20:47:39 +00:00
Yegor Kozlov
11b696550c improved work with cell comments in XSSF, also added support for cell comments to SS interfaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@884918 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 17:39:17 +00:00
Josh Micich
823c6c6424 Moved handling of MissingArgEval into IF() or CHOOSE() for non-optimised (eager argument evaluation) case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@884389 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 02:57:24 +00:00
Josh Micich
9bf6c8f8dc Added test to confirm proper handling of MissingArgEval when returned from IF() or CHOOSE()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@884374 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 02:43:47 +00:00
Nick Burch
6602faf140 Add support for creating SummaryInformation and DocumentSummaryInformation properties on POIDocuments that don't have them, via POIDocument.createInformationProperties()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@884072 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 12:37:48 +00:00
Nick Burch
4bcde19ada Fix bug #48180 - short chart records skipping some unused fields
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@884065 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 12:11:04 +00:00
Nick Burch
83504367e3 Patch from Jeremy Michelson (with slight tweaks) - bug #48274 - fix erronious wrapping of byte colours in HSSFPalette.findSimilarColor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@884061 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 11:45:37 +00:00
Nick Burch
fda29835b2 Fix from Petr for bug #24601 - fix fetching of error codes from XSSF formula cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@884058 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 11:33:21 +00:00
Yegor Kozlov
d67f4e3f88 more cleanup of build.xml, improved release procedure, added a script to create .md5 and .asc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@883629 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 09:10:49 +00:00
Josh Micich
b6a98299a3 Removed Ptg[] parameter from method IEvaluationListener.onStartEvaluate()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@883208 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 01:22:56 +00:00
Josh Micich
1f22e9c945 updated remaining evaluator functions to implement fixed args interfaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@883197 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 00:19:11 +00:00
Josh Micich
24717007c8 small tweaks to junit code - enabled one test case for AVERAGE() and improved diagnostics in TestDate
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@883167 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 22:39:00 +00:00
Josh Micich
6be8ae88fc added fixed arg function interfaces, converted some functions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@883045 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 07:29:40 +00:00
Josh Micich
f56c779723 refactored functions taking optionally 2 or 3 parameters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@883041 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 06:27:55 +00:00
Josh Micich
18f9851823 minor fix to T() function, junit added
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@883039 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 05:49:51 +00:00
Josh Micich
e09f868473 Fixed small bug in SUMIF() added junits. Also added test cases for DAYS360, some initially disabled.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@883037 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 05:30:53 +00:00
Yegor Kozlov
52274f2a3f fixed javadoc for HSSFSheet.setColumnWidth and XSSFSheet setColumnWidth
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@882931 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 15:49:16 +00:00
Yegor Kozlov
0b9ab8930e included poi-ooxml-schemas and poi-examples in the release cycle, also misc improvements in build.xml: merged scratchpad and main examples, improved cross-module classpath dependencies, removed obsolete targets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@882927 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 15:30:54 +00:00
Josh Micich
cf7f47fbe1 moved lazy ref creation methods to OperationEvaluationContext
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@882375 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 01:13:17 +00:00
David Fisher
f2b76afe66 Many documentation changes. See https://issues.apache.org/bugzilla/show_bug.cgi?id=48242
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@882301 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 21:22:21 +00:00
Josh Micich
89c17f1ef7 changed short to int in Function.evaluate() method signature
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@881704 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 09:21:12 +00:00
Josh Micich
96c5649208 added method format2DRefAsString() to interface ExternSheetReferenceToken to help with refactoring 3D ref code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@881698 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 08:39:17 +00:00
Yegor Kozlov
909c13b8b1 fixed XLSX2CSV to avoid exception when processing cells with multiple "t" elements, see Bugzilla 47757
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@880864 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 17:31:16 +00:00
Yegor Kozlov
a584c030ff removed log4j calls from ooxml tests, also fixed misc bugs discovered when imlementing OOXMLLite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@880799 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 15:33:45 +00:00
Yegor Kozlov
aead99342f org.apache.poi.util.OOXMLLite - an utility to build a 'lite' version of the ooxml-schemas.jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@880798 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 15:32:05 +00:00
Josh Micich
518ae59f07 Removed OperationEval and rearranged function/operator evaluation.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@880593 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 05:41:57 +00:00
Josh Micich
5630df07a4 Updated diagnostic code in HSSFEvaluationWorkbook - regarding changed status of IntersectionPtg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@836344 13f79535-47bb-0310-9956-ffa450edef68
2009-11-15 09:12:30 +00:00
Josh Micich
623a4c1e5b Clean-up of copy/clone methods in Ptg hierarchy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@836343 13f79535-47bb-0310-9956-ffa450edef68
2009-11-15 09:01:35 +00:00
Josh Micich
f633a0e646 made ArrayPtg immutable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@836332 13f79535-47bb-0310-9956-ffa450edef68
2009-11-15 06:04:03 +00:00
Josh Micich
d8f3c6de71 fixed bug in LittleEndianByteArrayInputStream.readFully()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@836298 13f79535-47bb-0310-9956-ffa450edef68
2009-11-15 00:27:59 +00:00
Josh Micich
00e64461a9 Made AbstractFunctionPtg immutable, other minor improvements
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@836101 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14 02:41:24 +00:00
Josh Micich
861e2bae01 Bugzilla 48195 - short-circuit evaluation of IF() and CHOOSE()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@835994 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 21:21:23 +00:00
Josh Micich
a76bd88d9b Cleaned up AttrPtg - made immutable, fixed property accessors.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@835982 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 20:46:02 +00:00
Yegor Kozlov
a8da0c422e renamed HSSFSheet.setArabic to HSSFSheet.setRightToLeft
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@835846 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 13:33:52 +00:00
Yegor Kozlov
e8e2b1ff49 support for text extraction from PPT master slides, see Bugzilla 48161
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@835271 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 07:07:41 +00:00
Nick Burch
4a57314dcc Make a start on feature related records. Not finished yet, so not enabled in the recordfactory until complete+tested
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@835183 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 01:10:19 +00:00
Yegor Kozlov
0108892c64 cleanup of build.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@833603 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 23:40:53 +00:00
Yegor Kozlov
b592beedaa added a method to set arabic mode in HSSFSheet, see Bugzilla 47970
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@833537 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 19:40:07 +00:00
Yegor Kozlov
477347c3ec release system resources when calling javax.imageio.ImageIO in Picture.resize()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@833527 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 19:08:41 +00:00
David Fisher
5d2e2f2263 documentation changes - css adjust
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@833284 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 02:48:37 +00:00
David Fisher
488e8f2159 more documentation changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@833283 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 02:43:52 +00:00
David Fisher
308d893190 documentation changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@833281 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 02:29:17 +00:00
Yegor Kozlov
982819c470 reorganized TOC, removed obsolete pages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@833248 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 00:00:35 +00:00
Josh Micich
5b49f93f8a Removed erroneous coding for Ptg 0x1a (see bugzilla 40008)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@832975 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 02:33:32 +00:00
Nick Burch
8cadd77669 Add test that shows we can already extract text from .docm files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@832644 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 01:35:55 +00:00
Nick Burch
a9d6f34732 Patch from Trejkaz - fix bug #48038 - handle reading HWPF stylesheets from non zero offsets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@832625 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 00:07:37 +00:00
Yegor Kozlov
0880802d5d avoid NPE when calling methods from the superclass and initialize XSSFChartSheet with a blank sheet, see Bugzilla 48087
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@832622 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 23:54:58 +00:00
Nick Burch
f3375be693 When running the "compile-ooxml-xsds" ant task, also generate the source jar for the OOXML Schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@832596 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 23:20:33 +00:00
Nick Burch
5fe87ca952 Big import tidyup using eclipse "Organise Imports" - avoid wildcard imports, and get the ordering of imports to be consistent
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@832591 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 23:02:06 +00:00
Nick Burch
87b83797e0 Hopefully fix #45672 properly - improve handling by MissingRecordAwareHSSFListener of records that cover multiple cells (MulBlankRecord and MulRKRecord)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@832584 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 22:45:39 +00:00
Josh Micich
047c900ced Bugzilla 48096 - relaxed validation check in RecalcIdRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@832536 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 20:23:21 +00:00
Josh Micich
f286580c44 Bugzilla 48085 - improved error checking in BlockAllocationTableReader to trap unreasonable field values
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@832505 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 18:48:20 +00:00
Yegor Kozlov
ef37deea55 fixed logic for matching cells and comments in HSSFCell.getCellComment()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@831025 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 16:43:24 +00:00
Ugo Cei
1d82206713 [47942] added implementation of protection features to XLSX and DOCX files. Patch submitted by Roberto Albertini.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@830657 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 16:05:39 +00:00
Yegor Kozlov
3cd055080c drop a line on Git access to POI sources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@830513 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 12:01:56 +00:00
Yegor Kozlov
ab1748ab50 preserve leading and trailing white spaces in XSSFRichTextString, see Bugzilla 48070
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@830492 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 10:31:34 +00:00
Josh Micich
fe00a182a7 simplified code copied from xalan (in r829781) to bare minimum required by XSSFImportFromXML
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@829903 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 19:08:54 +00:00
Josh Micich
eb4b1d0aac Fixed compiler error in HSSFReadWrite. Fixed deprecated calls and simplified example code. (follow-on from r829758)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@829897 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 18:55:51 +00:00
Nick Burch
8d7f1bb83a Fix constructors for new naming
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@829783 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 13:08:21 +00:00
Ugo Cei
49174d4e3f Added classes from Xalan to make XSSFImportFromXML compile even without Xalan as a dependency.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@829781 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 13:01:46 +00:00
Nick Burch
250b9828d3 Update link to dev.HSSF.java
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@829759 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 12:09:02 +00:00
Nick Burch
949c72e757 Copy the old dev.HSSF example over to trunk, and put it in a more suitable place
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@829758 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 12:08:15 +00:00
Josh Micich
74624c0cdd Bugzilla 48044 - added implementation for CountBlank function (patch from Mads Mohr Christensen)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@829293 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 00:41:30 +00:00
Josh Micich
c856343fc0 Bugzilla 48036 - added IntersectionEval to allow evaluation of the intersection formula operator.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@828244 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 23:00:09 +00:00
Ugo Cei
47086ce5bd Removed @author tag.
Dealt with exceprions properly.
General reformatting.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@827907 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 07:15:37 +00:00
Ugo Cei
3e82ec8035 Removed uses of internal JDK classes.
Removed @author tag.
Dealt with exceprions properly.
General reformatting.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@827905 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 07:11:00 +00:00
Nick Burch
ebc7f3cb26 The Visio info on gnome.ru is no more. Switch the links to a web.archive.org cached version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@827685 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 15:22:15 +00:00
Josh Micich
65254788c4 deleted 'svn:executable' property
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@826151 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 00:43:11 +00:00
Josh Micich
5e240d7032 deleted 'svn:executable' property
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@826045 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 19:17:12 +00:00
Josh Micich
3a2f15aafe fixed compiler warnings and TODOs in org.apache.poi.hssf.record.formula.eval
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@826041 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 19:07:11 +00:00
Josh Micich
422745790a deleted 'svn:executable' property
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@826038 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 19:01:37 +00:00
Josh Micich
a27dff24ea simplify/optimise OperationEvaluatorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@826017 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 18:00:25 +00:00
Nick Burch
78d725431c From bug #47999 - avoid un-needed call to the JVM Garbage Collector when working on OOXML OPC Packages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@825890 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 13:37:13 +00:00
Josh Micich
7248029602 reverted Digital Signature stuff (r824836, r824963 r825294) in attempt to get gump build working
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@825637 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 20:25:34 +00:00
Josh Micich
ccf7a6d89f removed new dependency on joda
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@825294 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 21:32:06 +00:00
Josh Micich
1833764495 Bugzilla 47969 - improvements to equals() methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@824972 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 23:24:14 +00:00
Josh Micich
af6a4745e2 Fixes for compiler errors and junit failures introduced by r824836
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@824963 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 22:42:58 +00:00
Ugo Cei
d48987ac07 Added implementation of Digital Signature support using code initially developed for the eId Applet project <http://code.google.com/p/eid-applet/> and re-released under Apache License.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@824836 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 16:31:28 +00:00
Josh Micich
ed1b4794a0 Bugzilla 47962 - Fixed some potential NPEs. Avoided unnecessary creation of box instances. Applied patch with mods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@823348 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 22:29:41 +00:00
Yegor Kozlov
5d21532e8f reduced the number of compiler warnings generated by JDK 1.6.13 with -Xlint
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@821551 13f79535-47bb-0310-9956-ffa450edef68
2009-10-04 16:01:29 +00:00
Yegor Kozlov
2ad9b00e9f added Ant target to compile scratchpad examples, added example HSMF application that converts a .msg file to text and extracts attachments, see Bugzilla 47922
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@821500 13f79535-47bb-0310-9956-ffa450edef68
2009-10-04 10:25:53 +00:00
Yegor Kozlov
a40baa56ba fixed ColumnHelper to correctly handle columns included in a column span
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@821497 13f79535-47bb-0310-9956-ffa450edef68
2009-10-04 10:08:47 +00:00
Yegor Kozlov
bee594dc5e improved API for OOXML custom properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@821496 13f79535-47bb-0310-9956-ffa450edef68
2009-10-04 10:00:52 +00:00
Josh Micich
a6ced5bc25 Minor improvements to error handling in ForkedEvaluator. Added junits.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@820479 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 22:25:53 +00:00
Josh Micich
c2d66a280f minor fixes to junit after r819469
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@820120 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 23:01:48 +00:00
Yegor Kozlov
c11f67fd74 improved script for deploying maven artefacts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@819487 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 09:52:34 +00:00
Yegor Kozlov
b299d32a07 updated index.html to reflect current release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@819486 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 09:51:52 +00:00
Paolo Mottadelli
99f5c38440 Table of Contents first implementation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@819469 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 07:42:50 +00:00
Yegor Kozlov
ecb5344937 fixed XSSFCell.getStringCellValue() to properly handle cached formula results
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@819106 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 10:41:01 +00:00
Yegor Kozlov
52756862f5 fixed non-ASCII symbols to keep javac quiet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@818752 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 07:21:15 +00:00
Josh Micich
c098ef803e Bugzilla 47747 - fixed logic for locating shared formula records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@816417 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 00:33:18 +00:00
Josh Micich
cae73922a6 Improvements to patch 47809 (support for UDFs)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@816016 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 00:00:57 +00:00
Josh Micich
6977f358dd Reverted initial application of patches 47848(r815935) and 47849(r815942). Some details need clarification.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@816006 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 23:20:51 +00:00
Yegor Kozlov
d093e7c3a4 Added possibility to get EvaluationCell from RefEval, see bugzilla 47849
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@815942 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 19:59:39 +00:00
Yegor Kozlov
0092e8152d Added method createEvaluationWorkbook() to CreationHelper, see Bugzilla 47848
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@815935 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 19:29:42 +00:00
Yegor Kozlov
141dc22e84 improved work with user-defined functions, see Bugzilla 47809
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@815928 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 19:16:39 +00:00
Yegor Kozlov
8ca7addc26 fixed XSSFSheet.setColumnWidth to produce XML compatible with Mac Excel 2008, see Bugzilla 47581
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@814358 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 17:49:46 +00:00
Yegor Kozlov
bd966f208b removed unnecessary svn:executable flag from files in SVN trunk, see bugzilla 47734
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@814335 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 16:05:28 +00:00
Yegor Kozlov
81a095fa5e added javadoc how to avoid Excel crash when creating too many HSSFRichTextString cells, see Bugzilla 47543
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@814324 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 14:53:51 +00:00
Yegor Kozlov
390d185a85 improved XSSFWorkbook.removeSheetAt, see Bugzilla 47737 and 47813
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@814176 13f79535-47bb-0310-9956-ffa450edef68
2009-09-12 16:01:18 +00:00
Yegor Kozlov
3d9f0020ff updated status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@813450 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 14:04:47 +00:00
Yegor Kozlov
e4378f5677 built-in positive formats don't need starting '(', see bugzilla 47770
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@813449 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 14:02:16 +00:00
Yegor Kozlov
0b4d43db7b Necessary fix of FunctionEval (follow-on to patch 47768)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@813440 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 13:51:26 +00:00
Yegor Kozlov
dc05b63cb9 Added method setFunction(boolean) for defined names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@811998 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 05:17:23 +00:00
Yegor Kozlov
4f42192d39 Implementation of Excel Days360 and Npv functions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@811996 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 05:04:17 +00:00
Yegor Kozlov
f11f0c4138 Do not allow text longer than 32,767 characters in HSSF cells, see Bugzilla 47751
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@811994 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 04:55:32 +00:00
Yegor Kozlov
c3b96767de Added an example demonstrating how to convert an XLSX workbook to CSV, see Bugzilla 47757
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@811816 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 12:00:21 +00:00
Yegor Kozlov
4841ed0d47 Fixed PPT parser to tolerate Comment2000 containers with missing comment text, see Bugzilla 44770
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@811814 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 11:35:01 +00:00
Yegor Kozlov
20ea9dce10 fix for extraction paragraphs and sections from headers/footers with XWPFWordExtractor, see Bugzilla 47727
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@809662 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 17:02:06 +00:00
Yegor Kozlov
f4f823b94c Support for extraction of header / footer images in HWPF, see Bugzilla 47733
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@809659 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 16:57:03 +00:00
Yegor Kozlov
006806553c fixed incorrect assignment in TextObjectRecord.clone()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@809658 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 16:56:22 +00:00
Yegor Kozlov
728f88bd92 moved all test data to a top-level directory, refactored all junit usages of .testdata.path to one place
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@806959 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 12:34:24 +00:00
Josh Micich
9ca061617c fixing compiler warnings - unused imports, declared exceptions not thrown
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@806789 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 05:50:32 +00:00
Josh Micich
32ea85bbfd added TestIndirect to suite (from 47721/r806759)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@806776 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 03:18:46 +00:00
Josh Micich
dd9c89cc43 Bugzilla 47721 - Added implementation for INDIRECT()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@806759 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 23:37:17 +00:00
Yegor Kozlov
ba518d2221 fixes and misc refactorings suggested by Intellij
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@806426 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 06:08:31 +00:00
Josh Micich
4076768ed3 minor improvements to sheet name validation and identification of cell references vs defined names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@806395 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 23:25:10 +00:00
Paolo Mottadelli
b9020a69e8 first createWatermark implementation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@806209 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 15:14:00 +00:00
Yegor Kozlov
7e2a5dacee Avoid exception when reading ClipboardData packet in OLE property sets, see bugzilla 45583
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@806172 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 13:49:33 +00:00
Josh Micich
f226104c29 changed interface from OperationEval to Function for basic operators
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805971 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 20:55:44 +00:00
Yegor Kozlov
3316b64495 Centralize logic for finding/opening sample files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805928 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 18:51:44 +00:00
Josh Micich
ee3718b5a7 Fixing compiler warnings - unboxing parameter to overloaded method, unnecessary typecast
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805900 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 17:39:21 +00:00
Paolo Mottadelli
a7e9db045f createHeader/Footer with paragraphs and fixed GUMP break (case sensitive/insensitive filename problem)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805820 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 14:33:27 +00:00
Josh Micich
9926c89006 Fixed compiler warnings - unnecessary throws declaration
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805552 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 19:49:28 +00:00
Josh Micich
c304173145 Fixed compiler warnings - unnecessary else
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805492 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 16:50:24 +00:00
Paolo Mottadelli
05c8f883e4 createHeader/Footer methods + tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805422 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 14:08:09 +00:00
Josh Micich
c83d6bfa24 Fixing compiler warnings - unnecessary typecasts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805284 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 05:29:53 +00:00
Josh Micich
995d8fe73f Fixed unused imports compiler warnings (and some others)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805262 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 02:41:45 +00:00
Josh Micich
37bbf5d179 Removed obsolete Eval interface
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805192 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 22:34:22 +00:00
Josh Micich
e72a30c440 Replaced obsolete Eval with ValueEval in signature of Function.evaluate()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805119 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 20:04:45 +00:00
Josh Micich
b25137db49 initial work on removing obsolete Eval interface
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805091 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 18:55:05 +00:00
Josh Micich
ab0268434e Combined FuncVarEval into FunctionEval. Simplified selection of free ref functions.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805088 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 18:29:40 +00:00
Josh Micich
457a13f8a4 Follow-on for bugzilla 47652 - used more specific exception when password is incorrect
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@804381 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 21:35:44 +00:00
Yegor Kozlov
ed16c25a9a renamed macro-enabled test files to have the correct extentions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@804305 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 17:27:12 +00:00
Yegor Kozlov
6fab98df5b improved loading of package parts so that same logical parts correspond to the same physical instances, see followup in Bugzilla 47668
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@804303 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 17:25:22 +00:00
Yegor Kozlov
76ccb2957d Improved parsing of OOXML documents, see Bugzilla 47668
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@803667 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 18:59:34 +00:00
Yegor Kozlov
31161f94db removed temporary fix for compatibility with Mac Excel 2008 Sp2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@802539 13f79535-47bb-0310-9956-ffa450edef68
2009-08-09 13:08:59 +00:00
Yegor Kozlov
4a1aba8ff8 fixed compile error
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@802535 13f79535-47bb-0310-9956-ffa450edef68
2009-08-09 12:59:27 +00:00
Mark Beardsley
4a4c6a85bd New HSSF example.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@802052 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 15:36:35 +00:00
Josh Micich
c7ef83811b Bugzilla 47652 - Added support for reading encrypted workbooks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@801890 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 06:03:31 +00:00
Josh Micich
755b86af67 code improvements to RecordFactoryInputStream
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@801850 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 00:21:00 +00:00
Nick Burch
acc07e2d6b @year@ doesn't work in the body, so set explicitly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@801609 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 11:40:35 +00:00
Nick Burch
1e7e1a17a9 Add crypto notice bits to the legal page
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@801603 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 11:28:28 +00:00
Yegor Kozlov
6ab3a0e100 changed status.xml to reflect changes from Bugzilla #47604
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@801342 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 18:00:06 +00:00
Yegor Kozlov
d5f241bfb8 Avoid FormulaParseException in XSSFWorkbook.setRepeatingRowsAndColumns when removing repeated rows and columns, see Bugzilla 47620
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@801339 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 17:54:56 +00:00
Yegor Kozlov
30ac3a9d07 Fixed XSSFCell to correctly parse column indexes greater than 702 (ZZ), see Bugzilla #47606
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@801305 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 17:02:04 +00:00
Mark Beardsley
91b9065ff6 New HSSF example.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@800845 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 15:35:04 +00:00
Nick Burch
4926b8c44a Add a note to the hssf/xssf pages on memory of usermodel vs eventusermodel, and hssf vs xssf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@800388 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 14:02:33 +00:00
Yegor Kozlov
1a8eda0027 small improvements to r799264
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@799268 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 13:54:02 +00:00
Yegor Kozlov
54b958b1a9 added a note on Compatibility of POI-generated .xlsx files with MS Office 2008 for Mac SP2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@799264 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 13:49:25 +00:00
Paolo Mottadelli
37db132d93 Custom XML import features; tests and implementation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@799258 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 13:24:57 +00:00
Josh Micich
c37ef4c7ca Bugzilla 47598 - Improved formula evaluator number comparison
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@798771 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 03:36:25 +00:00
Yegor Kozlov
307f443c33 WPFWordExtractor does not extract inserted/deleted text, see Bugzilla 45597
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@797740 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 10:41:53 +00:00
Yegor Kozlov
47909f9f88 Fixed RecordFactoryInputStream to properly read continued DrawingRecords
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@797737 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 10:22:04 +00:00
Yegor Kozlov
c9929932a2 added a cmd option to turn on deserialization of escher records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@797735 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 10:21:28 +00:00
Josh Micich
389ba18274 Additional test case examples for NumberToTextConverter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@797676 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 22:33:46 +00:00
Yegor Kozlov
8270d3d4c8 fixed a typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@797370 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 08:52:10 +00:00