Andreas Beeker
074d68fedf
Sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876157 13f79535-47bb-0310-9956-ffa450edef68
4 lat temu
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
4 lat temu
Andreas Beeker
0174c4df27
fixed typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876138 13f79535-47bb-0310-9956-ffa450edef68
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
Alain Béarez
8e00a42767
Remove chart title
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875978 13f79535-47bb-0310-9956-ffa450edef68
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
Andreas Beeker
a45f7bdcdd
sonar job - exclude H40
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875501 13f79535-47bb-0310-9956-ffa450edef68
4 lat temu
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
4 lat temu
Andreas Beeker
8130d2c70f
Update OpenJDK 8 slaves
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875398 13f79535-47bb-0310-9956-ffa450edef68
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
Andreas Beeker
69cb2da52e
forbidden apis check fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874991 13f79535-47bb-0310-9956-ffa450edef68
4 lat temu
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
4 lat temu
Andreas Beeker
ef90a5f2c8
Get UUID from ClassID
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874989 13f79535-47bb-0310-9956-ffa450edef68
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu
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
4 lat temu