Commit Graph

2045 Commits

Author SHA1 Message Date
Tim Allison
b76bf26677 bug 60316 -- skip the glossary document, not the template document.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847263 13f79535-47bb-0310-9956-ffa450edef68
2018-11-23 13:32:22 +00:00
PJ Fanning
1c47fcb3e5 tidy up code formatting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847012 13f79535-47bb-0310-9956-ffa450edef68
2018-11-20 14:31:49 +00:00
PJ Fanning
f28629f10d [bug-62929] add null check for blip fill. Thanks to Mate Borcsok
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847004 13f79535-47bb-0310-9956-ffa450edef68
2018-11-20 14:15:14 +00:00
Andreas Beeker
d6cc11ed7a Remove/Minimize references to Scratchpad module from other modules
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846931 13f79535-47bb-0310-9956-ffa450edef68
2018-11-19 18:00:42 +00:00
PJ Fanning
6a198bf5f2 put back XSSFColor(java.awt.Color clr) constructor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846701 13f79535-47bb-0310-9956-ffa450edef68
2018-11-16 07:57:49 +00:00
PJ Fanning
6b7e322227 add testcase for https://bz.apache.org/bugzilla/show_bug.cgi?id=62906
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846489 13f79535-47bb-0310-9956-ffa450edef68
2018-11-13 08:20:47 +00:00
Andreas Beeker
0aa9b34d08 Bug 62872 - Writing large files with 800k rows gives java.io.IOException: This archive contains unclosed entries.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845629 13f79535-47bb-0310-9956-ffa450edef68
2018-11-02 22:59:58 +00:00
Tim Allison
1cd3f7b14e bug 60316 -- until we can implement it properly, gracefully skip the glossary document in XWPF.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845517 13f79535-47bb-0310-9956-ffa450edef68
2018-11-01 21:14:03 +00:00
Dominik Stadler
0cc8ec178f IDE warnings, tried to reproduce Bug 58927, but could not
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845434 13f79535-47bb-0310-9956-ffa450edef68
2018-11-01 10:29:54 +00:00
Tim Allison
ad52c65f70 bug 62859 -- fix two potential NPEs when initializing XWPFSDTContent
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844920 13f79535-47bb-0310-9956-ffa450edef68
2018-10-26 19:06:18 +00:00
Dominik Stadler
232616f44d Adjust sample for creating comments to also create a .xlsx file
Enhance workbook factory to allow to create new empty workbooks as well

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844881 13f79535-47bb-0310-9956-ffa450edef68
2018-10-26 09:32:57 +00:00
PJ Fanning
1f9a0caf2e fix class cast issur recently introduced in BaseXSSFFormulaEvaluator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844311 13f79535-47bb-0310-9956-ffa450edef68
2018-10-19 07:43:04 +00:00
Greg Woolsey
d24b4492f0 #62834 FormulaEvaluator.evaluateInCell() throws Exception
added cell type = formula check when looping through the shared formula range, to ignore any non-formula cells.

Also refactored a bit to enable passing in the evaluation context, as getCellFormula() uses it behind the scenes when evaluating a shared formula cell (has to shift the formula references based on the master cell).  Review of these changes is welcome, as always.

Checked all other code referencing the "SHARED" enum, and didn't see anything else that dealt with formula cell values and thus would need to notice non-formula cells.

