Commit Graph

432 Commits

Author SHA1 Message Date
Nick Burch
b629d6f949 More test for bug #49381 / #50884 - xssf freeze panes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090301 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 15:41:36 +00:00
Nick Burch
b642f8952e Add support for adding a table to a XSSFSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090289 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 15:07:35 +00:00
Nick Burch
44ea0035a6 Implement the load method on MemoryPackagePart
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1086909 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 11:34:12 +00:00
Nick Burch
a7e39ad6c2 Add XWPF <br> detection for the other kind of ooxml schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085471 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 17:00:30 +00:00
Maxim Valyanskiy
78bcc564f4 XWPFPicture: remove unused POILogger instance
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1083781 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 13:41:01 +00:00
Maxim Valyanskiy
db05d9158a XWPFPicture: support for reading picture description
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1083780 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 13:39:44 +00:00
Maxim Valyanskiy
8d72b9137a XWPF: support for pictures in headers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1083764 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 12:43:58 +00:00
Nick Burch
8c44bb85d1 Fix bug #49381 - Correct createFreezePane in XSSF, so that the left row/column matches the documentation + HSSF (CellReference is row,column)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1082966 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 16:38:58 +00:00
Nick Burch
df49838158 Fix bug #49253 - When setting repeating rows and columns for XSSF, don't break the print settings if they were already there
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1082961 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 16:06:10 +00:00
Nick Burch
263c8a28f4 Fix bug #50846 - XSSFCellBorder needs a theme table too, but as it gets created early switch it to the same model as XSSFFont for getting it later
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1082946 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 15:18:45 +00:00
Nick Burch
93e7799a7b Fix bug #50784 - XSSFColors return by XSSFFont now have theme information applied to them, as XSSFFont is now ThemesTable aware
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077986 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 15:05:18 +00:00
Nick Burch
a9133e1b3b Hopefully fix bug #50846 - Improve how XSSFColor inherits from Themes, by pushing the logic out of XSSFCellStyle and into ThemesTable + make it easier to call
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077968 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 14:38:13 +00:00
Nick Burch
fd0c177783 Fix bug #50847 - XSSFFont now accepts the full range of Charsets from FontChartset
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077950 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 14:01:14 +00:00
Yegor Kozlov
817a44dcd4 Change related formulas and named ranges when XSSFWorkbook.setSheetName is called, see Bugzilla 47100
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077878 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 11:15:01 +00:00
Nick Burch
03b0eabcf8 Tweak XSSFPrintSetup to make it a little clearer what happens, and add a round-trip unit test for it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1076022 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 21:02:43 +00:00
Yegor Kozlov
c5501130eb tweaked validation of xml to keep Gump quiet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1074920 13f79535-47bb-0310-9956-ffa450edef68
2011-02-26 20:52:50 +00:00
Nick Burch
a6e6fcdb96 Fix bug #50829 - Support for getting the tables associated with a XSSFSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1074710 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 21:44:09 +00:00
Nick Burch
5792826402 More on XSSFColor and ARGB vs RGB for bug #50299 - provide methods to let you get at either 3 byte RGB, or 4 byte ARGB, whichever you prefer for your needs.
Includes the new patch from bug #50299 for 3 colour RGB black/white being inverted from Excel


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1074703 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 21:21:45 +00:00
Nick Burch
39a3b1c35a Fix bug #50786 - Fix XSSFColor to fetch the RGB values of old-style indexed colours
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072082 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 17:41:42 +00:00
Nick Burch
77fb5f43ee Fix bug #50299 with patch from Andrei - Fix XSSFColor fetching of white and black background themes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072053 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 16:44:05 +00:00
Nick Burch
3351df0d1b Fix bug #50795 - Avoid NPE from xmlbeans when moving XSSF Comments from one cell to another
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072022 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 15:29:22 +00:00
Nick Burch
32f9ba7a04 Fix a 1.6ism
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1069974 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 22:35:20 +00:00
Nick Burch
63a225e051 Fix bug #50539 - Better fix for html-style br tags (invalid XML) inside XSSF documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1067217 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 16:42:57 +00:00
Nick Burch
f751e3cdd3 Inside ExtractorFactory, support finding embedded OOXML documents and providing extractors for them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1049802 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 07:39:21 +00:00
Nick Burch
3d74ebf836 Fix bug #50440 - Support evaluating formulas with newlines in them, which XSSF may have (but HSSF may not)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1045021 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 05:39:39 +00:00
Nick Burch
e8b9fa6725 Added XSSF EventModel support for inline strings. Adds unit test for this for the event model extractor, and another for the usermodel extractor which already supported it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1045020 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 05:07:19 +00:00
Yegor Kozlov
0f86c22ae8 Avoid crashing Excel when sorting XSSFSheet autofilter, see Bugzilla 50315
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1041407 13f79535-47bb-0310-9956-ffa450edef68
2010-12-02 15:23:35 +00:00
Yegor Kozlov
6cf48b0610 improved work with UDFs and Analysis Toolpack functions, ATP functions are enabled by default and user can create / evaluate them just like built-in functions, both HSSF andf XSSF are supported
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1039870 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 12:03:52 +00:00
Yegor Kozlov
9d56b17ace moved ptg classes to org.apache.poi.ss.formula.ptg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1038691 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 16:54:26 +00:00
Nick Burch
886ee41c05 Stub out a bit more for XSSF event processing of shared formulas, and only warn about them if the formula is a shared-child + the user actually wants the values
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1038095 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 13:04:03 +00:00
Nick Burch
6161794320 Allow access from XSSFReader to sheet comments and headers/footers (related to bug #50076)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1037753 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 15:16:45 +00:00
Yegor Kozlov
533f3a4f4a moved common formula-related code to org.apache.poi.ss.formula, eliminated dependencies on HSSF, reduced the number of eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1037431 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 11:52:32 +00:00
Nick Burch
8cbc24070b Some refactoring of XSSFEventBasedExcelExtractor, to make it easier for you to have control over outputting the cell contents, inspired by bug #50076
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1036968 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 18:14:06 +00:00
Yegor Kozlov
09f53282ec avoid corruption of XSSFWorkbook after applying XSSFRichTextRun#applyFont, see Bugzilla 50258
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1036599 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 20:07:15 +00:00
Yegor Kozlov
9b52b521cf allow white spaces and unicode in OPC relationship targets, see Bugzilla 50154
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1036215 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 20:40:35 +00:00
Maxim Valyanskiy
e350093be6 dispose xml cursor when iteration over it is done (more)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1035947 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 08:13:40 +00:00
Maxim Valyanskiy
88e8b056fc XWPF: dispose xml cursor when iteration over it is done
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1035615 13f79535-47bb-0310-9956-ffa450edef68
2010-11-16 12:45:39 +00:00
Yegor Kozlov
e8bbd4c957 clear calculation chain when deleting row or chaing cell type to blank, see Bugs 50113 and 49966
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1034358 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 12:03:56 +00:00
Yegor Kozlov
9c3d11b953 Fixed evaluation of cell references with column index greater than 255, see bugzilla 50096
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1033556 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 16:09:04 +00:00
Yegor Kozlov
13920dccd6 use cached formula result when autosizing sheet columns, see Bugzilla 50211
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1033005 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 15:04:55 +00:00
Maxim Valyanskiy
de166c7b97 Ensure that XWPFParagraph.getDocument() is not null
(Null getDocument() causes NPE when looking for comments in XWPFWordExtractorDecorator)


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1028283 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 13:02:43 +00:00
Yegor Kozlov
dfa4e8ec3b don't depend on constants from javax.xml.XMLConstants from JRE, stay compatible with geronimo-stax
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1026607 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23 12:14:41 +00:00
Nick Burch
26b76c1087 Fix bug #50119 - avoid NPE when XSSFReader comes across chart sheets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1025630 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 16:25:24 +00:00
Nick Burch
7b4dc141ae br is a line break, similar to cr
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1024301 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 16:04:50 +00:00
Yegor Kozlov
3279f4d9c3 suppress deprecation warnings in poi-ooxml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1022452 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 10:06:16 +00:00
Yegor Kozlov
8f59cfbb23 revert usages of getXYZList() back to getXYZArray() in XSSF, also misc performance optimizations
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1022420 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 08:40:06 +00:00
Yegor Kozlov
7c3ce57a61 allow overridden built-in formats in XSSFCellStyle, see Bugzilla 49928
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1005726 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 08:26:57 +00:00
Yegor Kozlov
adefc926c1 cleaned javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1004934 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 08:55:30 +00:00
Nick Burch
b8ac27ed99 Add a temporary workaround for bug #49934, while we wait for a proper xmlbeans fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999339 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 11:43:36 +00:00
Nick Burch
39a185e9a7 Fix bug #49966 - Correctly remove calcChain entries for XSSF cells that stop holding formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999314 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 11:16:12 +00:00