PJ Fanning
a126dae032
update deprecation version
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879268 13f79535-47bb-0310-9956-ffa450edef68
2020-06-27 13:08:51 +00:00
PJ Fanning
19c97f3285
remove some deprecated methods from Cell
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879266 13f79535-47bb-0310-9956-ffa450edef68
2020-06-27 12:47:17 +00:00
PJ Fanning
b12e13a041
remove some deprecated Font methods from Workbook
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879259 13f79535-47bb-0310-9956-ffa450edef68
2020-06-27 10:50:10 +00:00
PJ Fanning
38e58f1ead
remove some deprecated Name methods from Workbook
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879255 13f79535-47bb-0310-9956-ffa450edef68
2020-06-27 09:33:06 +00:00
Tim Allison
f28dc4d0ad
improve memory safety in HWPFDocumentCore
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879097 13f79535-47bb-0310-9956-ffa450edef68
2020-06-22 20:23:19 +00:00
Dominik Stadler
fd7c926a4c
Throw an exception with more information instead of an NPE
...
This seems to be a corrupted document and shows up in regression tests and should at least be reported with some more information
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878870 13f79535-47bb-0310-9956-ffa450edef68
2020-06-15 20:51:47 +00:00
Andreas Beeker
d559feb7de
64512 - Ole10Native aka embedded / object packager - handle UTF16 variants
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878730 13f79535-47bb-0310-9956-ffa450edef68
2020-06-11 00:43:45 +00:00
PJ Fanning
0181d2abd9
[github-182] Fix root property size calculation. Thanks to netmackan. This closes #182
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878721 13f79535-47bb-0310-9956-ffa450edef68
2020-06-10 17:30:28 +00:00
PJ Fanning
b7930fc65c
[github-181] make Value function work with arrays. Thanks to Miłosz Rembisz. This closes #181
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878541 13f79535-47bb-0310-9956-ffa450edef68
2020-06-06 09:30:30 +00:00
Andreas Beeker
5a18307eb0
63290 - PPTX To Png changes font sizes and colors
...
various fixes to HSLF
moved line spacing to the following line
refactored PropertyFetcher with lambdas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878492 13f79535-47bb-0310-9956-ffa450edef68
2020-06-04 23:17:44 +00:00
PJ Fanning
84330c6aa3
[bug-64489] Make Zip64 the default mode for saving SXSSF spreadsheets
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878389 13f79535-47bb-0310-9956-ffa450edef68
2020-06-02 10:52:03 +00:00
PJ Fanning
00185c2857
next version will be 5.0.0
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877872 13f79535-47bb-0310-9956-ffa450edef68
2020-05-17 17:29:37 +00:00
Dominik Stadler
c61cd6fa03
Fix some IDE warnings, make lock-objects final, use generics, remove unused allocated fields to reduce memory overhead of DocumentInputStream
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877818 13f79535-47bb-0310-9956-ffa450edef68
2020-05-16 13:06:20 +00:00
Dominik Stadler
3cad9e6851
Bug 64322: Optimize performance of reading ole2 files
...
Remember channel-size to no re-read it for every read-access,
but reset it if we extend the size of the file
profiling indicates Channel.size() sometimes has similar runtime
overhead as position() or read()!
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877816 13f79535-47bb-0310-9956-ffa450edef68
2020-05-16 13:06:07 +00:00
Dominik Stadler
ff919eb0e4
Bug 64393: Adjust relational operators to handle MissingArgEval correctly
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877815 13f79535-47bb-0310-9956-ffa450edef68
2020-05-16 13:05:58 +00:00
PJ Fanning
5bad296845
forbidden-apis-check issues
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877801 13f79535-47bb-0310-9956-ffa450edef68
2020-05-16 08:17:32 +00:00
PJ Fanning
af8137a6e4
[github-180] Add DateValue function. Thanks to Milosz Rembisz. This closes #180
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877793 13f79535-47bb-0310-9956-ffa450edef68
2020-05-15 20:15:00 +00:00
PJ Fanning
9bddb8729e
[github-179] add an option for RangeCopier.copyRange() to clone styles. Thanks to xjlin0. This closes #179
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877792 13f79535-47bb-0310-9956-ffa450edef68
2020-05-15 19:46:17 +00:00
PJ Fanning
237d55b3e3
[bug-64441] synchronize code that initialises WorkbookFactory
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877776 13f79535-47bb-0310-9956-ffa450edef68
2020-05-15 07:36:27 +00:00
Andreas Beeker
114a4dbd41
#64411 - Provide JigSaw modules
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877398 13f79535-47bb-0310-9956-ffa450edef68
2020-05-05 13:36:30 +00:00
Andreas Beeker
8b4f463ed3
#64387 - Big POIFS stream result in OOM
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877144 13f79535-47bb-0310-9956-ffa450edef68
2020-04-28 23:08:05 +00:00
Dominik Stadler
979d1b48e7
Github-177: Avoid NullPointerException if RangeCopier encounters empty/missing rows
...
Also expose one-parameter constructor and verify it in tests.
Closes #177
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877010 13f79535-47bb-0310-9956-ffa450edef68
2020-04-26 08:23:04 +00:00
Dominik Stadler
4abe6ef9ef
Bug 63294: Add some more methods to allow to use CellType everywhere
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876948 13f79535-47bb-0310-9956-ffa450edef68
2020-04-24 20:58:38 +00:00
Dominik Stadler
52320e3213
Fix some IDE warnings, remove usage of deprecated methods
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876947 13f79535-47bb-0310-9956-ffa450edef68
2020-04-24 20:58:32 +00:00
Andreas Beeker
ad73704e81
Sonar fix - "Add the missing @deprecated Javadoc tag."
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876854 13f79535-47bb-0310-9956-ffa450edef68
2020-04-22 21:25:25 +00:00
Andreas Beeker
778f4f5d7d
#55505 - CountryRecord not found
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876805 13f79535-47bb-0310-9956-ffa450edef68
2020-04-21 22:13:59 +00:00
Andreas Beeker
948d4a3574
Sonar fix - "Cast one of the operands of this addition operation to a 'long'/'double'"
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876767 13f79535-47bb-0310-9956-ffa450edef68
2020-04-20 21:28:34 +00:00
Andreas Beeker
661c0b66bc
Sonar fixes
...
- Math operands should be cast before assignment
- Suppress - Make sure that command line arguments are used safely here
- Suppress - Replace this use of System.out or System.err by a logger.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876737 13f79535-47bb-0310-9956-ffa450edef68
2020-04-19 23:37:06 +00:00
Andreas Beeker
c41dee931f
#63745 - Add traversing and debugging interface to HSSF
...
a few more HSSF / Old Excel classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876732 13f79535-47bb-0310-9956-ffa450edef68
2020-04-19 20:33:54 +00:00
Nick Burch
248e85dbba
Inspired by Stackoverflow #61292598 - Expose if a Named Range is hidden or not
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876722 13f79535-47bb-0310-9956-ffa450edef68
2020-04-19 15:23:32 +00:00
Andreas Beeker
2841f3cd0e
Sonar fixes - Ignore System.out-calls and args checks in examples
...
Remove superfluous internal methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876704 13f79535-47bb-0310-9956-ffa450edef68
2020-04-18 21:31:18 +00:00
Andreas Beeker
7daeb4278c
Replace Allocate+System.arraycopy with Array.copyOf/Range and IOUtils.safelyClone
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876640 13f79535-47bb-0310-9956-ffa450edef68
2020-04-16 22:11:16 +00:00
Andreas Beeker
d06de78703
#64350 - Sonar fix - "Iterator.next()" methods should throw "NoSuchElementException"
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876525 13f79535-47bb-0310-9956-ffa450edef68
2020-04-14 19:07:24 +00:00
Andreas Beeker
f9417a92b2
#64036 - Replace reflection calls in factories for Java 9+ (HSSF Record Factory)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876467 13f79535-47bb-0310-9956-ffa450edef68
2020-04-13 21:55:05 +00:00
Andreas Beeker
4fd05fac12
#63745 - Add traversing and debugging interface to HSSF
...
This makes toString() implementations obsolete.
This also contains preparation for #64036 to (maybe) change the record factory interface of HSSF.
Remove duplicated record SeriesToChartGroupRecord, which is a duplicate of SeriesChartGroupIndexRecord.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876433 13f79535-47bb-0310-9956-ffa450edef68
2020-04-12 22:03:52 +00:00
Nick Burch
2b2631225d
#64319 Tighten the scientific format code to avoid making eg TRUE into TRUE+, handle formats like 0E-0, and ensure formats like 0E0 work correctly
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876396 13f79535-47bb-0310-9956-ffa450edef68
2020-04-11 15:36:27 +00:00
Andreas Beeker
3a6ebecc6f
ArrayUtil - remove unused method
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876205 13f79535-47bb-0310-9956-ffa450edef68
2020-04-06 20:43:16 +00:00
Andreas Beeker
65ccec11cb
Sonar fixes - String literals should not be duplicated
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876163 13f79535-47bb-0310-9956-ffa450edef68
2020-04-05 20:50:40 +00:00
Andreas Beeker
d842136464
Sonar fixes - "static" base class members should not be accessed via derived types
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876159 13f79535-47bb-0310-9956-ffa450edef68
2020-04-05 18:55:46 +00:00
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
2020-04-05 00:42:08 +00:00
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
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
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
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
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
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
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