Commit Graph

751 Commits

Author SHA1 Message Date
PJ Fanning 01208d5790 [bug-66661] revert github-269 due to it breaking formulas with table references
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910561 13f79535-47bb-0310-9956-ffa450edef68
2023-06-22 21:37:01 +00:00
PJ Fanning c3d8586079 bouncycastle 1.75
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910543 13f79535-47bb-0310-9956-ffa450edef68
2023-06-21 17:03:09 +00:00
PJ Fanning e30571e9ec fix test assertion
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910480 13f79535-47bb-0310-9956-ffa450edef68
2023-06-18 17:10:56 +00:00
PJ Fanning 3bf4276117 xddf test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910459 13f79535-47bb-0310-9956-ffa450edef68
2023-06-16 19:05:58 +00:00
PJ Fanning 5cafcdc83e [bug-66650] add chartex classes to poi-ooxml-full
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910433 13f79535-47bb-0310-9956-ffa450edef68
2023-06-15 20:05:33 +00:00
PJ Fanning 73fef78604 bouncycastle 1.74
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910429 13f79535-47bb-0310-9956-ffa450edef68
2023-06-15 15:35:39 +00:00
PJ Fanning 6943cc9a9c [GitHub-473] Add getCTSettings() to XWPFSettings. This closes #473
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910402 13f79535-47bb-0310-9956-ffa450edef68
2023-06-14 11:29:27 +00:00
Dominik Stadler 0dc3d6e479 Need to lower the min expected width after changes for bug 66632
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910309 13f79535-47bb-0310-9956-ffa450edef68
2023-06-08 15:54:50 +00:00
Dominik Stadler d3e35e740a Remove deprecation warnings reported with newer commons-io
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910300 13f79535-47bb-0310-9956-ffa450edef68
2023-06-08 08:53:08 +00:00
PJ Fanning 0ad5f6ac58 improve exception handling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910273 13f79535-47bb-0310-9956-ffa450edef68
2023-06-07 09:51:05 +00:00
PJ Fanning dfe5dd150c [bug-66612] get macrosheet xml (test)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909996 13f79535-47bb-0310-9956-ffa450edef68
2023-05-22 16:31:05 +00:00
PJ Fanning bc035b1aff [bug-66612] get macrosheet xml (test)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909995 13f79535-47bb-0310-9956-ffa450edef68
2023-05-22 16:08:48 +00:00
PJ Fanning b5153f1395 [bug-66612] get macrosheet xml (test)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909994 13f79535-47bb-0310-9956-ffa450edef68
2023-05-22 16:00:10 +00:00
PJ Fanning 2712abf00b add content types for macrosheets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909993 13f79535-47bb-0310-9956-ffa450edef68
2023-05-22 15:17:22 +00:00
PJ Fanning 60d5336f7c [bug-66607] perf issue processing array formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909934 13f79535-47bb-0310-9956-ffa450edef68
2023-05-19 13:09:15 +00:00
Dominik Stadler 720027879f Bug 66598: Fix invalid loop-condition when cleaning up CTCells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909808 13f79535-47bb-0310-9956-ffa450edef68
2023-05-14 07:47:16 +00:00
Dominik Stadler a647cc97e7 Fix a case in IdentifierManager.release(), reformat, add tests
The case when all are reserved was not handled properly

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909807 13f79535-47bb-0310-9956-ffa450edef68
2023-05-14 07:47:12 +00:00
PJ Fanning fe3b4645b7 [bug-66584] ensure ZipPackage closes input stream when exceptions happen
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909467 13f79535-47bb-0310-9956-ffa450edef68
2023-04-28 09:13:08 +00:00
PJ Fanning b88f3ac0ab spelling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909466 13f79535-47bb-0310-9956-ffa450edef68
2023-04-28 08:58:34 +00:00
PJ Fanning 56dc911402 bouncycastle 1.73
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909101 13f79535-47bb-0310-9956-ffa450edef68
2023-04-12 19:37:57 +00:00
PJ Fanning 2bf82a487f xmlsec 3.0.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908966 13f79535-47bb-0310-9956-ffa450edef68
2023-04-04 19:04:46 +00:00
Dominik Stadler c0484ce62d Add more information in exception when formula parsing fails
Use toString() instead of getClass() to include more information 
for some ValueEval implementations
When low-level parsing fails, the IllegalStateException does not 
contain any information, therefore wrap it and enrich it with
more information about the cell and the parsed formula

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908608 13f79535-47bb-0310-9956-ffa450edef68
2023-03-21 11:45:00 +00:00
PJ Fanning 9f0fe6139e fix test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908486 13f79535-47bb-0310-9956-ffa450edef68
2023-03-18 12:03:41 +00:00
PJ Fanning 2ae294e606 use 'its'
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908484 13f79535-47bb-0310-9956-ffa450edef68
2023-03-18 11:55:54 +00:00
PJ Fanning 27344ca661 use 'an'
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908483 13f79535-47bb-0310-9956-ffa450edef68
2023-03-18 11:35:26 +00:00
PJ Fanning 0275daa5de [bug-66532] more performant way to iterate over codepoints. Thanks to Matthias Raschhofer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908458 13f79535-47bb-0310-9956-ffa450edef68
2023-03-17 23:35:33 +00:00
PJ Fanning 7d67fa729e revert test change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908175 13f79535-47bb-0310-9956-ffa450edef68
2023-03-07 22:14:25 +00:00
PJ Fanning c8ef2e89ba byte-buddy 1.14.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908174 13f79535-47bb-0310-9956-ffa450edef68
2023-03-07 22:14:01 +00:00
PJ Fanning 1639f8b923 sxssf date style test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908173 13f79535-47bb-0310-9956-ffa450edef68
2023-03-07 22:03:58 +00:00
PJ Fanning 3ab6847bcc [bug-66485] poi-ooxml-full: generate classes for drawing/2012/chart schema
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907789 13f79535-47bb-0310-9956-ffa450edef68
2023-02-21 13:11:59 +00:00
PJ Fanning e431ec35c3 safety check on throwable catch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907656 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 15:12:18 +00:00
PJ Fanning adcf7bf533 add util code to rethrow fatal exceptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907645 13f79535-47bb-0310-9956-ffa450edef68
2023-02-14 13:51:52 +00:00
PJ Fanning 326126a365 provide way to clear the state on the ThreadLocal used byby ExtractorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907581 13f79535-47bb-0310-9956-ffa450edef68
2023-02-11 12:07:34 +00:00
PJ Fanning 28a26d9cb2 [bug-66475] SignatureConfig: remove ThreadLocals and deprecated code associated with them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907579 13f79535-47bb-0310-9956-ffa450edef68
2023-02-11 11:51:13 +00:00
PJ Fanning 46a1548f83 upgrade bouncycastle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907568 13f79535-47bb-0310-9956-ffa450edef68
2023-02-10 20:34:01 +00:00
Dominik Stadler 3eae53357d Avoid a file-handle leak in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907445 13f79535-47bb-0310-9956-ffa450edef68
2023-02-05 21:11:09 +00:00
Dominik Stadler 1ca2e638ed Bug 66436: Fix invalid handling of padded encrypted bytes
The encrypted data is padded to 16 bytes, but these additional bytes
were not read from the stream

