Commit Graph

432 Commits

Author SHA1 Message Date
Yegor Kozlov
c9a7354786 close OPC package before assertion, otherwise the test fails on Win7 (unix-based systems always pass)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982911 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 09:03:32 +00:00
Nick Burch
8dcf35452d Support nested outlook files in ExtractorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@982334 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 17:22:15 +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
57f51af933 Commit unit test change too
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@980417 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 12:02:03 +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
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
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
8047e7e84d do case-insensitive comparison when detecting Content_Types part, tolerate backslashes in part names. see bug 49609
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@965258 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 16:12:17 +00:00
Nick Burch
7483d655a6 Fix indent, and make the mime type matching more consistent
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@964844 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 16:01:13 +00:00
Nick Burch
8c42604abf Fix deprecated warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960117 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 21:45:40 +00:00
Nick Burch
14b89b8d6a Fix deprecated warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960115 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 21:35:06 +00:00
Nick Burch
8f7d1e9a25 Fix deprecated warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960111 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 21:29:32 +00:00
Nick Burch
2d03e05f92 Fix deprecated warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@960106 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 21:16:40 +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
257f11f1a9 Remove a few deprecated warnings for when compiling against ooxml-schemas-1.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@956900 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 13:59:44 +00:00
Nick Burch
66793405d8 Revert r954835 now that POI 3.7 beta1 is out - go back to using 1.5 compiled editions of the ooxml schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@956850 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 11:08:21 +00:00
Nick Burch
5450f371ed Temporary switch back to using only ooxml-schemas-1.0 (no lists). Revert this commit once 3.7 beta1 is out, so we can continue testing the new ooxml-schemas-1.1 (java 1.5) stuff
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@954835 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 11:41:06 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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