3318 Commits

Author SHA1 Message Date
Andreas Beeker
a17a9168b1 Sonar Fixes - fix/annotate type "vulnerability" / severity "blocker"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870657 13f79535-47bb-0310-9956-ffa450edef68
2019-12-01 02:05:51 +00:00
Andreas Beeker
5f28881a35 change package.html to package-info.java
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870655 13f79535-47bb-0310-9956-ffa450edef68
2019-12-01 00:07:48 +00:00
Andreas Beeker
b4b661acc1 Sonar fixes - use try-with-resources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870653 13f79535-47bb-0310-9956-ffa450edef68
2019-11-30 23:00:08 +00:00
Andreas Beeker
2a982f62ec Replace StringBuffer with StringBuilder
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870600 13f79535-47bb-0310-9956-ffa450edef68
2019-11-29 23:57:35 +00:00
Andreas Beeker
1562175343 Bug 60656 - Emf image support in slideshows
- use Rectangle2D instead of Dimension2D for image bounds
- fix shearing transformation
- fix rendering of font attributes (bold/italic/...)
- emf+: needs its own object table and properties table
- emf+: add linear gradient handler
- emf+: handle brush data of pens
- wmf/emf/emf+: position right aligned text correctly
- emf+: use emf+ instead of emf records in dual-mode
- emf+: handle region data and operations correctly
- emf/+: map font weight to awt font weight correctly

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870566 13f79535-47bb-0310-9956-ffa450edef68
2019-11-29 00:39:35 +00:00
Andreas Beeker
7aab19c3b5 GenericRecordJsonWriter fix output of floats and doubles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870565 13f79535-47bb-0310-9956-ffa450edef68
2019-11-29 00:29:05 +00:00
PJ Fanning
701b67c315 replace more StringBuffers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870121 13f79535-47bb-0310-9956-ffa450edef68
2019-11-21 22:01:20 +00:00
PJ Fanning
2d6b1800dc Update javadoc on FinanceLib. This closes #162
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870105 13f79535-47bb-0310-9956-ffa450edef68
2019-11-21 18:32:35 +00:00
PJ Fanning
cd3f373c44 change some tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870049 13f79535-47bb-0310-9956-ffa450edef68
2019-11-20 10:02:45 +00:00
PJ Fanning
96bf53f3fc replace some uses of StringBuffer with StringBuilder
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870046 13f79535-47bb-0310-9956-ffa450edef68
2019-11-20 08:42:27 +00:00
PJ Fanning
948b0e8f08 convert tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1869962 13f79535-47bb-0310-9956-ffa450edef68
2019-11-18 08:56:06 +00:00
Axel Howind
4f8879f8ef use zero size arg to toArray(), use Collection.addAll() (#63805, second patch)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1869919 13f79535-47bb-0310-9956-ffa450edef68
2019-11-17 08:45:03 +00:00
Andreas Beeker
1794ae97c1 #63918 - Fix texture fill - scale stretched images correctly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1869669 13f79535-47bb-0310-9956-ffa450edef68
2019-11-11 23:06:29 +00:00
Andreas Beeker
34fc1a45fe Bug 60656 - Emf image support in slideshows
- Use ImageRenderer instead of prerendered BufferedImage to achieve better rendering result
- Fix extraction of EMF embeddings
- Fix renderer state handling in HemfGraphics (but still not perfect)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1869582 13f79535-47bb-0310-9956-ffa450edef68
2019-11-08 20:32:46 +00:00
Andreas Beeker
f7c28ad08f #60656 - EMF image support in slideshows
- extract option for embedded element in PPTX2PNG
- minor GenericRecordJsonWriter fixes
- fix EMF+ world transformations
- fix initialization emf pictures, which were partly unbounded -> excessive memory consumption
- change EMF+ brushes to continueable record

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1869272 13f79535-47bb-0310-9956-ffa450edef68
2019-11-01 17:18:13 +00:00
Andreas Beeker
52b4ecfa9b #63745 - Fix line endings ... again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1869013 13f79535-47bb-0310-9956-ffa450edef68
2019-10-26 19:13:16 +00:00
Dominik Stadler
14812bee45 Adjust comments and add slightly more test-coverage
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868982 13f79535-47bb-0310-9956-ffa450edef68
2019-10-26 05:26:52 +00:00
Dominik Stadler
2dad9b7543 Adjust an error message slightly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868980 13f79535-47bb-0310-9956-ffa450edef68
2019-10-26 05:26:44 +00:00
Dominik Stadler
e1237a4f5b Fix some IDE warnings and update some JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868977 13f79535-47bb-0310-9956-ffa450edef68
2019-10-26 05:26:30 +00:00
Andreas Beeker
0783cdeb1f Remove references to DatatypeConverter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868953 13f79535-47bb-0310-9956-ffa450edef68
2019-10-25 20:00:52 +00:00
Andreas Beeker
6e32d853be #63745 - Make GenericRecordJsonWriter Json-conformant
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868952 13f79535-47bb-0310-9956-ffa450edef68
2019-10-25 20:00:06 +00:00
PJ Fanning
08b68b5141 [bug-63842] FractionFormat casts whole part of the value into 'int'
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868425 13f79535-47bb-0310-9956-ffa450edef68
2019-10-14 08:19:15 +00:00
Andreas Beeker
cf65519f61 SL Common - Fix gradient fills
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868407 13f79535-47bb-0310-9956-ffa450edef68
2019-10-13 13:30:21 +00:00
Andreas Beeker
ba25ff3684 #63818 - Allow multiple charsets for same font typeface
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868358 13f79535-47bb-0310-9956-ffa450edef68
2019-10-12 17:55:50 +00:00
Andreas Beeker
69f493ee3a #63745 - Refactor EscherRecord.ToXml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868353 13f79535-47bb-0310-9956-ffa450edef68
2019-10-12 16:34:29 +00:00
Andreas Beeker
9982ec4e79 #63745 - Add traversing and debugging interface
Replace EscherProperty.getAttributeMap by GenericRecord interface

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868352 13f79535-47bb-0310-9956-ffa450edef68
2019-10-12 16:32:53 +00:00
Tim Allison
a564c52311 bumping minimum record length based on user feedback on tika-dev list
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868211 13f79535-47bb-0310-9956-ffa450edef68
2019-10-10 03:03:50 +00:00
Dominik Stadler
b10f94cc75 63779 Add support for the new Java date/time API added in Java 8
Deprecate HSSFDateUtil
Closes #160 on Github

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868198 13f79535-47bb-0310-9956-ffa450edef68
2019-10-09 19:12:59 +00:00
Andreas Beeker
8e3286a64c Catch missing scratchpad state for EMF / WMF rendering
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1867025 13f79535-47bb-0310-9956-ffa450edef68
2019-09-16 19:55:23 +00:00
PJ Fanning
9808fd5015 try to fix build failure
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866941 13f79535-47bb-0310-9956-ffa450edef68
2019-09-14 11:42:42 +00:00
PJ Fanning
dc6a4a99e2 try to avoid casting to int
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866933 13f79535-47bb-0310-9956-ffa450edef68
2019-09-14 09:54:11 +00:00
Andreas Beeker
8e95d5d9c1 remove obsolete JDK6 workarounds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866862 13f79535-47bb-0310-9956-ffa450edef68
2019-09-12 20:04:50 +00:00
Andreas Beeker
8f051a0b88 Unify PNG extraction
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866809 13f79535-47bb-0310-9956-ffa450edef68
2019-09-11 21:24:34 +00:00
Andreas Beeker
1d4b05ff60 #63745 - Add traversing and debugging interface
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866808 13f79535-47bb-0310-9956-ffa450edef68
2019-09-11 21:24:06 +00:00
Dominik Stadler
d81b74ba67 Adjust JavaDoc and code formatting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866053 13f79535-47bb-0310-9956-ffa450edef68
2019-08-29 05:15:50 +00:00
Andreas Beeker
e18eef07b1 Refactor alpha handling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863601 13f79535-47bb-0310-9956-ffa450edef68
2019-07-22 21:30:12 +00:00
Andreas Beeker
58eb1a8070 Bug 63580 - Fix texture paint handling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863600 13f79535-47bb-0310-9956-ffa450edef68
2019-07-22 21:29:55 +00:00
PJ Fanning
21ed5240e7 try to fix NPE in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863516 13f79535-47bb-0310-9956-ffa450edef68
2019-07-21 08:39:56 +00:00
PJ Fanning
0d323ec9b0 [bug-63533] fix javadoc that refers to horisontalPdi
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1862382 13f79535-47bb-0310-9956-ffa450edef68
2019-07-01 14:07:16 +00:00
Andreas Beeker
dd6d090969 fix rendering of xslf shapes with no/external blip part
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1861958 13f79535-47bb-0310-9956-ffa450edef68
2019-06-23 23:13:15 +00:00
Andreas Beeker
861988bac3 Bug 60656 - EMF image support in slideshows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1861952 13f79535-47bb-0310-9956-ffa450edef68
2019-06-23 22:21:15 +00:00
Dominik Stadler
50874d9d0d Bug 63509: Allow to format a CellReference without sheet-name for ignoredErrors.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1861817 13f79535-47bb-0310-9956-ffa450edef68
2019-06-22 06:12:05 +00:00
PJ Fanning
25d3f3527d tidy up some int casts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1861176 13f79535-47bb-0310-9956-ffa450edef68
2019-06-12 18:14:22 +00:00
PJ Fanning
f74a8f9abb [github-149] improve MAPIMessage.guess7BitEncoding, improve MAPIMessage.getHtmlBody. Thanks to Dominik Hölzl. This closes #149
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1860043 13f79535-47bb-0310-9956-ffa450edef68
2019-05-26 09:43:59 +00:00
PJ Fanning
3d5671ac5e remove some tab indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859758 13f79535-47bb-0310-9956-ffa450edef68
2019-05-22 22:59:12 +00:00
Alain Béarez
e3df15d773 fix missing space in string literal (LGTM)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859596 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:14:15 +00:00
Alain Béarez
928e6937f4 fix result of multiplication cast to wider type
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859595 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:14:12 +00:00
Alain Béarez
906c52d81d fix whitespace contradicts operator precedence
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859594 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:13:59 +00:00
Alain Béarez
5d376c8696 fix boxed variable is never null
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859593 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:13:56 +00:00
Alain Béarez
a59ed12ecf fix potential output resource leaks (LGTM)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859592 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:13:51 +00:00