Make the reading of the additional bytes "lenient" to not introduce
breaking change if some existing functionality did produce non-aligned
data for some reason.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907444 13f79535-47bb-0310-9956-ffa450edef68
2023-02-05 21:11:03 +00:00
PJ Fanning 43551babf1 [bug-65260] partial revert of recent changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907443 13f79535-47bb-0310-9956-ffa450edef68
2023-02-05 20:34:19 +00:00
PJ Fanning 7c372bd18c fix compile issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907309 13f79535-47bb-0310-9956-ffa450edef68
2023-02-04 15:28:04 +00:00
PJ Fanning 040181c42f [bug-65260] catch Throwable instead of error - see https://github.com/apache/poi/pull/425
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907308 13f79535-47bb-0310-9956-ffa450edef68
2023-02-04 15:10:32 +00:00
Dominik Stadler edc7f8fd6f Bug 54373: Include alpha/transparency value when creating an XSSFColor from an AWT Color object
Use the alpha-value from Color as well

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907106 13f79535-47bb-0310-9956-ffa450edef68
2023-01-30 12:19:31 +00:00
Dominik Stadler acdf2ec981 Bug 62272: Include alpha/transparency value when setting a color-value for a font
Use method with returns 4 bytes to use an ARGB value instead of only RGB

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907105 13f79535-47bb-0310-9956-ffa450edef68
2023-01-30 12:19:24 +00:00
PJ Fanning e6087ba6af don't create format pr instance for read events
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907079 13f79535-47bb-0310-9956-ffa450edef68
2023-01-29 17:15:41 +00:00
PJ Fanning 4944aa4c2e rework SXSSF groupRow and add test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907068 13f79535-47bb-0310-9956-ffa450edef68
2023-01-28 22:18:33 +00:00
PJ Fanning cde87ab3c6 edge case (avoid short overflow)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907066 13f79535-47bb-0310-9956-ffa450edef68
2023-01-28 20:44:26 +00:00
PJ Fanning 1cf4094e2d try to improve performance of XSSFSheet row/col grouping/ungrouping
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907065 13f79535-47bb-0310-9956-ffa450edef68
2023-01-28 20:13:33 +00:00
PJ Fanning edaeb54967 reorder xssf code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906981 13f79535-47bb-0310-9956-ffa450edef68
2023-01-24 15:01:38 +00:00
PJ Fanning 650f0e9276 remove incomplete test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906654 13f79535-47bb-0310-9956-ffa450edef68
2023-01-13 12:10:04 +00:00
PJ Fanning a00cc9ff2b byte-buddy 1.12.22
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906653 13f79535-47bb-0310-9956-ffa450edef68
2023-01-13 12:08:02 +00:00
Dominik Stadler 1ff1e84e4a Avoid some NullPointerException and ClassCastExceptions found when fuzzing Apache POI
This mostly only makes thrown runtime-exceptions a bit more consistent and
improves information in exceptions.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906360 13f79535-47bb-0310-9956-ffa450edef68
2023-01-03 19:52:03 +00:00
Dominik Stadler 5724a77cf2 Avoid some NullPointerExceptions and ClassCastExceptions found when fuzzing Apache POI
This mostly only makes thrown exceptions a bit more consistent
or may allow some broken documents to be still read.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906322 13f79535-47bb-0310-9956-ffa450edef68
2023-01-01 15:59:32 +00:00
Dominik Stadler 83bb4b4da5 Rename method for color from "RBG" to "RGB"
It's a protected method that is not intended to be used
outside anyway.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906276 13f79535-47bb-0310-9956-ffa450edef68
2022-12-30 08:11:38 +00:00
PJ Fanning 37994bf3e2 [github-409] Textruns not honouring highlight. Thans to gffloodg. This closes #409
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906248 13f79535-47bb-0310-9956-ffa450edef68
2022-12-28 17:45:21 +00:00
PJ Fanning 1def0cba38 [bug-66397] update temp file code. Thanks to lsq27.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906238 13f79535-47bb-0310-9956-ffa450edef68
2022-12-28 08:08:09 +00:00
PJ Fanning 78516f50dc try to get rid of cached module-info classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906232 13f79535-47bb-0310-9956-ffa450edef68
2022-12-27 18:45:15 +00:00
Bida Fan 98d51e4139 Fix when bodyElements contain sdt, the inserted element is in the wrong position
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906225 13f79535-47bb-0310-9956-ffa450edef68
2022-12-27 07:49:35 +00:00
Dominik Stadler 3ef2c45101 Bug 65260: Fix how we ignore errors when fonts are not installed
The implementation via bug 66230 was not fully working due to the
caught exception.
Also add this to the 2nd constructor as well.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906218 13f79535-47bb-0310-9956-ffa450edef68
2022-12-26 16:15:44 +00:00
PJ Fanning 7807b706ac [github-408] Increase performance of StylesTable.putStyle. Thanks to Jason Mirra. This closes #408
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906152 13f79535-47bb-0310-9956-ffa450edef68
2022-12-21 22:30:32 +00:00
PJ Fanning 5a6df66b07 untidy hack for shared string counts that are higher than Integer.MAX_VALUE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905940 13f79535-47bb-0310-9956-ffa450edef68
2022-12-12 18:43:44 +00:00
PJ Fanning fdffe5f66d untidy hack for shared string counts that are higher than Integer.MAX_VALUE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905939 13f79535-47bb-0310-9956-ffa450edef68
2022-12-12 18:20:21 +00:00
PJ Fanning 1b4e8ba77b remove unnecessary short casts for getCellStyleAt
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905938 13f79535-47bb-0310-9956-ffa450edef68
2022-12-12 18:14:49 +00:00
PJ Fanning 7454a722f0 try to speed up SXSSFCell getColumnIndex
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905937 13f79535-47bb-0310-9956-ffa450edef68
2022-12-12 17:58:50 +00:00
PJ Fanning 4d0a627fb9 small optimisation on getCellStyle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905936 13f79535-47bb-0310-9956-ffa450edef68
2022-12-12 17:36:51 +00:00
PJ Fanning 624f834310 [github-404] issue with text runs and styling relating to table cells. Thanks to gffloodg. This closes #404
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905933 13f79535-47bb-0310-9956-ffa450edef68
2022-12-12 15:18:35 +00:00
PJ Fanning f8fd8eb2e3 [bug-66365] add test for EventBasedExcelExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905577 13f79535-47bb-0310-9956-ffa450edef68
2022-11-28 17:59:02 +00:00
PJ Fanning 185020b538 possible issue when streaming xssf cells with formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905575 13f79535-47bb-0310-9956-ffa450edef68
2022-11-28 14:30:15 +00:00
PJ Fanning 4b911496eb [bug-66365] add test for XSSFExcelExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905574 13f79535-47bb-0310-9956-ffa450edef68
2022-11-28 14:23:16 +00:00
PJ Fanning c8f4cbd20b [bug-66365] update XSSFExcelExtractor to better handle formula cells with cached results of string type
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905572 13f79535-47bb-0310-9956-ffa450edef68
2022-11-28 14:14:09 +00:00
PJ Fanning efc032babc [bug-66365] rework XSSFCell getRichStringCellValue and getStringCellValue to better support array formula results. Thanks to Espen Amble Kolstad.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905571 13f79535-47bb-0310-9956-ffa450edef68
2022-11-28 13:05:45 +00:00
PJ Fanning bac21cc1a6 javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905445 13f79535-47bb-0310-9956-ffa450edef68
2022-11-21 20:22:40 +00:00
PJ Fanning a1919c33cf [bug-66347] add read test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905374 13f79535-47bb-0310-9956-ffa450edef68
2022-11-18 10:09:51 +00:00
PJ Fanning 09126e404c [bug-66347] add XWPFTheme support to XWPFDocument. Thanks to Stephan Schwiebert.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905344 13f79535-47bb-0310-9956-ffa450edef68
2022-11-16 22:10:18 +00:00
Dominik Stadler 56d47448ce Adjust tests, comments, JavaDoc, IDE suggestions
Add more output for a flaky test which sometimes fails on very slow hardware

