Commit Graph

10204 Commits

Author SHA1 Message Date
Andreas Beeker 50d52bf828 Add Java 15 job
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876407 13f79535-47bb-0310-9956-ffa450edef68
2020-04-11 23:16:18 +00:00
Alain Béarez a9ec119c40 Return and set paragraph indentation level
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876406 13f79535-47bb-0310-9956-ffa450edef68
2020-04-11 21:43:18 +00:00
Nick Burch 2b2631225d #64319 Tighten the scientific format code to avoid making eg TRUE into TRUE+, handle formats like 0E-0, and ensure formats like 0E0 work correctly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876396 13f79535-47bb-0310-9956-ffa450edef68
2020-04-11 15:36:27 +00:00
PJ Fanning 0ea6b0800d [bug-64327] bugfix in SXSSFSheet isColumnTrackedForAutoSizing for untracked. Thanks to Eugene Kortov. This closes #175
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876336 13f79535-47bb-0310-9956-ffa450edef68
2020-04-09 20:14:50 +00:00
PJ Fanning 84ba670e27 bouncycastle 1.64
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876280 13f79535-47bb-0310-9956-ffa450edef68
2020-04-08 08:29:15 +00:00
Nick Burch 2fb30f7892 Add disabled unit test for #64319
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876225 13f79535-47bb-0310-9956-ffa450edef68
2020-04-07 09:46:32 +00:00
Andreas Beeker 3a6ebecc6f ArrayUtil - remove unused method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876205 13f79535-47bb-0310-9956-ffa450edef68
2020-04-06 20:43:16 +00:00
Andreas Beeker 65ccec11cb Sonar fixes - String literals should not be duplicated
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876163 13f79535-47bb-0310-9956-ffa450edef68
2020-04-05 20:50:40 +00:00
Andreas Beeker d842136464 Sonar fixes - "static" base class members should not be accessed via derived types
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876159 13f79535-47bb-0310-9956-ffa450edef68
2020-04-05 18:55:46 +00:00
Andreas Beeker 074d68fedf Sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876157 13f79535-47bb-0310-9956-ffa450edef68
2020-04-05 16:23:21 +00:00
Dominik Stadler af890fba13 Ignore OOM test for now, somehow catching Exceptions does not work when run on Gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876143 13f79535-47bb-0310-9956-ffa450edef68
2020-04-05 05:52:12 +00:00
Andreas Beeker 0174c4df27 fixed typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876138 13f79535-47bb-0310-9956-ffa450edef68
2020-04-05 01:01:47 +00:00
Andreas Beeker 81400a3ee2 Bug 60656 - Emf image support in slideshows
- fixed WmfExtTextOut dx handling for variable text spacing
- fixed WmfExtTextOut text position for (0,0) references based on the current/last path location
- fixed WmfExtTextOut handling of symbol/wingdings charset (move ascii to unicode private area, because Java font loader maps the glyphs there) - and use existing workaround if the fonts aren't installed, i.e. use corresponding unicode characters of the logcial font then
- provide option in PPTX2PNG to use given file input type, if the file magic is unknown
- provide option in PPTX2PNG to render text as shapes in SVG, as dx handling (above) implemented via TextAttribute.TRACKING is not supported by batik 

source of the sample.wmf, which I've used:
https://stackoverflow.com/questions/58726194/svg-rendering-with-batik-produce-broken-image

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876136 13f79535-47bb-0310-9956-ffa450edef68
2020-04-05 00:42:08 +00:00
Andreas Beeker 1dc771394b Sonar Fixes - "static" base class members should not be accessed via derived types
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876067 13f79535-47bb-0310-9956-ffa450edef68
2020-04-02 23:54:48 +00:00
Andreas Beeker 3f7d718a67 Sonar Fixes - The diamond operator ("<>") should be used
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876064 13f79535-47bb-0310-9956-ffa450edef68
2020-04-02 22:37:45 +00:00
Andreas Beeker 24c4f94962 Sonar Fixes and remove obsolete classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876019 13f79535-47bb-0310-9956-ffa450edef68
2020-04-01 23:25:33 +00:00
Andreas Beeker efd9c7c277 #64301 - Allow try-with-resources with OPCPackage.revert()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876018 13f79535-47bb-0310-9956-ffa450edef68
2020-04-01 23:23:55 +00:00
Alain Béarez d383fea7bd Sonar Fixes - code smells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875979 13f79535-47bb-0310-9956-ffa450edef68
2020-04-01 01:40:57 +00:00
Alain Béarez 8e00a42767 Remove chart title
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875978 13f79535-47bb-0310-9956-ffa450edef68
2020-04-01 01:40:52 +00:00
Alain Béarez c7c3bbb0ed Keep last run properties when resetting paragraph text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875977 13f79535-47bb-0310-9956-ffa450edef68
2020-04-01 01:40:49 +00:00
Tim Allison 5976721660 64261 -- fix handling of drop down list when items are selected
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875956 13f79535-47bb-0310-9956-ffa450edef68
2020-03-31 18:16:09 +00:00
Alain Béarez 65990027e1 Sonar Fixes - public final class with private constructor for examples
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875902 13f79535-47bb-0310-9956-ffa450edef68
2020-03-31 01:16:39 +00:00
Alain Béarez c67d2605fd Insert a new row in XSLFTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875901 13f79535-47bb-0310-9956-ffa450edef68
2020-03-31 00:47:45 +00:00
Andreas Beeker a850690d7c Sonar Fixes
- name clashes with constants
- missing break in switch statements

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875863 13f79535-47bb-0310-9956-ffa450edef68
2020-03-29 22:37:23 +00:00
Alain Béarez ce544b8550 allow add and remove a HyperlinkRun or a FieldRun
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875862 13f79535-47bb-0310-9956-ffa450edef68
2020-03-29 22:21:35 +00:00
Andreas Beeker 3cb1a38d8e Sonar Fixes - try to fix XXE warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875860 13f79535-47bb-0310-9956-ffa450edef68
2020-03-29 14:55:31 +00:00
Andreas Beeker c01273ad02 Sonar Fixes
- use String.replace instead of String.replaceAll for literal values
- use constants from base class

