Commit Graph

10173 Commits

Author SHA1 Message Date
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
Dominik Stadler 769c0d546b Set version to 4.1.3-SNAPSHOT everywhere
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874900 13f79535-47bb-0310-9956-ffa450edef68
2020-03-06 15:22:09 +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 1aed0bc40b try to fix sonar execution warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874431 13f79535-47bb-0310-9956-ffa450edef68
2020-02-23 15:56:54 +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 a5e157c06f check for old xercesImpl.jar file size > 0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874342 13f79535-47bb-0310-9956-ffa450edef68
2020-02-21 22:11:26 +00:00
Andreas Beeker f8f7fa1b24 update download-plugin version to 1.5.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874339 13f79535-47bb-0310-9956-ffa450edef68
2020-02-21 21:32:46 +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 221f840adb Update Batik dependency to 1.12
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874149 13f79535-47bb-0310-9956-ffa450edef68
2020-02-17 22:28:08 +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 dacc3004e2 fix classpaths for japicmp
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874049 13f79535-47bb-0310-9956-ffa450edef68
2020-02-15 08:07:01 +00:00