Commit Graph

9631 Commits

Author SHA1 Message Date
Andreas Beeker 17cc3bab08 #60656 - Support export file that contains emf and render it correctly
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hemf@1844380 13f79535-47bb-0310-9956-ffa450edef68
2018-10-19 22:53:33 +00:00
PJ Fanning 59ee53ca71 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 6b433ae8b3 #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
Yegor Kozlov 8bf556e856 Bug 62373: Support for FREQUENCY function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844238 13f79535-47bb-0310-9956-ffa450edef68
2018-10-18 13:46:04 +00:00
Nick Burch f490cd7c5d #62831 Fix WorkbookFactory.create with a subclass of File, eg from JFileChooser
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844116 13f79535-47bb-0310-9956-ffa450edef68
2018-10-17 14:24:59 +00:00
Nick Burch e95fc06929 Failing unit test for bug #62831
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844115 13f79535-47bb-0310-9956-ffa450edef68
2018-10-17 14:20:02 +00:00
Alain Béarez 444c8e9966 fix more LGTM alerts, in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1843557 13f79535-47bb-0310-9956-ffa450edef68
2018-10-11 14:50:27 +00:00
Tim Allison 870c1b2cf5 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 65b7c9e273 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
Andreas Beeker 6bc60e7881 merge trunk
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hemf@1843355 13f79535-47bb-0310-9956-ffa450edef68
2018-10-09 22:24:42 +00:00
Andreas Beeker fbdbfa3fd3 add ignored resources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1843354 13f79535-47bb-0310-9956-ffa450edef68
2018-10-09 22:18:55 +00:00
Andreas Beeker f927e551cc #60656 - Support export file that contains emf and render it correctly
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hemf@1843342 13f79535-47bb-0310-9956-ffa450edef68
2018-10-09 20:51:14 +00:00
Andreas Beeker 616f8127cf Bug 60713 - (S)XSSFWorkbook/POIXMLDocument.write(OutputStream) closes the OutputStream
regression - when reading the input from a zip stream

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hemf@1843341 13f79535-47bb-0310-9956-ffa450edef68
2018-10-09 20:47:31 +00:00
PJ Fanning e07b0284cf [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
Andreas Beeker 1f93a366f5 merge trunk
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hemf@1843032 13f79535-47bb-0310-9956-ffa450edef68
2018-10-06 19:33:27 +00:00
Andreas Beeker 2b12e29c92 #60656 - Support export file that contains emf and render it correctly
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hemf@1843025 13f79535-47bb-0310-9956-ffa450edef68
2018-10-06 18:23:59 +00:00
PJ Fanning ecc4485e27 add stax entries to forbidden apis due to android issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1843009 13f79535-47bb-0310-9956-ffa450edef68
2018-10-06 09:38:58 +00:00
PJ Fanning ac6a401fd8 small adjustments to byte sizes in TestPackage zip-bomb tests to try fix test that fails on old-xerces harness
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842980 13f79535-47bb-0310-9956-ffa450edef68
2018-10-05 20:17:39 +00:00
PJ Fanning 2172d63be9 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@1842979 13f79535-47bb-0310-9956-ffa450edef68
2018-10-05 20:09:45 +00:00
PJ Fanning 45bcbd9828 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 5821b3b32c 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 cffa31ed62 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 f446df6f66 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 621de405a6 [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 b8248ceb1b 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 3f7c643c74 fix lgtm alerts in examples
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842707 13f79535-47bb-0310-9956-ffa450edef68
2018-10-03 11:51:41 +00:00
Alain Béarez 28d561fc50 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 8a2b2f7fef 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 5b890cb228 change method to get XMLEventFactory due to issues seen on Android SDK
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842683 13f79535-47bb-0310-9956-ffa450edef68
2018-10-03 07:36:12 +00:00
PJ Fanning 09f441ca46 disable junit xml collection
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842668 13f79535-47bb-0310-9956-ffa450edef68
2018-10-02 22:47:57 +00:00
PJ Fanning b784a7bc7b get xmlbeans job to build dist artifacts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842667 13f79535-47bb-0310-9956-ffa450edef68
2018-10-02 22:43:09 +00:00
PJ Fanning 208bfc627b get xmlbeans job to build dist artifacts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842666 13f79535-47bb-0310-9956-ffa450edef68
2018-10-02 22:36:25 +00:00
PJ Fanning 95b00fda0b 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 63c25f927e [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
PJ Fanning 488a84d188 try to fix xmlbeans jenkins job
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842629 13f79535-47bb-0310-9956-ffa450edef68
2018-10-02 14:55:09 +00:00
PJ Fanning 5cc7c598e7 try to set up xmlbeans build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842599 13f79535-47bb-0310-9956-ffa450edef68
2018-10-02 08:15:41 +00:00
Alain Béarez 5199f75fe3 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 510947d666 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 874687c490 lgtm issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842302 13f79535-47bb-0310-9956-ffa450edef68
2018-09-29 09:33:52 +00:00
Dominik Stadler a070b90728 Jenkins DSL: Remove JDK 9 and adjust location of image for the project-logo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842275 13f79535-47bb-0310-9956-ffa450edef68
2018-09-28 17:43:07 +00:00
Dominik Stadler d2afc7ff27 Remove outdated comment for japicmp
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842274 13f79535-47bb-0310-9956-ffa450edef68
2018-09-28 17:43:02 +00:00
PJ Fanning 93af1ca43a 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 b3f0d80eb6 fix gradle build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842217 13f79535-47bb-0310-9956-ffa450edef68
2018-09-28 07:42:47 +00:00
PJ Fanning 08cfbcc90b 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 0746b23fc4 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 44e86832f2 [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
Andreas Beeker 93b7cb0bc7 #60656 - Support export file that contains emf and render it correctly
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hemf@1842059 13f79535-47bb-0310-9956-ffa450edef68
2018-09-26 22:51:03 +00:00
Andreas Beeker 312fde5bd0 #60656 - Support export file that contains emf and render it correctly
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hemf@1842056 13f79535-47bb-0310-9956-ffa450edef68
2018-09-26 22:16:33 +00:00
PJ Fanning 43c57c26c2 [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 9973fecad0 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