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
Andreas Beeker
40f320bcf9
github-167 - HSMF enhancements
...
introduce NameIdChunks.GetPropertyTag:
which enables evaluating property ids from properties identified by name/id in property sets (simple version of IMAPIProp::GetIDsFromNames)
AttachmentChunks.getAttachData:
use new ByteChunkDeferred instead of ByteChunk which enables delayed reading of attachments to avoid all attachments are completely read into memory when parsing which may cause OutOfMemoryErrors on e-mails with big attachments.
POIFSChunkParser:
support reading multi valued chunks (e.g. required when reading the Keywords ("categories") property)
add MAPIProperty.RECEIVED_BY_SMTP_ADDRESS
add unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874990 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 23:26:53 +00:00
Andreas Beeker
ef90a5f2c8
Get UUID from ClassID
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874989 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 23:20:44 +00:00
Dominik Stadler
199895bfc4
Work on bug 64038 and other bugs and add test for 62865
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874983 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 20:17:19 +00:00
Dominik Stadler
7c2dfd9930
Adjust some more places to use https instead of http, need a workaround for a bug in Apache Forrest
...
See comment in build.xml for why this replacement is needed.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874982 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 20:17:11 +00:00
Dominik Stadler
77fbcb788d
Try to use https for poi.apache.org everywhere
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874981 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 20:17:08 +00:00
Dominik Stadler
a7d96dcb73
Bug 58896 and 52834: Cache Sheet.getMergedRegions() as it seems to sometimes be the culprit for autosize taking a very long time.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874973 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 11:17:34 +00:00
Dominik Stadler
d57edf14f6
One more file-leak-detector exclude
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874967 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 08:28:20 +00:00
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
da4c9cc706
Use new URL for downloads of releases
...
See https://blogs.apache.org/infra/entry/more-secure-and-robust-downloads
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874964 13f79535-47bb-0310-9956-ffa450edef68
2020-03-08 08:28:04 +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
Dominik Stadler
ee61d3eb56
Do not recompile Version.java unless build.xml (i.e. version) changes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874901 13f79535-47bb-0310-9956-ffa450edef68
2020-03-06 15:22:16 +00:00