Commit Graph

465 Commits

Author SHA1 Message Date
Nick Burch 0612929bba Prepare for 3.7 beta 2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982336 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 17:24:05 +00:00
Nick Burch 514e6be1fe Fix bug #47990 - Support for .msg attachments within a MAPIMessage .msg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982331 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 17:08:39 +00:00
Nick Burch 3c4946472b Improve handling and warnings when closing OPCPackage objects
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982311 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 15:58:51 +00:00
Nick Burch 654c53efc8 Fix bug #49702 - Correct XSSFWorkbook.getNumCellStyles to check the right styles list
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982269 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 14:40:54 +00:00
Nick Burch f3d277fa24 Add patch from bug #49690 - Add WorkbookUtil, which provies a way of generating valid sheet names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982260 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 14:13:42 +00:00
Nick Burch 8486ae97d3 Fix bug #49694 - Use DataFormatter when autosizing columns, to better match the real display width of formatted cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@981969 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 17:12:02 +00:00
Nick Burch ce0fea767f Fix bug #49441 - Allow overriding and guessing of HSMF non-unicode string encodings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@981947 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 16:06:21 +00:00
Nick Burch fe76361d67 Fix bug #49689 - Allow the setting of user style names on newly created HSSF cell styles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@981930 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 15:29:56 +00:00
Nick Burch 443dd75e04 Refactor to make it easier to tell which content types each POIXMLTextExtractor handles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@980414 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 11:57:08 +00:00
Yegor Kozlov 507d4dd3a5 Added clone support for UserSView* and Feat* families of records, see bug #49649
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@980102 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 15:51:57 +00:00
Yegor Kozlov f03598469a Support for escaped unicode characters in Shared String Table, see bug #49653
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979952 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 05:48:27 +00:00
Yegor Kozlov 0cc825e8dc prevent ArrayIndexOutOfBoundException in UnknowEscherRecord, see bug #49579
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979747 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 15:24:25 +00:00
Yegor Kozlov d264f92d24 preserve leading and trailing white spaces in XWPFRun, see bug #49593
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979540 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 05:38:48 +00:00
Yegor Kozlov 84811da73d insert the content of fldSimple fields into the XWPFWordTextExtractor output, see bug #49455
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979538 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 05:19:15 +00:00
Yegor Kozlov de13c1193c Fixed parsing formulas containing defined names beginning with an underscore, see Bug 9640
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979329 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 15:52:57 +00:00
Yegor Kozlov 9007623728 support for POISSON function, see bug #49538
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@979255 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 12:13:07 +00:00
Nick Burch 46bbc6add4 Fix bug #49524 - Support for setting cell text to be vertically rotated, via style.setRotation(0xff)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@965267 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 18:00:36 +00:00
Nick Burch bea0801c24 Patch from Jens Gotze from bug #49581 - Ability to add, modify and remove series from HSSF Charts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@964855 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 16:46:42 +00:00
Nick Burch 7732426887 Patch from Andrew Shirley from bug #49185 - Support for HSSFNames where the comment is stored in a NameCommentRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@964845 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 16:02:09 +00:00
Nick Burch 6d93fb9d5d 49599 - Correct writing of NoteRecord author text when switching between ASCII and Unicode
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@964800 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 13:57:17 +00:00
Maxim Valyanskiy 69cc14c377 update status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960594 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 13:19:35 +00:00
Maxim Valyanskiy 78b0c18ade HWPF: Improve reading of auto-saved ("complex") document
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960587 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 12:56:02 +00:00
Nick Burch 256e73d16d More Word 6 / Word 95 Support
HWPFOldDocument now processes a few more table sections, and so we can fake up some
 basic Ranges. This allows us to do paragraph level text extraction


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960102 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 20:59:30 +00:00
Nick Burch 6ee6d9095f Enable Word6Extractor in ExtractorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@959360 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 16:08:10 +00:00
Nick Burch da6d33456f Fix bug #49508 - Allow the addition of paragraphs to XWPF Table Cells. (Also fixed a few related warnings too)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@958972 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 14:04:11 +00:00
Nick Burch afbf123c7f Fix bug #49446 - Don't consider 17.16.23 field codes as properly part of the paragraph's text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@958965 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 13:38:24 +00:00
Nick Burch 5f323eb6ea More XSLF tests for the less common extensions, and initial support for .thmx (theme) files - currently just stretches to not breaking...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@958923 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 11:07:27 +00:00
Nick Burch 8c40e52769 New expected release date for 3.7 beta 1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@954837 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 11:42:09 +00:00
Nick Burch 6060331081 Fix bug #49432 - Lazy caching of XSSFComment CTComment objects by reference, to make repeated comment searching faster
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@954521 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 15:43:47 +00:00
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
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 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 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
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 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 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 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 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