Shutdown in tests gracefully
Otherwise an NPE may "hide" a test-failure

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905273 13f79535-47bb-0310-9956-ffa450edef68
2022-11-13 19:22:13 +00:00
PJ Fanning 4c3a0b4e93 [github-389] Insert paragraphs and tables into XWPFDocuments recursively. Thanks to Anton Oellerer. This closes #389
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904680 13f79535-47bb-0310-9956-ffa450edef68
2022-10-18 11:49:34 +00:00
PJ Fanning ba1e8de446 [bug-66312] partial fix for insertNewParagraph(XmlCursor cursor)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904563 13f79535-47bb-0310-9956-ffa450edef68
2022-10-13 10:38:31 +00:00
PJ Fanning ce7c1c92da [bug-66306] make XSLFDiagramGroupShape public
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904555 13f79535-47bb-0310-9956-ffa450edef68
2022-10-13 01:38:37 +00:00
PJ Fanning 8c7db40f81 javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904462 13f79535-47bb-0310-9956-ffa450edef68
2022-10-08 17:55:25 +00:00
PJ Fanning 47e49a3a16 pptx test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904334 13f79535-47bb-0310-9956-ffa450edef68
2022-09-29 10:53:01 +00:00
PJ Fanning acd5d04daa [bug-66278] Bug with multiple gradient stops at the exact same location causing a rendering failure (AWT -> not enough colors in gradient). Thanks to Gareth Floodgate. This closes #385
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904301 13f79535-47bb-0310-9956-ffa450edef68
2022-09-27 12:09:11 +00:00
PJ Fanning cf22264d70 [bug-66263] add test case to try to get extra classes into poi-ooxml-lite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904081 13f79535-47bb-0310-9956-ffa450edef68
2022-09-14 19:32:25 +00:00
PJ Fanning af6bc9660f [bug-66263] add test case to try to get extra classes into poi-ooxml-lite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904079 13f79535-47bb-0310-9956-ffa450edef68
2022-09-14 16:37:29 +00:00
PJ Fanning 6e7f6dad21 try to use IllegalStateException instead of RuntimeException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904065 13f79535-47bb-0310-9956-ffa450edef68
2022-09-14 09:54:24 +00:00
PJ Fanning be9d333493 try to use checked exceptions where APIs already support them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904063 13f79535-47bb-0310-9956-ffa450edef68
2022-09-14 09:18:58 +00:00
PJ Fanning 7235ff9036 try to use IllegalStateException instead of RuntimeException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904051 13f79535-47bb-0310-9956-ffa450edef68
2022-09-14 01:32:10 +00:00
PJ Fanning 34601b5377 some lgtm issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904048 13f79535-47bb-0310-9956-ffa450edef68
2022-09-13 23:38:12 +00:00
PJ Fanning cbe165a05a [bug-66257] javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903985 13f79535-47bb-0310-9956-ffa450edef68
2022-09-10 18:56:15 +00:00
PJ Fanning a6efe29bad [bug-66257] javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903974 13f79535-47bb-0310-9956-ffa450edef68
2022-09-10 14:59:34 +00:00
PJ Fanning 04df5191fc [bug-66257] add explicit POIXMLException when sheet package cannot be found
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903972 13f79535-47bb-0310-9956-ffa450edef68
2022-09-10 14:40:50 +00:00
PJ Fanning ee8781d7b5 extend tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903883 13f79535-47bb-0310-9956-ffa450edef68
2022-09-05 14:38:55 +00:00
PJ Fanning 9e36716056 extend test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903849 13f79535-47bb-0310-9956-ffa450edef68
2022-09-03 18:50:52 +00:00
PJ Fanning e485bf0b65 add CellUtil test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903837 13f79535-47bb-0310-9956-ffa450edef68
2022-09-02 22:54:03 +00:00
PJ Fanning ff2e90e9a5 rework CellUtil test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903836 13f79535-47bb-0310-9956-ffa450edef68
2022-09-02 22:40:21 +00:00
PJ Fanning dc12e93abb CellUtil: allow fill colors to be set to null
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903828 13f79535-47bb-0310-9956-ffa450edef68
2022-09-02 11:58:19 +00:00
PJ Fanning fe8c8eca89 bug-66052 fix broken test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903816 13f79535-47bb-0310-9956-ffa450edef68
2022-09-01 15:44:26 +00:00
PJ Fanning 0cdae64b9a bug-66052 add broken test (see comment 10)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903815 13f79535-47bb-0310-9956-ffa450edef68
2022-09-01 15:36:27 +00:00
PJ Fanning 402b02ca1f tidy up code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903788 13f79535-47bb-0310-9956-ffa450edef68
2022-08-31 10:09:13 +00:00
PJ Fanning 18d7711806 try to fix tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903784 13f79535-47bb-0310-9956-ffa450edef68
2022-08-31 00:38:12 +00:00
PJ Fanning a1cb1812dd broken test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903781 13f79535-47bb-0310-9956-ffa450edef68
2022-08-30 20:31:31 +00:00
PJ Fanning d00be6e7db [TIKA-3388] issue with non-ascii chars in file name of embedded OLE object
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903780 13f79535-47bb-0310-9956-ffa450edef68
2022-08-30 19:46:32 +00:00
PJ Fanning 4df0415621 test for TIKA-2163
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903777 13f79535-47bb-0310-9956-ffa450edef68
2022-08-30 11:44:27 +00:00
PJ Fanning 59f51987eb test for TIKA-2605
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903776 13f79535-47bb-0310-9956-ffa450edef68
2022-08-30 11:26:20 +00:00
PJ Fanning 30a0a4362a test for TIKA-3163
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903775 13f79535-47bb-0310-9956-ffa450edef68
2022-08-30 11:10:46 +00:00
PJ Fanning 60bc28c4a6 reuse code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903741 13f79535-47bb-0310-9956-ffa450edef68
2022-08-28 16:22:32 +00:00
PJ Fanning 25f00ba7c2 reuse code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903737 13f79535-47bb-0310-9956-ffa450edef68
2022-08-28 13:49:05 +00:00
PJ Fanning f6751ef514 reuse code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903734 13f79535-47bb-0310-9956-ffa450edef68
2022-08-28 13:13:56 +00:00
PJ Fanning 98565236dd reuse code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903733 13f79535-47bb-0310-9956-ffa450edef68
2022-08-28 13:12:31 +00:00
PJ Fanning 0edc08a358 build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903732 13f79535-47bb-0310-9956-ffa450edef68
2022-08-28 13:09:38 +00:00
PJ Fanning 2ffef9d249 [bug-63575] fix test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903731 13f79535-47bb-0310-9956-ffa450edef68
2022-08-28 12:51:17 +00:00
PJ Fanning 80f89a3674 [bug-63575] support capitalized text in XWPFWordExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903729 13f79535-47bb-0310-9956-ffa450edef68
2022-08-28 12:19:08 +00:00
PJ Fanning ab5cb372e5 do not rely on xml namespace prefixes - use the URIs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903728 13f79535-47bb-0310-9956-ffa450edef68
2022-08-28 12:01:53 +00:00
PJ Fanning 7fd339952b [bug-66242] Fix issue with orphaned (in package) images and notes post slide removal. Thanks to gffloodg. This closes #377
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903727 13f79535-47bb-0310-9956-ffa450edef68
2022-08-28 09:35:48 +00:00
PJ Fanning 5896c595e7 sonar issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903687 13f79535-47bb-0310-9956-ffa450edef68
2022-08-25 19:09:14 +00:00
PJ Fanning deffaacd0f sonar issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903686 13f79535-47bb-0310-9956-ffa450edef68
2022-08-25 18:52:27 +00:00
PJ Fanning 8d9d916ecd add test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903646 13f79535-47bb-0310-9956-ffa450edef68
2022-08-23 19:32:24 +00:00
PJ Fanning 95c799cfce [bug-65473] extra test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903574 13f79535-47bb-0310-9956-ffa450edef68
2022-08-19 13:14:00 +00:00
PJ Fanning f1692cc041 [bug-65473] when copy slide, new slide uses old textrun object reference. Thanks to FlyingPigQAQ. This closes #371
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903558 13f79535-47bb-0310-9956-ffa450edef68
2022-08-19 08:40:32 +00:00
PJ Fanning ceb6caa1d5 javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903549 13f79535-47bb-0310-9956-ffa450edef68
2022-08-19 01:13:04 +00:00
PJ Fanning 214fe205c4 [bug-66230] don't fail to create SXSSFSheet if auto size tracker can't be initialized
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903533 13f79535-47bb-0310-9956-ffa450edef68
2022-08-18 21:08:41 +00:00
PJ Fanning 6ed51c1db2 [bug-66230] don't fail to create SXSSFSheet if auto size tracker can't be initialized
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903529 13f79535-47bb-0310-9956-ffa450edef68
2022-08-18 17:40:22 +00:00
PJ Fanning 624b907c5d [bug-66215] try to improve logic for overlapping tables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903471 13f79535-47bb-0310-9956-ffa450edef68
2022-08-17 01:15:12 +00:00
PJ Fanning 9a616913b9 [bug-66215] try to fix formulas in tables after row/column shifting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903464 13f79535-47bb-0310-9956-ffa450edef68
2022-08-16 17:37:35 +00:00
PJ Fanning 74cc4ef32b [bug-66215] add test case (that shows we have issues and need fixes)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903459 13f79535-47bb-0310-9956-ffa450edef68
2022-08-16 13:14:57 +00:00
PJ Fanning 702e9c6958 [bug-66215] add test case (that shows we have issues and need fixes)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903458 13f79535-47bb-0310-9956-ffa450edef68
2022-08-16 13:12:45 +00:00
PJ Fanning 2343428015 [bug-66216] fix issue where pivotTable.getPivotCacheDefinition() returns null
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903445 13f79535-47bb-0310-9956-ffa450edef68
2022-08-15 23:01:50 +00:00
PJ Fanning 3184a18b40 [bug-66216] fix issue where pivotTable.getPivotCacheDefinition() returns null
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903442 13f79535-47bb-0310-9956-ffa450edef68
2022-08-15 19:20:13 +00:00
PJ Fanning ed67d48d96 [bug-66215] add test case (that shows we have issues and need fixes)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903440 13f79535-47bb-0310-9956-ffa450edef68
2022-08-15 18:40:25 +00:00
PJ Fanning 3a42bc3247 test that original slide is not modified
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903438 13f79535-47bb-0310-9956-ffa450edef68
2022-08-15 13:19:34 +00:00
PJ Fanning 0f45464494 [bug-66040] add apparently working test cases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903437 13f79535-47bb-0310-9956-ffa450edef68
2022-08-15 13:08:03 +00:00
PJ Fanning 7425aa0af3 [bug-66040] add apparently working test cases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903436 13f79535-47bb-0310-9956-ffa450edef68
2022-08-15 12:59:07 +00:00
PJ Fanning e8f53b3084 [bug-66213] hack clone table code to avoid failing with edge cases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903410 13f79535-47bb-0310-9956-ffa450edef68
2022-08-14 09:50:00 +00:00
PJ Fanning 711ab033f3 [bug-66213] hack clone table code to avoid failing with edge cases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903409 13f79535-47bb-0310-9956-ffa450edef68
2022-08-14 09:47:16 +00:00
PJ Fanning 6f6e1c4165 further issue with clone
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903400 13f79535-47bb-0310-9956-ffa450edef68
2022-08-13 20:05:34 +00:00
PJ Fanning 6d2853d9bd [bug-66213] hack clone table code to avoid failing with edge cases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903398 13f79535-47bb-0310-9956-ffa450edef68
2022-08-13 18:11:16 +00:00
PJ Fanning a38a5c3a0b [bug-66213] clone tables while cloning sheet. Thanks to Axel Richter.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903396 13f79535-47bb-0310-9956-ffa450edef68
2022-08-13 16:35:05 +00:00
PJ Fanning 62d8b8df57 [bug-66212] try to remove table part for table when removing table
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903395 13f79535-47bb-0310-9956-ffa450edef68
2022-08-13 16:11:03 +00:00
PJ Fanning 839594b73e [bug-66212] try to remove package part for table when removing table
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903394 13f79535-47bb-0310-9956-ffa450edef68
2022-08-13 15:32:03 +00:00
PJ Fanning 7301e841c7 [bug-66211] add test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903393 13f79535-47bb-0310-9956-ffa450edef68
2022-08-13 15:09:18 +00:00
PJ Fanning 5add4aa3d3 [bug-66211] don't validate the row XML when using XSSFTable.updateHeaders
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903390 13f79535-47bb-0310-9956-ffa450edef68
2022-08-13 14:33:16 +00:00
PJ Fanning eb5dca9a1e fix escaping in message
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903314 13f79535-47bb-0310-9956-ffa450edef68
2022-08-09 19:47:53 +00:00
PJ Fanning 59091db138 don't wrap exceptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903274 13f79535-47bb-0310-9956-ffa450edef68
2022-08-07 22:44:56 +00:00
PJ Fanning 0735103188 forbidden api check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903273 13f79535-47bb-0310-9956-ffa450edef68
2022-08-07 22:42:54 +00:00
PJ Fanning 72983be276 basic bubble chart support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903272 13f79535-47bb-0310-9956-ffa450edef68
2022-08-07 22:19:10 +00:00
PJ Fanning bbfd7b9ec8 [github-365] use lambdas. Thanks to Arturo Bernal. This closes #365
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903258 13f79535-47bb-0310-9956-ffa450edef68
2022-08-06 21:12:49 +00:00
PJ Fanning eaa27548fa [github-366] remove unnecessary local vars. Thanks to Arturo Bernal. This closes #366
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903257 13f79535-47bb-0310-9956-ffa450edef68
2022-08-06 21:06:50 +00:00
PJ Fanning 343b86c461 remove unused field
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903207 13f79535-47bb-0310-9956-ffa450edef68
2022-08-03 10:07:15 +00:00
PJ Fanning 633baa45eb [bug-66181] fix issue with evaluation of blank string in VALUE function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903171 13f79535-47bb-0310-9956-ffa450edef68
2022-08-01 16:06:59 +00:00
PJ Fanning f3a1d6ac92 [bug-66181] test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903170 13f79535-47bb-0310-9956-ffa450edef68
2022-08-01 15:57:58 +00:00
PJ Fanning 9e88957356 [bug-66187] issue with XWPFRun creating run properties unnecessarily
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903163 13f79535-47bb-0310-9956-ffa450edef68
2022-08-01 11:35:22 +00:00
PJ Fanning ee65a6655d update method name (has typo)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903161 13f79535-47bb-0310-9956-ffa450edef68
2022-08-01 11:16:19 +00:00
Dominik Stadler 3f0afe8fc7 Change test to make it work with JDK 19+
This way of mocking does not work any more with JDK 19+

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903111 13f79535-47bb-0310-9956-ffa450edef68
2022-07-29 18:27:49 +00:00