Commit Graph

1262 Commits

Author SHA1 Message Date
Nick Burch
ab19d2e09c Fix and update JavaDoc entries, and correct areas with wildy inconsistent whitespace / style to the surrounding code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1492804 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 18:34:54 +00:00
Nick Burch
5863a82a6e Fix and update JavaDoc entries, and correct areas with wildy inconsistent whitespace / style to the surrounding code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1492802 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 18:29:08 +00:00
Nick Burch
8bb5601ff8 Fix the javadoc, correct the indenting, and add the new test file from bug #54849
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1492796 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 18:18:19 +00:00
Nick Burch
0ecaa1ae58 Patch from akhikhl from github pull #4 - Expose from XWPFParagraph the number level and format, if applied
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1492312 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 18:04:16 +00:00
Nick Burch
8185178ad3 Patch from akhikhl from github pull #3 - Extract references from XWPF footnotes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1492308 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 17:54:39 +00:00
Nick Burch
b80a40bc13 JavaDoc fixes from #54731 from Dominik Stadler
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1492267 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 16:32:24 +00:00
Nick Burch
bf581e03b9 Stub out the unit tests needed for bug #55026, and add the sample file from that
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1487657 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 22:23:51 +00:00
Nick Burch
2f0107bb4e Where possible, allow fetching of the size of the OPC Package Part (-1 if not)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1482647 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 00:27:59 +00:00
Yegor Kozlov
651e622176 Bugzilla 54625 - Register user-defined functions in instance scope instead of static
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1452060 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 16:16:12 +00:00
Yegor Kozlov
e80c3aabc1 Bugzilla 54436: Fixed metadata for GETPIVOTDATA function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1451875 13f79535-47bb-0310-9956-ffa450edef68
2013-03-02 11:38:09 +00:00
Nick Burch
000620ac52 Improve the number of steps when generating an ID of a new relationship, and add more tests, bug #53904
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1442148 13f79535-47bb-0310-9956-ffa450edef68
2013-02-04 15:06:46 +00:00
Yegor Kozlov
90d7b88fa3 one more fix related to Bugzilla 54407
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1437306 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 09:14:14 +00:00
Yegor Kozlov
99476fc6b8 Bugzilla 54407 - Avoid XmlValueDisconnectedException when merging slides
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1436913 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 13:37:14 +00:00
Yegor Kozlov
7cde4a3ea7 fix exception when calling importContent, see Bugzilla 54407
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1436608 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 20:46:32 +00:00
Nick Burch
506578f1af Patch from Jan from bug #54282 - Improve the performance of ColumnHelper addCleanColIntoCols, speeds up some .xlsx file loading
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1420501 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 00:48:13 +00:00
Yegor Kozlov
595c967cf0 Bug 53650 - Prevent unreadable content and disalow to overwrite rows in user templates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1418264 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 10:36:16 +00:00
Yegor Kozlov
5b76ca72b6 Bugs 54228,53672 - Fixed XSSF to read cells with missing R attribute
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1417379 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 12:21:08 +00:00
Yegor Kozlov
7d6b730202 Bug 54206: ValueRecordsAggregate.updateFormulasAfterRowShift doesn't update shared formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1416917 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 12:44:33 +00:00
Yegor Kozlov
e469414ef2 sync table headers with worksheet on save
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1416166 13f79535-47bb-0310-9956-ffa450edef68
2012-12-02 12:28:32 +00:00
Yegor Kozlov
7adad438bf Bug 54210 - Fixed rendering text in flipped shapes in PPT2PNG and PPTX2PNG
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1416165 13f79535-47bb-0310-9956-ffa450edef68
2012-12-02 12:24:55 +00:00
Yegor Kozlov
87073d28da fixed javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1410315 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 12:00:02 +00:00
Yegor Kozlov
abc9ef9bb8 follow-up to 54099: include STMerge & CTVMerge in poi-ooxml-schemas jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1409676 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 07:46:39 +00:00
Yegor Kozlov
e2c597c016 Bugzilla 54099 - Ensure that CTHMerge and CTTcBorders go to poi-ooxml-schemas jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1407242 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 19:52:20 +00:00
Yegor Kozlov
e1a93e14fd example how to create pptx pie chart from template, more tests for poi-ooxml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1406496 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 08:33:34 +00:00
Yegor Kozlov
395b0af2e4 Bugzilla 54070: Patch for typos in comments, javadoc and documentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1404642 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 15:26:27 +00:00
Yegor Kozlov
489a9b47f3 Bug #53282 - Avoid exception when parsing OPC relationships with non-breaking spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1403195 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 08:42:54 +00:00
Yegor Kozlov
d1fb05dedf Bug #53374 Avoid exceptions when parsing hyperlinks of type 'javascript://'
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1402470 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 11:38:28 +00:00
Yegor Kozlov
96959c79f8 preserve leading / trailing spaces in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1397499 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 09:32:45 +00:00
Yegor Kozlov
82e268acf3 Bug 53965: Fixed XmlValueOutOfRangeExceptio calling getDataValidations for custom validations with XSSFSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1396650 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 15:41:35 +00:00
Yegor Kozlov
eb40f810d5 Bugzilla 53568: Fixed null returned by XSSFPicture.getPictureData()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1396539 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 10:48:10 +00:00
Yegor Kozlov
141294063d Bugzilla 53950 - fixed setForceFormulaRecalculation to reset workbook-level manual flag<
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1394059 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 13:26:44 +00:00
Yegor Kozlov
57bbac29fe Bugzilla 52211 - avoid unnessary re-coverting content types to US-ASCII, it can cause exceptions on ibm mainframes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1394001 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 11:52:20 +00:00
Yegor Kozlov
7290c5fabd Bugzilla 53568 - Set shapes anchors in XSSF when reading from existing drawings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1393992 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 11:23:32 +00:00
Yegor Kozlov
726fca378a Bugzilla 53780: Fixed memory and temporary file leak in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1384784 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 13:45:09 +00:00
Yegor Kozlov
e3a960ad85 added relation for XSLF charts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1384730 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 11:53:39 +00:00
Evgeniy Berlog
ddbbd7ba32 bugzilla ticket 53642: added detailed logging for formula evaluation in both HSSF and XSSF modules
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1381249 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 17:03:55 +00:00
Yegor Kozlov
37507ff4a3 removed #Override from interfaces to keep javac on JDK 1.5 happy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1369733 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 06:48:51 +00:00
Yegor Kozlov
8394c58b15 Bug 53500: split setRepatingRowsAndColumns into setRepeatingRows and setRepeatingColumns
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1369290 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 08:51:49 +00:00
Yegor Kozlov
3132801d2c fixed compilation errors on JDK 1.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1364926 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 07:32:47 +00:00
Yegor Kozlov
d619711ea4 Bugzilla 53500 - Getter for repeating rows and columns
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1364061 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 10:33:00 +00:00
Yegor Kozlov
e353c5e20b Bugzilla 53360 - Fixed SXSSF to correctly write text before escaped Unicode control character
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1362093 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 15:32:25 +00:00
Yegor Kozlov
2257c01910 avoid NPE when setting line properties if linewidth is zero
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1356102 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 08:07:16 +00:00
Nick Burch
984af0b3a8 Update JavaDocs to make it clearer to users about the different constuctors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1352685 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 21:00:54 +00:00
Yegor Kozlov
21e710c082 more tests to ensure that poi compiles against poi-ooxml-schemas.jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1351994 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 08:46:50 +00:00
Nick Burch
7aea48961d Add File based constructor to OPCPackage, alongside existing String one (which constructed a File from the string internally)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1351894 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 22:50:14 +00:00
Yegor Kozlov
bafe7814ff Bugzilla 53271 - Removed unconditional asserts in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1342604 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 12:53:12 +00:00
Yegor Kozlov
87099af3cb Bugzilla 53043 - don't duplicate hyperlink relationships when saving XSSF file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1328653 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 12:50:57 +00:00
Yegor Kozlov
6fc404c4a6 Bugzilla 53101: fixed evaluation of SUM over cell range > 255
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1328647 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 12:48:42 +00:00
Maxim Valyanskiy
c0571bdce3 OPC: add original IOException to chain on open file errors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1302840 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 11:21:23 +00:00
Yegor Kozlov
0c7c5fe873 Bugzilla 52835 - Tolerate missing Count and UniqueCount attributes when parsing shared strings table in XSSF eventusermodel
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1299338 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 07:19:07 +00:00
Yegor Kozlov
8ba7b2c6fb corrected name of test file for Bugzilla 51710
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1296983 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 09:55:43 +00:00
Yegor Kozlov
cfbd879755 optimized unused imports and removed deprecation warnings in poi-ooxml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1296977 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 09:42:36 +00:00
Yegor Kozlov
e9d31e7b3e support for setting color of sheet tab in XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1295079 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 12:53:48 +00:00
Yegor Kozlov
5baa7440aa Bugzilla 51564 - support for enforcing fields update in XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1295078 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 12:52:55 +00:00
Yegor Kozlov
e8368bedf1 follow on to r1295058
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1295063 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 10:54:50 +00:00
Yegor Kozlov
c2d898c25a Bugzilla 51673 - support grouping rows in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1295058 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 10:36:11 +00:00
Yegor Kozlov
c0e87067e6 Bugzilla 51780 - support replacement of content types in OPC packages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294998 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 07:50:10 +00:00
Yegor Kozlov
cfa6bdc291 Bugzilla 52784 - replace ISO control characters with question marks in SXSSF to be consistent with XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294657 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 13:52:09 +00:00
Yegor Kozlov
49dd4c3e69 follow-on to r1294595
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294653 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 13:48:27 +00:00
Yegor Kozlov
be4f4d11a8 Bugzilla 52574 - support setting header / footer page margins in HSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294181 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 15:22:22 +00:00
Yegor Kozlov
a03a39fd54 Bugzilla 51790: fixed reading shared formulas in XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294127 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 12:18:45 +00:00
Yegor Kozlov
79ad552d72 Bugzilla 52708 - misc improvements in CellFormat
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294072 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 09:26:36 +00:00
Yegor Kozlov
a6aa1fd99e Bugzilla 52255 - support adding TIFF,EPS and WPG pictures in OOXML documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1293748 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 06:22:09 +00:00
Yegor Kozlov
cc6e457d59 fixed wrong namespace when inserting images in xwpf, added an example how to insert pictures
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1293747 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 06:18:40 +00:00
Yegor Kozlov
2774c6717a Bugzilla 52745: fixed XSSFRichtextString.append to preserve leading / trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1292759 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 12:07:16 +00:00
Yegor Kozlov
89e6f4ffc2 Bugzilla 52716 - tolerate hyperlinks that have neither location nor relation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1292295 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 14:04:17 +00:00
Yegor Kozlov
a2aa35c9a8 Bugzilla 52701: fixed seting vertical alignment for XSLFTableCell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1291743 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 12:39:23 +00:00
Yegor Kozlov
854e14308f fixed importing pictures having associated custom tags, see Bugzilla 52687
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1291730 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 12:13:39 +00:00
Nick Burch
52e8997b18 Fix bug #52665 - When reading from a ZipFileZipEntrySource that has already been closed, give IllegalArgumentException rather than NPE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1244450 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 11:51:06 +00:00
Yegor Kozlov
1ed2118402 Bugzilla 52658: support mergin table cells in XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1243793 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 07:02:54 +00:00
Yegor Kozlov
39edd2fe62 Bugzilla 52626: fixed setting default row height in HSSF and XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1243240 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 11:14:23 +00:00
Yegor Kozlov
a2722fba8f validate row and column indexes in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1243232 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 10:44:17 +00:00
Nick Burch
9aed717d95 Disabled unit tests for bug #48703
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1242807 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 15:03:03 +00:00
Yegor Kozlov
83b3ab6124 support caching images in xslf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241896 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 13:44:12 +00:00
Yegor Kozlov
583a2eb315 added methods to get/set preset shape geometry in XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241885 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 12:54:02 +00:00
Yegor Kozlov
3d50eaa749 Bugzilla 52570: misc fixes in XWPFDocument
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241398 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 09:48:22 +00:00
Yegor Kozlov
b304d1f254 Bugzilla 52568: added methods to set/get an XWPFRun's text color
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241395 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 09:45:20 +00:00
Yegor Kozlov
ce6c566c4c Bugzilla 52566: added methods to set/get vertical alignment and color in XWPFTableCell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241393 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 09:41:52 +00:00
Yegor Kozlov
82014d6ba9 Bugzilla 525612: added methods to get/set a table row's Can't Split and Repeat Header attributes in XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241387 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 09:21:15 +00:00
Yegor Kozlov
9ade81c403 Bugzilla 52561: Added methods to set table inside borders and cell margins in XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241383 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 09:15:31 +00:00
Yegor Kozlov
eca9ec5416 improved javadoc on SXSSFWorkbook(XSSFWorkbook wb)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1241373 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 08:17:21 +00:00
Yegor Kozlov
2e2559d80a bugzilla 52575: added an option to ignore missing workbook references in formula evaluator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1240903 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 07:37:11 +00:00
Yegor Kozlov
0efe45cb7d improved support for line breaks in XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1240026 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 08:24:38 +00:00
Yegor Kozlov
46bc4f45f7 validate hyperlink address as discussed on poi-user
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1239529 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 10:37:49 +00:00
Nick Burch
c2ef05e163 Fix bug #52540 - Relax the M4.1 constraint on reading OOXML files, as some Office produced ones do have 2 Core Properties, despite the specification explicitly forbidding this
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1237631 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 12:59:54 +00:00
Yegor Kozlov
9a0a46ea50 support kerning in XSLF text runs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1235668 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 07:53:07 +00:00
Yegor Kozlov
49a75b1031 more XSLF tests to ensure that poi-ooxml-schemas.jar contains all used classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1233242 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 08:09:26 +00:00
Yegor Kozlov
2cf6b568c6 added common interface for containers of shapes in XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1231481 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 11:10:46 +00:00
Nick Burch
24b020cb12 Support more OOXML custom properties for text extraction
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1230168 13f79535-47bb-0310-9956-ffa450edef68
2012-01-11 17:59:36 +00:00
Nick Burch
2a22882dff POIXMLPropertiesTextExtractor support for extracting custom OOXML properties as text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1230106 13f79535-47bb-0310-9956-ffa450edef68
2012-01-11 15:51:10 +00:00
Nick Burch
477ae958e3 Fix bug #52449 - Support writing XWPF documents with glossaries (plus fix some indenting)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1230045 13f79535-47bb-0310-9956-ffa450edef68
2012-01-11 14:02:40 +00:00
Yegor Kozlov
ff8ec41980 more progress with merging external slides
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1225169 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 12:32:07 +00:00
Nick Burch
6b0bce44a5 Bug #52369 - XSSFExcelExtractor should format numeric cells based on the format strings applied to them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1221108 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 05:54:18 +00:00
Nick Burch
9250a2e019 Fix bug #52369 - Event based XSSF parsing should handle formatting of formula values in XSSFSheetXMLHandler
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1221103 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 05:34:58 +00:00
Yegor Kozlov
ac6c00b6df Bugzilla 52348: Avoid exception when creating cell style in a workbook that has an empty xf table
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1220659 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 09:06:10 +00:00
Yegor Kozlov
b2461c5c59 Bugzilla 52219: fixed XSSFSimpleShape to set rich text attributes from XSSFRichTextString
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1220645 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 08:25:46 +00:00
Yegor Kozlov
8c2f0e5770 Bugzilla 52219: fixed XSSFSimpleShape to set rich text attributes from XSSFRichTextString
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1220642 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 08:17:46 +00:00
Yegor Kozlov
4b140a70ca Addition to Bugzilla 51961: enable compression of temp files when loading existing workbook
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1215080 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 10:11:45 +00:00
Yegor Kozlov
79a10931dc more xlsf docs and samples
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1215077 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 10:00:11 +00:00
Yegor Kozlov
95d0ab557b xlsf tutorial and cookbook updates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212978 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 08:43:09 +00:00
Nick Burch
29fc1cc8ff Add a NPOIFS constructor to WorkbookFactory, to match the regular POIFS one
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212976 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 08:16:32 +00:00
Yegor Kozlov
c8f9bde8ee removed svn:executable bit from project files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212745 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 08:02:08 +00:00
Yegor Kozlov
6790b8559d Bugzilla 52204: Deprecated XSSFWorkbook(String path) constructor because it does not close underlying .zip file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212744 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 07:56:54 +00:00
Yegor Kozlov
6867b3eee4 fixed javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212511 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:48:38 +00:00
Yegor Kozlov
17c6a33b99 keep rat quiet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212403 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 13:27:12 +00:00
Yegor Kozlov
c46ea351f6 Bugzilla 51961: support compression of temp files in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212330 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 11:04:22 +00:00
Yegor Kozlov
1b19410d68 Bugzilla 52268 - support cloning sheets with drawings in XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1211339 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 08:49:09 +00:00
Nick Burch
693a7ddc09 Patch from Fabian from bug #52285 - support Smart Tags in XWPF paragraphs, with test (and fixing indents)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1210774 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 04:31:04 +00:00
Nick Burch
9068469566 Test that shows that bug #52288 is already fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1210768 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 03:33:11 +00:00
Nick Burch
3400cf0d44 Patch from Marcel May from bug #51875 - More XSSF formula new-line support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1210299 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 00:52:39 +00:00
Yegor Kozlov
62fa52d714 improved rendering of groupped shapes in xslf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1210089 13f79535-47bb-0310-9956-ffa450edef68
2011-12-04 11:16:57 +00:00
Yegor Kozlov
8e6eff67fc more progress with XSLF: made some methods publis as suggested on poi-dev, more tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1205902 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 16:13:42 +00:00
Yegor Kozlov
66b79be517 added missing definition of the upArrow shape, moved support for line decorations to XSLFSimpleShape
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1204477 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 13:10:14 +00:00
Yegor Kozlov
12c58c96e3 fixed TestXSLFTextParagraph that failed when the Arial font was not available
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1204133 13f79535-47bb-0310-9956-ffa450edef68
2011-11-20 06:34:32 +00:00
Yegor Kozlov
f07f08293c Bugzilla 52209: fixed inserting multiple pictures to a group or slide in XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1203969 13f79535-47bb-0310-9956-ffa450edef68
2011-11-19 12:28:33 +00:00
Yegor Kozlov
1d81b3e8bc avoid exception when breaking text with a trailing newline
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1203968 13f79535-47bb-0310-9956-ffa450edef68
2011-11-19 12:25:38 +00:00
Yegor Kozlov
91d87aff7d misc improvements in text rendering in xlsf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1203143 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 10:33:59 +00:00
Nick Burch
959ab00472 Patch from bug #52190 - null check on XWPF setFontFamily
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1202620 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 10:33:05 +00:00
Yegor Kozlov
a44fc7b05a more progress with PPTX2PNG
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1201687 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 13:00:13 +00:00
Yegor Kozlov
abccf7f303 improved rendering of indented text in XSLF, also improved import content from external slides
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1200330 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 13:59:16 +00:00
Yegor Kozlov
afecad3532 keep rat-check quiet, also started writing xslf docs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1198722 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 13:22:04 +00:00
Yegor Kozlov
e021457005 Bugzilla 52062: ensure that temporary files in SXSSF are deleted
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1198693 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 10:25:35 +00:00
Yegor Kozlov
21b4a0f948 more progress with xlsf: support for gradient and texture fills, backgrounds, improved drawing of preset shapes and many more updates ...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1198658 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 09:12:16 +00:00
Yegor Kozlov
6406cfb2d2 more progress with PPTX2PNG: support for gradient and texture fill, also refactored usages of colors in drawingML
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1190347 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 14:25:53 +00:00
Yegor Kozlov
cc0dbb38f6 keep javac on JDK 1.5 quiet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1189657 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 08:02:03 +00:00
Yegor Kozlov
5badcee102 support for preset shape geometries in xslf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1189105 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 10:10:05 +00:00
Sergey Vladimirov
5381a80cb0 restore JDK5 compatibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1188233 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 17:02:43 +00:00
Yegor Kozlov
f1a2673950 more progress with PPTX2PNG
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1188091 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 11:07:59 +00:00
Sergey Vladimirov
a15034b281 explicitly convert to float for JDK 5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187982 13f79535-47bb-0310-9956-ffa450edef68
2011-10-23 21:53:16 +00:00
Yegor Kozlov
3c6ce72dda initial support for rendering pptx slides into images with a PPTX2PNG command-line utility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187328 13f79535-47bb-0310-9956-ffa450edef68
2011-10-21 13:17:33 +00:00
Nick Burch
e132ed5359 Add a bit more XSSFDrawing testing, not all of which works properly yet...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1179461 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 22:13:52 +00:00
Nick Burch
4b61edfdb3 Fix bug #51949 - Avoid NPE on double close of ZipFileZipEntrySource
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1179452 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 21:29:32 +00:00
Nick Burch
31924dff8b Fix bug #51950 - XWPF may not always have footnotes in a document
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1179449 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 21:26:49 +00:00
Nick Burch
0d31a3b8b7 Fix bug #51963 - Correct AreaReference handling of references containing a sheet name which includes a comma
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1179444 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 21:18:25 +00:00
Nick Burch
ea20b0b885 Fix bug #51955 - XSSFReader supplied StylesTables need to have the theme data available
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1179440 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 21:05:00 +00:00
Yegor Kozlov
abba248c50 Bugzilla #51716 - Removed incorrect assert in SXSSFSheet#getSXSSFSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178769 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 12:36:21 +00:00
Nick Burch
ba88670e3e Allow the passing of a File object to WorkbookFactory.create, which permits lower memory processing than the InputStream version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1177409 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 19:39:51 +00:00
Nick Burch
9e1ca2caea XLSF text extraction improvements relating to TIKA-712
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1175887 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 14:37:50 +00:00
Nick Burch
8de1ce7c6a Tweak the HSLF and XSLF tests for master slide text to cover more (some of which is disabled for now)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1175870 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 13:48:59 +00:00
Nick Burch
837c5a90f1 Fix bug #51850 - support creating comments in XSSF on an earlier slide when later ones already have them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1174048 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 10:37:54 +00:00
Nick Burch
7b211912e2 Add a disabled test for bug #51850, and tweak the OPC package exceptions to make it easier to spot when a part name is already used
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1174045 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 10:26:33 +00:00
Nick Burch
766b2256cf Update the XSLF slide master text extraction to be optional, as HSLF already is, plus fix some indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173756 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 16:54:22 +00:00
Nick Burch
2c9a15dc3b Fix bug #51804 - Include Master Slide text in XSLF text extraction
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173749 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 16:32:52 +00:00
Nick Burch
0446976e0f New PackagePart method getRelatedPart(PackageRelationship) to simplify navigation of relations between OPC Parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1172853 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 21:40:39 +00:00
Nick Burch
7d6c26cf86 Test relating to TIKA-705 - XSLF internal hyperlinks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1172670 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 15:38:59 +00:00
Nick Burch
f716fe1822 Start on a testcase for TIKA-705 (more work needed though)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1170648 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 14:39:20 +00:00
Yegor Kozlov
effaab4dc7 avoid exceptions when using POI in Tika, see BUgs 51771 and 51770
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1169679 13f79535-47bb-0310-9956-ffa450edef68
2011-09-12 10:19:50 +00:00
Yegor Kozlov
b1dce5c2ad more progress with xssf chart api, see Bug 51196
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1167579 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 19:00:47 +00:00
Yegor Kozlov
cc4a1dd8f1 fixed failing xlsf test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1167541 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 15:30:43 +00:00
Yegor Kozlov
76b20bf253 initial support for table styles in XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1167491 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 10:50:05 +00:00
Nick Burch
41f656b6c8 Patch from bug #51785 - Allow XSSF setForceFormulaRecalculation to work with the minimal ooxml-schemas jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1167241 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 15:11:20 +00:00
Nick Burch
e3a6f2ad80 Update XSLFPowerPointExtractor to include Comment Authors along with comment text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1165112 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 21:16:32 +00:00
Nick Burch
27304042f8 XSLF initial work on comment authors, and tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1165111 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 21:09:20 +00:00
Nick Burch
dd69223e2b Convert the XSLF text extractor from using the old style low level code to use usermodel
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1165109 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 20:51:21 +00:00
Nick Burch
17c3ed2223 Add XSLF access to slide comments, and fix some code comments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1165108 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 20:45:10 +00:00
Nick Burch
dcdb4fc768 Remove incorrect svn:executable property from several Java source files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1165107 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 20:33:04 +00:00
Nick Burch
a972aa482a Basic XSLF support for slide notes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1165105 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 20:29:17 +00:00
Nick Burch
407ec57e37 Start on XSLF notes master support, and add a XMLSlideShow basics test, along with making it easier to get to the common slide data via XSLFSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1165104 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 20:14:43 +00:00
Yegor Kozlov
9882382c80 support for tables and hyperlinks in XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1158611 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 10:18:31 +00:00
Yegor Kozlov
2015a64269 more XSLF updates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1157002 13f79535-47bb-0310-9956-ffa450edef68
2011-08-12 08:16:02 +00:00
Yegor Kozlov
34c7fc8f98 keep compiler from JDK 1.5.22 happy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156551 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 09:17:12 +00:00
Yegor Kozlov
6663b6ea9f Patch 51634 - support SXSSF streaming from templates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156544 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 08:54:11 +00:00
Yegor Kozlov
bde41cbbe6 fixed missing ASF licence headers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156541 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 08:47:58 +00:00
Yegor Kozlov
6bf42e8072 initial support for XSLF usermodel API
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156539 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 08:38:19 +00:00
Yegor Kozlov
dc100d1004 51187 - fixed OPCPackage to correctly handle self references
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156529 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 08:13:00 +00:00
Yegor Kozlov
53769d29ad Bug 51635 - Improved performance of XSSFSheet#write
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156272 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 17:32:38 +00:00
Sergey Vladimirov
1d9900c184 Add Word-to-Text converter and use it as replacement for WordExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155336 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 12:38:52 +00:00
Yegor Kozlov
f061535fdc Fixed incorrect encoding of non-breaking space (0xA0) in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1154323 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 17:27:08 +00:00
Yegor Kozlov
d7fa3d56ee fixed compilation errors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1152103 13f79535-47bb-0310-9956-ffa450edef68
2011-07-29 04:54:34 +00:00
Yegor Kozlov
3e56ba2b90 support for conditional formatting in XSSF including docs and examples
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1152099 13f79535-47bb-0310-9956-ffa450edef68
2011-07-29 04:47:25 +00:00
Nick Burch
c891006d5e Based on Yegor's investigating, Support isRightToLeft and setRightToLeft on the common spreadsheet Sheet interface, as per existing HSSF support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1152031 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 22:53:46 +00:00
Sergey Vladimirov
c9e8e6422b restore JDK 1.5 compatibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150616 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 10:12:21 +00:00
Nick Burch
22bf8bdef5 Tweak the error message to make it clearer how one should work with this part
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149196 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 14:37:50 +00:00
Yegor Kozlov
81a8e6eb54 renamed excelant test class to avoid collision with poi-examples when all classes compiled in the same directory, also removed duplicated log4j.properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149134 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 11:55:05 +00:00
Yegor Kozlov
77277a7acd fixed bug 51470 - avoid exception when cloning XSSF sheets with background images
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148724 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 12:29:27 +00:00
Yegor Kozlov
44521220e5 Fixed bug 51533 - Avoid exception when changing name of a sheet containing shared formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148673 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 09:42:31 +00:00
Yegor Kozlov
db284964ab more progress with support for charts in XSSF, see patch 51196
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148642 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 08:03:23 +00:00
Nick Burch
2a1dc583b6 Fix a 1.6-ism - TreeMap.firstEntry
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148056 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 21:23:32 +00:00
Yegor Kozlov
5d0668da8d support for hyperlinks in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145629 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 15:18:29 +00:00
Nick Burch
ee866292d9 Fix bug #51469 - XSSF support for row styles, to match existing HSSF functionality
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144348 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:58:08 +00:00
Nick Burch
7f5bd44d98 Patch from bug #51486 from Mike McEuen (with a few whitespace tweaks) - XWPF support for adding footnotes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144308 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 13:25:00 +00:00
Nick Burch
361fe3eb42 XWPF Numbering tests from bug #51134
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144303 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 13:12:53 +00:00
Nick Burch
a9dbb3be09 Fix bug #51474 - SXSSF handling for null strings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143059 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 13:42:08 +00:00
Maxim Valyanskiy
12356f3d9d XSLFCommonSlideData: Workaround for XmlBeans bug#49934
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141915 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 12:21:05 +00:00
Yegor Kozlov
9930e7099f added Workbook.getForceFormulaRecalculation as requested in Bug 51422
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141585 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 15:54:04 +00:00
Yegor Kozlov
793d119eed Bug 51444 - Prevent corrupted output when saving files created by LibreOffice 3.3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141576 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 15:39:47 +00:00
Yegor Kozlov
19a6ad2abd Bug 51422 - Support using RecalcIdRecord to trigger a full formula recalculation on load
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1140210 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 15:40:48 +00:00
Yegor Kozlov
af650e26a0 Bug 51431 - Avoid IndexOutOfBoundException when removing freeze panes in XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139533 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 12:19:49 +00:00
Yegor Kozlov
e4cd5a5b00 cleanup sxxsf temp files after tests, remove non-ascii characters from source code, polished test output
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139518 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 10:56:46 +00:00
Yegor Kozlov
f51b59e51e Bug 48877 - Fixed XSSFRichTextString to respect leading and trailing line breaks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139505 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 08:45:49 +00:00
Yegor Kozlov
14d4f183aa Bug 49564 - Fixed default behaviour of XSSFCellStyle.getLocked()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139288 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 13:06:04 +00:00
Yegor Kozlov
55fc57347a Bug 48314 - Fixed setting column and row breaks in XSSF, also updated javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139266 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 12:15:16 +00:00
Yegor Kozlov
abe5618b5d Bug 51415 - Fixed Workbook.createSheet(sheetName) to truncate names longer than 31 characters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138819 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 10:49:11 +00:00
Maxim Valyanskiy
1a2aa76ff6 Test for parsing document with drawings to prevent NoClassDefFoundError for CTAnchor in XWPFRun
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138440 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 12:46:42 +00:00
Yegor Kozlov
02c3df2e5f Bug 48408: Improved documentation for Sheet.setColumnWidth
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1137656 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 15:16:46 +00:00
Yegor Kozlov
8a61200434 improved autosizing columns in SXSSF, see Bug 51356
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1137138 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 08:39:03 +00:00
Yegor Kozlov
67206e5450 Bug 50681 - Fixed autosizing columns beyond 255 character limit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1136330 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 08:57:55 +00:00
Yegor Kozlov
ffc5d68b12 Bug 51374 - Fixed incorrect setting of lastPrinted OOXML core property
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135997 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 11:15:40 +00:00
Yegor Kozlov
48a5868947 Bug 50458: Fixed missing shapeId in XSSF drawings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135103 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 11:56:21 +00:00
Yegor Kozlov
7351a3794c Bugzilla 51356: Support autoSizeColumn in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1134721 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 18:17:15 +00:00
Yegor Kozlov
f21ff28e93 continue SXSSF docs updates and polishing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1133782 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 10:38:31 +00:00
Yegor Kozlov
80b8854662 fixed missing licence header
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1133757 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 09:49:33 +00:00
Yegor Kozlov
93c599be72 SXSSF documentation and polishing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1133372 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 12:38:07 +00:00
Yegor Kozlov
b4e9826af9 Bug 51196: more progress with Spreadsheet Chart API
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1132553 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 09:02:08 +00:00
Yegor Kozlov
866a7bf272 cleaned javadocs warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1132549 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 08:45:06 +00:00
Nick Burch
2edbaa0683 Fix 1.6ism
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1131327 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 06:40:28 +00:00
Yegor Kozlov
8a6c4d97ff reverted a file mistakenly added in r1130120
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1130123 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 12:13:16 +00:00
Yegor Kozlov
7c8f56ce1c bug 51265: Enhanced Handling of Picture Parts in XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1130120 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 12:07:16 +00:00
Yegor Kozlov
034f4c5cf5 Bug 51098 - Error in calculating image width/height, if image fits into one cell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128422 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 18:46:04 +00:00
Nick Burch
481a325c45 Fix bug #47147 - XWPF table cells adding extra paragraph - test from Stefan Stern
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128331 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 14:48:22 +00:00
Nick Burch
a3206374e5 Few XSLF tweaks, and add a unit test that shows that bug #51187 exists (problem with self references)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128324 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 14:35:44 +00:00
Nick Burch
8f3c468ea9 Fix bug #51188 - Support for getting and setting XPWF zoom settings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128312 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 14:00:44 +00:00
Nick Burch
0f9646d55d Add unit test from Stefan for bug #51172 - DOCX gif support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128301 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 13:36:00 +00:00
Nick Burch
e21fd13a56 Apply patch from bug #51134 from Mike McEuen - Ability to add XWPFStyles and XWPFNumbering to a XWPF file that lacks them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128296 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 13:26:02 +00:00
Nick Burch
ab6caf7f49 Hopefully fix bug #51236 - make the xssf colour black/white 3 rgb fix apply for set as well as get
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1126696 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 19:55:00 +00:00
Nick Burch
a657b06e30 Test that shows that bug #51222 is a themes colour problem
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1125559 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 20:46:55 +00:00
Yegor Kozlov
0d3bce27a2 Bugzilla 51196: Initial support for Spreadsheet Chart API
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1125275 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 08:22:53 +00:00
Yegor Kozlov
f90fcee530 improved test coverage for SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124698 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 12:00:10 +00:00
Nick Burch
4f62006ae3 Put more details in the error message for next time
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124622 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 09:16:48 +00:00
Maxim Valyanskiy
209a45ee66 FakeZipEntry: pre-allocate ByteArrayOutputStream when zip entry size is known to prevent reallocation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124179 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 10:38:08 +00:00
Yegor Kozlov
2cf314de68 initial support for SXSSF tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124177 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 10:37:31 +00:00
Yegor Kozlov
66ae801d20 fixed resizing pictures in XSSF, see Bugzilla 51160
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124163 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 10:07:15 +00:00
Yegor Kozlov
339149dd5e Bugzilla 51160: Initial version of SXSSF, a low memory foortprint API to produce xlsx files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1104120 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 10:46:35 +00:00
Nick Burch
f09e137649 Autoboxing tweaks from bug #51175, and make the paragraph/table finding code generic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102691 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 12:22:24 +00:00
Nick Burch
333af414e0 Patch from Stefan from bug #51172 - XWPF .gif images support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1102668 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 11:06:18 +00:00
Nick Burch
5f671bd806 As Java doesn't allow static methods on interfaces, allow HSSFFormulaEvaluator or XSSFFormulaEvaluator to generically recalculate all formulas in a workbook
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1101033 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 14:04:21 +00:00
Nick Burch
c7c0e8c523 More testing around bug #48877
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1100122 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 07:58:35 +00:00
Nick Burch
361a5248dc Fix bug #51148 - XWPFDocument remove of tables/paragraphs now works correctly, and code is simplified
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1100027 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 02:14:48 +00:00
Nick Burch
59904e547d Re-enable the XWPF test for adding paragraphs, and fix it up to work properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1100022 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 01:43:16 +00:00
Nick Burch
268404a200 NPOIFS and OPC both support close(), so mark them as such
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1100013 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 01:19:21 +00:00
Nick Burch
1ecef7df9f Fix bug #51112 - Correct XWPFTable tracking of new rows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1098927 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 05:56:22 +00:00
Nick Burch
55f2bdb3bd Fix bug #51113 - Correct XWPFParagraph tracking of inserted runs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1098923 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 05:53:24 +00:00
Nick Burch
4453be821a Fix bug #51111 - Correct XWPFParagraph tracking of new runs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1098920 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 05:50:25 +00:00
Nick Burch
f86929bd0c Fix bug #50956 - Correct XSSF cell style cloning between workbooks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1095695 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 13:22:18 +00:00
Nick Burch
0677f40542 Add get/setForceFormulaRecalculation for XSSF, and promote the methods to the common usermodel Sheet, using sheetCalcPr fullCalcOnLoad="true"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1095667 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 11:52:52 +00:00
Nick Burch
de892d4666 Add support for adding a picture to a XSSFRun
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1092755 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 16:16:09 +00:00
Nick Burch
1e19690e18 Add unit test for bug #51037, which seems to be working fine
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1092423 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 18:06:23 +00:00
Nick Burch
5df80fe7ac Rename/Move xssf.model.Table to xssf.usermodel.XSSFTable as it now has usermodel-like features
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1092286 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 14:32:49 +00:00
Nick Burch
b3fee7f7e6 Fix bug #51061 - Correct target URI for new XSSF Tables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1092281 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 14:29:04 +00:00
Maxim Valyanskiy
ade6735c43 XSSF: reduce memory usage by specifing default namespace for string keys in SharedStringsTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1092089 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 10:05:04 +00:00
Nick Burch
968b5c4533 Add a disabled test for bug #46662, which seems to be a SharedStringsTable / xmlbeans issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090792 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 12:49:48 +00:00
Nick Burch
09470f80ba Initial support for XSSF Charts. Provides easy access to the underlying CTChart object via the Sheet Drawing, but no high level interface onto the chart contents as yet.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090442 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 20:51:52 +00:00
Nick Burch
7ec533f37d Correct the fetching of Drawings from a XSSFChartSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090435 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 20:30:38 +00:00
Nick Burch
2dee92c68d Fix inconsistent indent
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090434 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 20:29:49 +00:00
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
8df8ecc4ec Add unit test showing that bug #50867 works fine
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1078065 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 17:31:52 +00:00
Nick Burch
d7e670842b Add unit test showing that bug #48877 no longer applies
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1078057 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 17:06:01 +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
faba225c7c Add a disabled unit test for bug #50784. We need to add support for XSSF Colours to pull details from their parent theme where there is one
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072027 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 15:45:59 +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
1c61709fdb Fix a couple more 1.6isms
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1069975 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 22:38:18 +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
23935eb2a5 Fix bug #49928 for HSSF too - refactor HSSFDataFormat to allow overriding of built in formats, and tweak the format unit tests to do the same check for HSSF and XSSF. Also corrects some builtin formats for new HSSFWorkbooks which were slightly off
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1061288 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 13:20:24 +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
039f4ccfa1 added a unit test for not reproducible bug #49156
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1044647 13f79535-47bb-0310-9956-ffa450edef68
2010-12-11 13:09:12 +00:00
Yegor Kozlov
97b07620de Added implementation for MROUND(), VAR() and VARP()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1044642 13f79535-47bb-0310-9956-ffa450edef68
2010-12-11 12:41:17 +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
Nick Burch
3b5f224ccb Add a few more little bits of formula unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1031077 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 16:55:36 +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
c8feb1b478 Add unit tests for the XWPF decorator classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999859 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 10:17:49 +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
Nick Burch
c1a78f0f01 Fix bug #47582 - XSSFCellStyle support for creating a style in one workbook based on a style from a different one
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999096 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 20:10:14 +00:00
Nick Burch
cbe4cd8b21 Fix bug #49765 - Fix XWPFDocument.addPicture so that it correctly sets up relationships
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@998960 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 15:43:07 +00:00
Nick Burch
78e6e00e2d Fix bug #49941 - Correctly handle space preservation of XSSFRichTextRuns when applying fonts to parts of the string
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997811 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 16:01:12 +00:00
Nick Burch
d791eb68a9 Add disabled, failing unit test for bug #49940
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997752 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 13:46:17 +00:00
Nick Burch
58d1404684 Various XWPF picture tweaks and more unit tests
Note that XWPFRun -> XWPFPicture currently only works with the full ooxml schemas file, and not with poi-ooxml-schemas, due to some sort of missing resources around the namespace switch


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997037 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 18:50:10 +00:00
Nick Burch
3f972827af Fix up imports to remove un-used ones
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996980 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 16:39:34 +00:00
Nick Burch
52d7f084be Correct XWPFRun detection of bold/italic in a paragraph with multiple runs of different styles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996976 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 16:32:02 +00:00
Nick Burch
6c8a90d054 Link XWPFPicture to XWPFRun, so that embedded pictures can be access from where they live in the text stream
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996927 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 14:52:35 +00:00
Nick Burch
7fad16fd1b XWPF paragraph improvements - Make XWPFParagraph make more use of XWPFRun, and less on internal StringBuffers. Also improve handling of Hyperlinks inside XWPFParagraph objects through XWPFHyperlinkRun
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996899 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 13:46:22 +00:00
Nick Burch
77f5742c75 Add a getBodyElements() method to XWPF IBody, to make access to embedded paragraphs and tables easier, and a few tidy-ups
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996849 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 11:34:33 +00:00
Nick Burch
bc37e5bf28 More XSLFRelation entries for common .pptx file parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996506 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 11:45:34 +00:00
Yegor Kozlov
0528306b33 fixed evaluation of shared formulas in XSSF, see Bugzilla 49872
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996265 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12 08:54:45 +00:00
Yegor Kozlov
1f6833c72d avoid corruption of XSSFWorkbook after removing all merged cells from sheet, see Bugzilla 49895
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996148 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 13:48:00 +00:00
Yegor Kozlov
442579c326 fixed inconsistent behaviour between HSSF and XSSF when creating consecutive names, see Bugzilla 49907
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@996136 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 12:45:59 +00:00
Nick Burch
65532c473a Remove 1.6isms which prevent compilation on Java 1.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995386 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 11:42:24 +00:00
Nick Burch
fc1980e939 Add getMimeType() method to HSSF/XSSF PictureData, alongside existing file extension
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@995360 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 09:28:04 +00:00
Yegor Kozlov
05593e6902 allow sheet names longer than 31 chars in XSSF, enforce name uniqueness on the first 31 chars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@993246 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 07:09:49 +00:00
Yegor Kozlov
d55edf3f78 improved API for hiding sheets, see Bugzilla 49878
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992772 13f79535-47bb-0310-9956-ffa450edef68
2010-09-05 12:53:07 +00:00
Yegor Kozlov
3744428426 fixed XSSFWorkbook.createSheet to throw exception if sheet name begins or ends with a single quote ('), see Bugzilla 49875
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992629 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 15:56:29 +00:00
Yegor Kozlov
c6219cadca fixed XSSFFormulaEvaluator to support blank cells, added BaseTestFormulaEvaluator - a common superclass for testing implementations of FormulaEvaluator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992620 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 15:03:48 +00:00
Yegor Kozlov
acd3101b82 change cell type to error when setting Double.NaN or Infinities, see Bugzilla 49761
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992591 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 12:33:09 +00:00
Yegor Kozlov
25ff8a5c80 ensure that CTNumPr is included in poi-ooxml-schemas.jar (Bugzilla 49833)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992574 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 10:05:38 +00:00
Yegor Kozlov
2a9019985f added ZipFileAssert, this file was in the original OpenXML4J package but wasn't included in POI-3.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992551 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 06:33:22 +00:00
Yegor Kozlov
5df572a3b6 fixed evaluation of XSSF workbooks containing formulas with reference errors (#REF!), see Bugzilla 49783
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@989100 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 13:29:55 +00:00
Yegor Kozlov
74c34444a8 support for protecting a XSSF workbook, see Bugzilla #48900
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@986649 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 12:49:05 +00:00
Nick Burch
8738b8858b Remove svn:executable property from a series of files that didn't need it set
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@983630 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 13:12:52 +00:00
Yegor Kozlov
75656c36d9 initial support for excel auto-filters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@983382 13f79535-47bb-0310-9956-ffa450edef68
2010-08-08 11:11:38 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
0f1f7d1d48 fixed compatibility issues with OpenOffice 3.0 and Excel 2008 Mac sp2, see Bugzilla #46419 and #47559
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@797350 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 07:29:22 +00:00
Paolo Mottadelli
15e434d684 POIXMLproperties: created, creator, modified, lastprinted, identifier, revision + test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@796239 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 10:23:05 +00:00
Paolo Mottadelli
76752c5db7 POIXMLproperties: core properties improvement + test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@795923 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 17:10:43 +00:00
Yegor Kozlov
9196f6e6dd Fix for saving custom and extended OOXML properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@795587 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 18:26:36 +00:00
Yegor Kozlov
656114c69a Support for extraction of endnotes from docx files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@795329 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 09:28:38 +00:00
Yegor Kozlov
fa31a65d14 Support for extraction of footnotes from docx files, see Bugzilla 45556
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@795328 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 09:09:59 +00:00
Yegor Kozlov
3304fa1887 Fixed ExtractorFactory to support .xltx and .dotx files, see Bugzilla 47517
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@795327 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 09:09:11 +00:00
Yegor Kozlov
0662f7e862 fixed case-sensitive file names in unit tests for Bugzilla 47520
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@794621 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 10:44:01 +00:00
Yegor Kozlov
13898bc29c fixed a compile error in TestMapInfo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@794563 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 07:27:12 +00:00
Yegor Kozlov
8a3095d0b6 support for custom XML mappings in XSSF, see Bugzilla 47520
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@794539 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 05:46:14 +00:00
Yegor Kozlov
9424d59da3 Fixed NPE when retrieving core properties from a newly created workbook, see Bugzilla 47460
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@793291 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 08:21:09 +00:00
Yegor Kozlov
26f18ed27a fixed XSSF and OpenXml4J to read/write relationships with targets starting with '#' (internal locations), see Bugzilla 47504
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@793280 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 07:18:42 +00:00
Yegor Kozlov
efc5431030 Explicitly set the 1900 date system when creating XSSF workbooks, see Bugzilla 47411
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@788956 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 11:21:26 +00:00
Yegor Kozlov
e1ff96d77d fixed a regression issue where HSSFHyperlink failed to set inter-sheet and file links, see Bugzilla #47375
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@786442 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 10:37:24 +00:00
Josh Micich
3089c2e30f Removed static void main(String[]) methods from junit classes. Other minor clean-up.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@784284 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 21:53:17 +00:00
Yegor Kozlov
af23e1554d Fixed XSSFWorkbook#setRepeatingRowsAndColumns to tolerate sheet names with quotes, see bugzilla #47294
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@783445 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 18:44:53 +00:00
Yegor Kozlov
15a46deae0 Fixed XSSFCell to avoid generating xsi:nil entries in shared string table
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@780228 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 10:37:08 +00:00
Yegor Kozlov
a9b8aa1be6 Fixed XSSFCell to properly read inline strings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@777834 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 08:20:55 +00:00
Josh Micich
5fb78707f7 Changed CRLF to LF in ooxml/testcases. Minor fixes for compiler warnings and formatting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@776905 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 00:55:56 +00:00
Josh Micich
7b5b57423f Changed CRLF to LF in ooxml/java. Minor fixes for compiler warnings and formatting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@776607 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 08:02:35 +00:00
Josh Micich
b924e3f4c8 Removed badly encoded character from test class. Minor re-formatting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@776041 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 18:32:43 +00:00
Nick Burch
8cfca324f1 Tweaked patch from bug #46287 - Control of header and footer extraction in ExcelExtractor / XSSFExcelExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@775738 13f79535-47bb-0310-9956-ffa450edef68
2009-05-17 18:49:29 +00:00
Nick Burch
3b5ec46a13 Apply (with tweaks) patch from bug #46161 - xssf support for setGroupColumnCollapsed() setGroupRowCollapsed()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@775731 13f79535-47bb-0310-9956-ffa450edef68
2009-05-17 18:32:55 +00:00
Yegor Kozlov
c444cd27e9 Allow columns greater than 255 and rows greater than 0x100000 in XSSF formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@775701 13f79535-47bb-0310-9956-ffa450edef68
2009-05-17 16:35:25 +00:00
Yegor Kozlov
a08f4d02c2 fixed XSSFWorkbook.createSheet to properly increment sheetId when sheetId sequence is not continious
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@768389 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 18:25:19 +00:00
Yegor Kozlov
5ed977001d Fixed XSLFPowerPointExtractor to properly process line breaks, see bugzilla 46568
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@766775 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 18:04:37 +00:00
Yegor Kozlov
fe50c3f15c moved 'throw' into else clause avoiding exception on every call of cloneStyleFrom, see bugzilla 47054
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@766755 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 16:58:29 +00:00
Yegor Kozlov
a5afdd38d2 avoid NPE when calling XSSF.setCellFormula(null) for a non-formula cell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@766750 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 16:50:05 +00:00
Yegor Kozlov
62b0595b83 Allow 255 arguments for excel functions in XSSF, see bugzilla 46279
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@766251 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 07:12:38 +00:00
Yegor Kozlov
ecb76070a9 Fixed XSSFCell to preserve cell style when cell value is set to blank, also avoid NPE in XSSFCell.setCellType() when workbook does not have SST, see bugs 47026 and 47028
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@766103 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 18:02:01 +00:00
Yegor Kozlov
1e40b052a3 removed deprecated code to keep javac happy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@766102 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 17:59:01 +00:00
Josh Micich
10ee56f313 added Workbook.getName(String) method. Fixed javadoc on related methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@765751 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 20:34:13 +00:00
Josh Micich
344e422785 Improvements to Test[HX]SSFCell. Small fix to XSSFCell to get one more common test working.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@764225 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 17:53:39 +00:00
Yegor Kozlov
050f386bba removed unused imports of deprecated classes, fixed javadoc errors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@764203 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 14:15:27 +00:00
Yegor Kozlov
bb1ce91342 moved common interfaces from src/ooxml/interfaces-jdk15 to src/java, they do belong there
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@763332 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 17:51:33 +00:00
Josh Micich
60fd0a0fae Bugzilla 46973 - fixed defined names to behave better when refersToFormula is unset
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@762479 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 19:57:21 +00:00
Yegor Kozlov
6ceeb39a45 consolidate limits specific to Excel version(Excel97, Excel2007) in SpreadsheetVersion enum, allow merged regions with columns greater than 255 or rows bigger than 65536 in XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@762372 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 15:06:23 +00:00
Yegor Kozlov
51d71180ab more refactoring of common ss tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@759714 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 16:10:40 +00:00
Yegor Kozlov
52ab464cab improved test cases: moved common hssf-xssf test to org.apache.poi.ss namespace, removed duplicate tests, refactored code to throw same exceptions, etc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@759112 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 11:50:52 +00:00
Yegor Kozlov
5b0329873a update cell type when setting cached formula result in XSSFCell, also improved common xssf-hssf tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@757198 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 15:12:11 +00:00
Yegor Kozlov
83dad280d8 added modifiers for anchor type to XSSFClientAnchor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@756965 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 16:28:26 +00:00
Josh Micich
67196db87e Renamed Package (in org.apache.poi.openxml4j.opc) to OPCPackage so as to avoid clash with java.lang.Package (see bugzilla 46859)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@755699 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 18:54:01 +00:00
Yegor Kozlov
e4d94add7f support built-in data formats in XSSFDataFormat
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@749054 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 16:24:40 +00:00
Yegor Kozlov
1dfecf377c improved shifting of sheet-level names, also fixed an incorrect Bugzilla number in status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@748064 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 09:10:35 +00:00
Yegor Kozlov
b93d8e4ff7 fixed bug #46715 - Column width from original xlsx file is discarded
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@747895 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 19:12:53 +00:00
Yegor Kozlov
bebc51def9 more improvements in shiftRows: 1. shift named ranges and merged regions, JUnit added. 2. fixed shiftRows in XSSF to preserve row heights, see bugzilla 46719.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@747894 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 19:12:06 +00:00
Yegor Kozlov
4862f72197 added setDisplayZeros / isDisplayZeros and getMergedRegion(int) to common interface org.apache.poi.ss.usermodel.Sheet; more progress on testing common xssf-hssf interfaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@747307 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 08:38:16 +00:00
Josh Micich
3969100aa9 Attempt to fix GUMP build error due to case mismatch on package part 'INPUT' (doesn't happen on all platforms). In addition svn+win has difficulties with case-sensitive renames. 'INPUT' was renamed to 'data' for consistency with rest of POI.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@747182 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 22:49:07 +00:00
Yegor Kozlov
128afe08bb fixed platform-dependent unit test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@746746 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 16:08:06 +00:00
Yegor Kozlov
bd27fe48ad replaced log4j with POILogger in openxml4j, also converted non-ascii characters into unicode to keep javadoc quiet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@746241 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 13:53:32 +00:00
Josh Micich
3e6f2bbf80 Added Apache License text to files where it was missing. Also fixed some compiler warnings in those files.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@745976 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 19:50:20 +00:00
Yegor Kozlov
6fa67727ea fixed autoSizeColumn() to use cached formula values when processing formula cells, see bug #46736
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@745937 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 17:29:55 +00:00
Yegor Kozlov
cafbc76eb7 refactored XSSFSheet.shiftRows to use FormulaShifter, use a common test superclass for both hssf and xssf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@744750 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 20:47:36 +00:00
Josh Micich
521656d9c2 Bugzilla 46660 - added 'hidden' property to Workbook
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@744253 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 21:46:44 +00:00
Josh Micich
d784593fa8 Fixed WorkbookFactory.create(InputStream) to throw specific Exceptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@743934 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 23:48:12 +00:00
Josh Micich
aff4bd4023 added to-do comment
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@743932 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 23:43:30 +00:00
Yegor Kozlov
56d9c7a528 improved XSSFSheet.shiftRows: 1. properly update cell references of the shifted cells (bugzilla 4663) 2. When shifting rows, update formulas on that sheet to point to the new location of those rows (bugzilla 46536)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@742126 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 16:35:27 +00:00
Yegor Kozlov
1273d8e270 added suport for Calculation Chain in XSSF, remove reference from calculation chain when a formula is deleted (see bugzilla 46535)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@742077 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 12:45:55 +00:00
Yegor Kozlov
23cf469315 changed. Sheet.setColumnWidth to throw IllegalArgumentException if the column width argument is greater than 255 characters (the maximum column width in Excel)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@741678 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 18:59:24 +00:00
Josh Micich
e6472ffac4 Improvements to OpenXML4J unit tests. Fixed class names. Refactored code for opening test data files. Changed test output to go to temp dir.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@741002 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 05:07:23 +00:00
Yegor Kozlov
ef4b2ebc2e import OpenXML4j codebase
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@738842 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 12:44:31 +00:00
Josh Micich
7dad2164cd Fixing bug 46551 - spelling mistakes in xSSFCell.checkBounds(). Also fixed 0/1-based index error for cell range checks in XSSF.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@735061 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16 17:31:29 +00:00
Yegor Kozlov
7c6cfb0360 fixed unit test failing on jdk-1.6: java code should not rely on the order of HashMap.iterator()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@734971 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16 11:00:45 +00:00
Josh Micich
6e5d11066b Fixed "warning: unmappable character for encoding UTF8" (changed apostrophe char 213 to 39)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@734850 13f79535-47bb-0310-9956-ffa450edef68
2009-01-15 23:13:54 +00:00
Yegor Kozlov
e7c33d1d66 removed invalid import to keep java compiler quiet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@733474 13f79535-47bb-0310-9956-ffa450edef68
2009-01-11 13:59:44 +00:00
Nick Burch
ea421dab2b Support for reading HSSF column styles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@732112 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 20:49:02 +00:00
Nick Burch
ec521065e2 Hook up POIXMLTextExtractor.getMetadataTextExtractor() to the already written POIXMLPropertiesTextExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@732063 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 19:09:02 +00:00
Yegor Kozlov
177533e23b fixed formula parser to correctly resolve sheet-level names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@729028 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 16:19:07 +00:00