Added unit test based on the failing file from Bugzilla.  Test failed until the fixed code was in place.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844295 13f79535-47bb-0310-9956-ffa450edef68
2018-10-19 01:11:47 +00:00
Tim Allison
fcbed10cfc 62815 -- some numeric values not correctly extracted from xlsb
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1843553 13f79535-47bb-0310-9956-ffa450edef68
2018-10-11 14:14:07 +00:00
Alain Béarez
ead92fbe9a fix most alerts reported by LGTM on OOXML
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1843481 13f79535-47bb-0310-9956-ffa450edef68
2018-10-10 17:49:53 +00:00
PJ Fanning
94168f60c6 [bug-62807] fix typo in XSLFTableCell#removeBorder
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1843180 13f79535-47bb-0310-9956-ffa450edef68
2018-10-08 18:38:19 +00:00
PJ Fanning
268c9230cd use jaxp transformer instead of dom serializer to try fix old-xerces test failure
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842974 13f79535-47bb-0310-9956-ffa450edef68
2018-10-05 19:52:24 +00:00
Alain Béarez
b326a5cd01 adding tricks from other answers on StackOverflow
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842959 13f79535-47bb-0310-9956-ffa450edef68
2018-10-05 18:07:55 +00:00
Alain Béarez
c66af5c21e example from StackOverflow question 47065690
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842925 13f79535-47bb-0310-9956-ffa450edef68
2018-10-05 14:36:18 +00:00
Alain Béarez
01b780666b more XDDF improvements based on SO examples
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842876 13f79535-47bb-0310-9956-ffa450edef68
2018-10-05 09:59:32 +00:00
PJ Fanning
01ad2f9d1a [bug-62800] Fix null pointer exception if a picture shape has no blip id
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842782 13f79535-47bb-0310-9956-ffa450edef68
2018-10-04 07:47:27 +00:00
Alain Béarez
5430141cfb XDDF improvements based on StackOverflow examples
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842728 13f79535-47bb-0310-9956-ffa450edef68
2018-10-03 14:32:34 +00:00
Alain Béarez
e88fc19ca4 change chart data to experiment diverse scripts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842687 13f79535-47bb-0310-9956-ffa450edef68
2018-10-03 08:20:50 +00:00
PJ Fanning
f3a1ed5a45 deprecate unused Nullable class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842684 13f79535-47bb-0310-9956-ffa450edef68
2018-10-03 07:42:33 +00:00
PJ Fanning
ef397c0158 rename xmlbeans job
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842663 13f79535-47bb-0310-9956-ffa450edef68
2018-10-02 22:24:09 +00:00
PJ Fanning
46b1833bfc [bug-62796] remove use of Stax Namespace class from PackagePropertiesMarshaller
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842647 13f79535-47bb-0310-9956-ffa450edef68
2018-10-02 19:16:00 +00:00
Alain Béarez
72d02f0c1c extract valuable code from 54470 submitted patch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842548 13f79535-47bb-0310-9956-ffa450edef68
2018-10-01 19:27:32 +00:00
PJ Fanning
11dee9b086 use StaxHelper to get event factory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842402 13f79535-47bb-0310-9956-ffa450edef68
2018-09-30 18:14:46 +00:00
PJ Fanning
00715c8d89 fix lgtm issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842218 13f79535-47bb-0310-9956-ffa450edef68
2018-09-28 07:48:29 +00:00
PJ Fanning
500c64e657 fix lgtm issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842216 13f79535-47bb-0310-9956-ffa450edef68
2018-09-28 07:33:59 +00:00
PJ Fanning
e505160716 make OPCPackage#close() unsynchronized and add javadoc note saying method is not thread-safe
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842171 13f79535-47bb-0310-9956-ffa450edef68
2018-09-27 21:22:24 +00:00
PJ Fanning
5c1a036de2 [bug-62768] synchronize OPCPackage#close()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842142 13f79535-47bb-0310-9956-ffa450edef68
2018-09-27 19:06:06 +00:00
PJ Fanning
19baa76652 [bug-62736] Relations on XSLFPictureShape are removed unconditionally. Thanks to Mate Borcsok
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842055 13f79535-47bb-0310-9956-ffa450edef68
2018-09-26 21:42:21 +00:00
Alain Béarez
e159d4e179 adapting some contributions by Axel Richter on SO
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1841988 13f79535-47bb-0310-9956-ffa450edef68
2018-09-26 00:30:33 +00:00
PJ Fanning
6af2173f93 fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1841987 13f79535-47bb-0310-9956-ffa450edef68
2018-09-25 22:36:36 +00:00
PJ Fanning
7c243f3d76 lgtm warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1841984 13f79535-47bb-0310-9956-ffa450edef68
2018-09-25 22:07:56 +00:00
PJ Fanning
f4aef7afca [bug-62747] bouncycastle 1.60
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1841394 13f79535-47bb-0310-9956-ffa450edef68
2018-09-19 21:49:55 +00:00
Greg Woolsey
891deb3967 Bug 62740 - XSSFTable constructor automatically assigns invalid (non-unique) column IDs
fix the logic and update the unit test to check for and catch the problem.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1841357 13f79535-47bb-0310-9956-ffa450edef68
2018-09-19 17:42:43 +00:00
PJ Fanning
74f788358a [bug-62733] XSLFBackground setFill() can corrupt the document
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1841240 13f79535-47bb-0310-9956-ffa450edef68
2018-09-18 16:55:29 +00:00
PJ Fanning
ff7fe79e19 [bug-62692] issue when using widlfy xml parser
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1840304 13f79535-47bb-0310-9956-ffa450edef68
2018-09-07 14:57:09 +00:00
Alain Béarez
5abdfcb0a6 import existing chart on current drawing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1840076 13f79535-47bb-0310-9956-ffa450edef68
2018-09-05 01:00:45 +00:00
Andreas Beeker
3c3f2a3fe3 sonar fixes - blocker
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839745 13f79535-47bb-0310-9956-ffa450edef68
2018-08-31 11:56:18 +00:00
Andreas Beeker
14335fd152 #62108 - ArrayIndexOfBounds exception when getColumnWidth()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839710 13f79535-47bb-0310-9956-ffa450edef68
2018-08-31 00:28:17 +00:00
Andreas Beeker
2044779351 #62649 - Remove OPOIFS* / rename NPOIFS* to POIFS*
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839709 13f79535-47bb-0310-9956-ffa450edef68
2018-08-31 00:25:50 +00:00
Alain Béarez
5b8f5a69db rebase XDDF text package
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839369 13f79535-47bb-0310-9956-ffa450edef68
2018-08-27 19:25:34 +00:00
Alain Béarez
85e2e8616d test integration of XDDF text entities
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839259 13f79535-47bb-0310-9956-ffa450edef68
2018-08-26 21:33:16 +00:00
Alain Béarez
0f9247a088 complete body properties with insets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839256 13f79535-47bb-0310-9956-ffa450edef68
2018-08-26 21:19:07 +00:00
Alain Béarez
05a2a922fa fill in the text body, its paragraphs and text runs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839255 13f79535-47bb-0310-9956-ffa450edef68
2018-08-26 21:18:54 +00:00
Alain Béarez
303cc5ddc5 add warning message to help reduce duplicates of bug 60102
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839252 13f79535-47bb-0310-9956-ffa450edef68
2018-08-26 21:15:38 +00:00
Andreas Beeker
e4bd5e838f #62649 - Remove OPOIFS
Fix HPSF UTF-8 encoding error with Bug52311.doc while refactoring CopyCompare/EntryUtils

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839201 13f79535-47bb-0310-9956-ffa450edef68
2018-08-26 11:55:00 +00:00