Dominik Stadler
5e394a5e10
Let IntelliJ simplify some assertions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871591 13f79535-47bb-0310-9956-ffa450edef68
2019-12-15 14:53:46 +00:00
Dominik Stadler
1a5cec89d8
Replace manual close with try-with-resources
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871590 13f79535-47bb-0310-9956-ffa450edef68
2019-12-15 14:53:11 +00:00
Dominik Stadler
2748844549
Bug 63749; Make getLastRowNum() and getFirstRow() return -1 instead of 0 on empty Sheets
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871589 13f79535-47bb-0310-9956-ffa450edef68
2019-12-15 14:52:45 +00:00
Andreas Beeker
3fb5e79490
#64004 - Replace clone() with copy constructor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871563 13f79535-47bb-0310-9956-ffa450edef68
2019-12-14 23:44:26 +00:00
Dominik Stadler
befd31663f
Bug 63569: Adjust handling of check for max allocation of byte array
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871506 13f79535-47bb-0310-9956-ffa450edef68
2019-12-14 13:10:17 +00:00
Dominik Stadler
57b0576f63
Adjust some JavaDoc and fix some IDE warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871505 13f79535-47bb-0310-9956-ffa450edef68
2019-12-14 13:10:12 +00:00
Andreas Beeker
cdd945b0da
Bug 63927 - Inconsistent mapping of Norwegian locales for date formats
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871066 13f79535-47bb-0310-9956-ffa450edef68
2019-12-08 23:36:02 +00:00
Andreas Beeker
1c678f415c
Bug 63779 - Add support for the new Java date/time API added in Java 8
...
Active roundSeconds again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871065 13f79535-47bb-0310-9956-ffa450edef68
2019-12-08 23:31:20 +00:00
Andreas Beeker
0f29ae8e4d
Sonar fixes - type: bugs / severity: major
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871064 13f79535-47bb-0310-9956-ffa450edef68
2019-12-08 23:29:50 +00:00
Andreas Beeker
b2a33515e9
Sonar Fixes - type: bugs / severity: critical - mostly div by 0
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870976 13f79535-47bb-0310-9956-ffa450edef68
2019-12-07 11:45:44 +00:00
Andreas Beeker
9f2f9dc793
Sonar Fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870856 13f79535-47bb-0310-9956-ffa450edef68
2019-12-05 00:18:36 +00:00
Andreas Beeker
08159e66a7
Sonar Fixes + Refactor scattered XML initializations to XMLHelper
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870769 13f79535-47bb-0310-9956-ffa450edef68
2019-12-03 21:56:47 +00:00
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