Commit Graph

8215 Commits

Author SHA1 Message Date
Dominik Stadler 1e8cba79ce Bug 60282: Update JavaDoc and use a common constant for TWIPS_PER_POINT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874966 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 08:28:17 +00:00
Dominik Stadler af4751b260 Update JavaDoc for logging and marshalling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874965 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 08:28:11 +00:00
Dominik Stadler 2776f18423 Fix incorrect handling of format which should not produce any digit for zero
Also include the internally computed format-string when the resulting format causes an exception

One other case with question marks is still not handled correctly, though

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874950 13f79535-47bb-0310-9956-ffa450edef68
2020-03-07 15:33:53 +00:00
Dominik Stadler cbf7275a0d Bug 64179: Adjust to ensure a fixed timezone for date parsing in test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874949 13f79535-47bb-0310-9956-ffa450edef68
2020-03-07 15:33:46 +00:00
Alain Béarez 850387f5cb Allow for numerical category in charts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874705 13f79535-47bb-0310-9956-ffa450edef68
2020-03-02 23:57:05 +00:00
Alain Béarez 2522a3bc89 Remove chart title when given text is null
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874704 13f79535-47bb-0310-9956-ffa450edef68
2020-03-02 23:57:01 +00:00
Andreas Beeker b04379bc4c #64186 - Decrease usage of ThreadLocals in XML Signature API
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874671 13f79535-47bb-0310-9956-ffa450edef68
2020-03-01 22:20:38 +00:00
Andreas Beeker 3691704678 Sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874530 13f79535-47bb-0310-9956-ffa450edef68
2020-02-25 21:27:07 +00:00
Andreas Beeker 100ea31fc1 Ignore IIOException "Can't create ..."
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874429 13f79535-47bb-0310-9956-ffa450edef68
2020-02-23 15:01:54 +00:00
Andreas Beeker 39ab347d99 Remove invalid agile certificate encryption
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874351 13f79535-47bb-0310-9956-ffa450edef68
2020-02-22 00:36:32 +00:00
Andreas Beeker 159ad62a47 fix IntelliJ warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874338 13f79535-47bb-0310-9956-ffa450edef68
2020-02-21 21:14:31 +00:00
Axel Howind fd4410d50b replace some calls to Collection methods with shorter/more effective versions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874263 13f79535-47bb-0310-9956-ffa450edef68
2020-02-20 16:27:19 +00:00
Axel Howind 842e71a3d7 use indexOf(char) instead of indexOf(String) where possible; replace one more StringBuffer with StringBuilder - bug 63805
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874262 13f79535-47bb-0310-9956-ffa450edef68
2020-02-20 15:51:17 +00:00
Axel Howind 09d55c7832 Applied "clean up IntList code" patch from bug 63805
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874257 13f79535-47bb-0310-9956-ffa450edef68
2020-02-20 15:04:57 +00:00
Andreas Beeker bc969fe4aa PPTX2PNG - fix SVG gradients
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874150 13f79535-47bb-0310-9956-ffa450edef68
2020-02-17 22:29:29 +00:00
Andreas Beeker 556347f3a8 PPTX2PNG - SVG export
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874065 13f79535-47bb-0310-9956-ffa450edef68
2020-02-15 22:21:30 +00:00
PJ Fanning 0f522cec66 bouncycastle 1.64
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874039 13f79535-47bb-0310-9956-ffa450edef68
2020-02-14 23:18:44 +00:00
Andreas Beeker e9c5c2b90e update references to 4.1.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873995 13f79535-47bb-0310-9956-ffa450edef68
2020-02-13 23:26:54 +00:00
Tim Allison 636cc83665 Bug 64130 -- handle empty worksheet names in OldSheetRecord more robustly.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873863 13f79535-47bb-0310-9956-ffa450edef68
2020-02-10 17:38:29 +00:00
Andreas Beeker 8803989321 Use indexed palette for duo tone pattern
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873516 13f79535-47bb-0310-9956-ffa450edef68
2020-02-03 00:25:52 +00:00
Andreas Beeker 33fd0b22d6 Regression findings - fix missing moveto exception
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873515 13f79535-47bb-0310-9956-ffa450edef68
2020-02-02 22:53:09 +00:00
Andreas Beeker d20e85387e XSLF Performance - use XmlCursor instead of XQuery expression - handle AlternateContent elements uniformly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873514 13f79535-47bb-0310-9956-ffa450edef68
2020-02-02 22:13:16 +00:00
Andreas Beeker 4a2273c370 XSLF Performance - don't initialize the JAXBContext every time
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873499 13f79535-47bb-0310-9956-ffa450edef68
2020-02-02 11:15:56 +00:00
Andreas Beeker 76d28cc22a omit bug63955-winmail.dat in no-scratchpad mode
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873495 13f79535-47bb-0310-9956-ffa450edef68
2020-02-02 07:30:50 +00:00
Andreas Beeker 5acb7d6c47 TextLayout.getAdvance() for " " returns 0 in some cases / JDKs, which caused an div by 0 -> Infinity problem
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873494 13f79535-47bb-0310-9956-ffa450edef68
2020-02-02 06:04:14 +00:00
Andreas Beeker 3fc8c1279c Try to fix release build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873440 13f79535-47bb-0310-9956-ffa450edef68
2020-01-31 20:38:35 +00:00
Andreas Beeker 3ef8aa6927 Local EMF test changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873430 13f79535-47bb-0310-9956-ffa450edef68
2020-01-31 18:45:39 +00:00
Dominik Stadler d3767e1de7 Improve some assertions and error messages for exceptions seen in the regression tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873385 13f79535-47bb-0310-9956-ffa450edef68
2020-01-30 21:09:17 +00:00
PJ Fanning 522ee9c554 [bug-64108] unsafe pipe character (
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873384 13f79535-47bb-0310-9956-ffa450edef68
2020-01-30 21:06:35 +00:00
Alain Béarez a3dfc463ed Invert bar chart if negative by Niklas Mollenhauer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873282 13f79535-47bb-0310-9956-ffa450edef68
2020-01-29 06:38:22 +00:00
Dominik Stadler 366c80c480 Handle empty files correctly when looking for FileMagic to avoid NegativeArraySizeException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873232 13f79535-47bb-0310-9956-ffa450edef68
2020-01-27 22:54:15 +00:00
Dominik Stadler 31eb7f9b06 Fix some IDE warnings, Sonar fixes and some missing closing of resources in unit-tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873231 13f79535-47bb-0310-9956-ffa450edef68
2020-01-27 22:54:03 +00:00
PJ Fanning d684fe1ebe fix NPE in test code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873225 13f79535-47bb-0310-9956-ffa450edef68
2020-01-27 18:29:43 +00:00
Andreas Beeker 22a9be8706 #64036 - Replace reflection calls in factories for Java 9+ - POIXMLDocument factories
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873190 13f79535-47bb-0310-9956-ffa450edef68
2020-01-27 00:31:01 +00:00
PJ Fanning 92deb8069d [bug-64098] XWPFRun: Whitespace in text not preserved if starting with tab character. Thanks to gjmathews
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873188 13f79535-47bb-0310-9956-ffa450edef68
2020-01-26 20:44:02 +00:00
Andreas Beeker 8202a34d69 #64036 - Replace reflection calls in factories for Java 9+ - Escher factories
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873187 13f79535-47bb-0310-9956-ffa450edef68
2020-01-26 19:50:40 +00:00
Andreas Beeker 563c29f8cf sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873078 13f79535-47bb-0310-9956-ffa450edef68
2020-01-23 22:48:19 +00:00
Andreas Beeker 01e30dcd8f Deactivate Forbidden apis check again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873047 13f79535-47bb-0310-9956-ffa450edef68
2020-01-22 21:43:14 +00:00
Andreas Beeker e46ad7452c Sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873015 13f79535-47bb-0310-9956-ffa450edef68
2020-01-21 22:02:10 +00:00
Andreas Beeker 88bbcee1c6 try to fix winmail errors in maven / sonar builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873001 13f79535-47bb-0310-9956-ffa450edef68
2020-01-21 00:06:32 +00:00
Andreas Beeker 0fb322bb92 #64088 - SlideShow rendering fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872984 13f79535-47bb-0310-9956-ffa450edef68
2020-01-19 20:44:36 +00:00
Dominik Stadler 5927fd37f2 Adjust JavaDoc for stream-based reading of large workbooks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872903 13f79535-47bb-0310-9956-ffa450edef68
2020-01-17 08:46:24 +00:00
Alain Béarez 1bcaa30bed Error bar minus and plus as numerical data sources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872692 13f79535-47bb-0310-9956-ffa450edef68
2020-01-13 00:27:06 +00:00
Alain Béarez 2ff9f0fbbf Implement error bars on scatter chart data series
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872691 13f79535-47bb-0310-9956-ffa450edef68
2020-01-13 00:27:03 +00:00
Alain Béarez 22dd38ef72 Implement error bars for bar and line charts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872690 13f79535-47bb-0310-9956-ffa450edef68
2020-01-13 00:26:59 +00:00
PJ Fanning b211a1362c use a few more lambdas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872644 13f79535-47bb-0310-9956-ffa450edef68
2020-01-12 11:04:21 +00:00
PJ Fanning aa11adebf1 try to fix some jdk 14 build issues due to java.lang.Record causing existing POI Record classes to be ambiguous
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872611 13f79535-47bb-0310-9956-ffa450edef68
2020-01-10 23:32:03 +00:00
PJ Fanning 2797d07486 try to fix some jdk 14 build issues due to java.lang.Record causing existing POI Record classes to be ambiguous
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872610 13f79535-47bb-0310-9956-ffa450edef68
2020-01-10 23:13:20 +00:00
PJ Fanning 9e7b0e899e reformat code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872568 13f79535-47bb-0310-9956-ffa450edef68
2020-01-09 21:24:31 +00:00
PJ Fanning b594ec2947 [bug-63998] Support commas, exclamation marks correctly in AreaReference. Thanks to hzwhuang
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872567 13f79535-47bb-0310-9956-ffa450edef68
2020-01-09 21:19:34 +00:00