- deprecated various references to constants of org.apache.poi.ss.usermodel.FontFormatting - to be replaced by o.a.p.s.u.Font in POI 5.0.0

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875859 13f79535-47bb-0310-9956-ffa450edef68
2020-03-29 14:39:11 +00:00
Dominik Stadler a68b67a70b Support building with Gradle in POIFileScanner tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875849 13f79535-47bb-0310-9956-ffa450edef68
2020-03-29 12:16:10 +00:00
Dominik Stadler cc1b6557ee Bug 63845: Adjust handling of formula-cells to fix regression introduced in 4.1.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875837 13f79535-47bb-0310-9956-ffa450edef68
2020-03-29 08:16:17 +00:00
Dominik Stadler f58aa530da Bug 61864: Verify recalculation-flag on Workbook level some more
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875836 13f79535-47bb-0310-9956-ffa450edef68
2020-03-29 08:16:09 +00:00
Dominik Stadler e88fac30b8 Bug 61863: Update JavaDoc to describe relation to workbook-level flag
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875804 13f79535-47bb-0310-9956-ffa450edef68
2020-03-28 09:49:24 +00:00
Dominik Stadler da2afc19e2 Bug 55966: Include content control text in word extraction also if it is part of a paragraph
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875802 13f79535-47bb-0310-9956-ffa450edef68
2020-03-28 09:24:38 +00:00
Alain Béarez 456dc4d368 Access table cell border style as line properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875748 13f79535-47bb-0310-9956-ffa450edef68
2020-03-27 03:13:43 +00:00
Alain Béarez a639808c2c XWPFNumbering.addAbstractNum will definitely throw an exception
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875747 13f79535-47bb-0310-9956-ffa450edef68
2020-03-27 03:13:40 +00:00
Alain Béarez 4342180475 XWPFTableCell does not process bodyElements when handle paragraph
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875746 13f79535-47bb-0310-9956-ffa450edef68
2020-03-27 03:13:37 +00:00
Alain Béarez 6e6a638ca0 like getTables, returns a collection that cannot be modified
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875745 13f79535-47bb-0310-9956-ffa450edef68
2020-03-27 03:13:34 +00:00
Alain Béarez 31f5443674 #63624: setText in XWPFTableCell updates the xml and also updates the runs and iruns
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875744 13f79535-47bb-0310-9956-ffa450edef68
2020-03-27 03:13:31 +00:00
Dominik Stadler 9649ca955a Bug 64244: Take the replacement of RichtText strings into account when computing length of strings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875571 13f79535-47bb-0310-9956-ffa450edef68
2020-03-24 10:58:16 +00:00
Andreas Beeker 7a340230fd #64241 - shade and tint calculation are based now on scRGB (opposed to HSL) colorspace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875522 13f79535-47bb-0310-9956-ffa450edef68
2020-03-22 18:59:43 +00:00
Andreas Beeker a45f7bdcdd sonar job - exclude H40
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875501 13f79535-47bb-0310-9956-ffa450edef68
2020-03-21 18:48:07 +00:00
Andreas Beeker d3de3636cf #64241 - XSLF - Wrong scheme colors used when rendering
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875499 13f79535-47bb-0310-9956-ffa450edef68
2020-03-21 18:25:38 +00:00
Andreas Beeker 8130d2c70f Update OpenJDK 8 slaves
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875398 13f79535-47bb-0310-9956-ffa450edef68
2020-03-18 22:46:25 +00:00
Andreas Beeker e5b56ad5a0 Reschedule Sonar build - activate OpenJDK 8 build again (see [INFRA-19411])
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875397 13f79535-47bb-0310-9956-ffa450edef68
2020-03-18 22:16:51 +00:00
Andreas Beeker 69036ca0e6 Ignore all ImageIO related exceptions which fail often in maven builds because of missing/wrong temp directory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875396 13f79535-47bb-0310-9956-ffa450edef68
2020-03-18 21:35:16 +00:00
Andreas Beeker 88f9cf3ddb #63712 - upgrading xmlsec causes junit tests to fail
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875392 13f79535-47bb-0310-9956-ffa450edef68
2020-03-18 21:06:09 +00:00
Andreas Beeker a54394de7c Make SlideLayout bullets accessible
based on question from mailing list:
http://apache-poi.1045710.n5.nabble.com/PPTX-how-to-get-the-marked-list-with-adjacent-icons-tp5734952.html

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875328 13f79535-47bb-0310-9956-ffa450edef68
2020-03-17 22:04:09 +00:00
Dominik Stadler e807eed528 Don't create separate instances for NullFileHandler, but rather use a common static instance
This can save some memory during regression testing.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875268 13f79535-47bb-0310-9956-ffa450edef68
2020-03-16 19:55:08 +00:00
Dominik Stadler 260fec1a8b Adjust POIFileScanner for mass regression testing
Fix closing file-handles when scanning for files to test
Refactor to make it easier to test
Some more tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875267 13f79535-47bb-0310-9956-ffa450edef68
2020-03-16 19:55:04 +00:00
Andreas Beeker 9de555bfd4 #64213 - Picture.resize(double scale) scales width wrong for small pictures and when dx1 is set
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875266 13f79535-47bb-0310-9956-ffa450edef68
2020-03-16 18:46:48 +00:00
Andreas Beeker 69cb2da52e forbidden apis check fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874991 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 23:27:44 +00:00