Andreas Beeker
c0f9941604
#64411 - Provide JigSaw modules
...
- use classpath-build for Java 8, otherwise use modulepath
- save module-info classes to source, when using Java 9+ environment
- rename example packages - otherwise package clashes occured in the tests
- move agile encryption from ooxml to main.
remove EncryptionInfo XmlBeans and schema and use custom xml marshalling
- move ooxml test classes which reside in the same package as their tested main class
- rename base test classes to "BaseTest..." - temporarily I've used a light version of the main test classes to test scratchpad / ooxml
- build.xml - fixed the Rhino javascript errors of the dependency-macros
- DrawTextParagraph - fixed StringIndexOutOfBounds when logging set to debug level
- use JigSaw provider interface (= Java ServiceLoader), i.e. it wasn't possible (without openening everything), to access ooxml factory classes from main factory stub
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880164 13f79535-47bb-0310-9956-ffa450edef68
2020-07-22 22:08:33 +00:00
PJ Fanning
4a173780dd
[bug-64605] add support for non-integer font sizes on character runs (use double instead of float)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879950 13f79535-47bb-0310-9956-ffa450edef68
2020-07-16 12:50:40 +00:00
PJ Fanning
cb1d9a0061
[bug-64605] add support for non-integer font sizes on character runs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879949 13f79535-47bb-0310-9956-ffa450edef68
2020-07-16 12:31:53 +00:00
PJ Fanning
a5cf0f0d3f
use BigInteger.valueOf
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879937 13f79535-47bb-0310-9956-ffa450edef68
2020-07-16 10:03:00 +00:00
PJ Fanning
8900e397a4
remove some deprecated code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879911 13f79535-47bb-0310-9956-ffa450edef68
2020-07-15 22:49:32 +00:00
PJ Fanning
c34c1ca49c
remove some deprecated code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879909 13f79535-47bb-0310-9956-ffa450edef68
2020-07-15 21:59:30 +00:00
PJ Fanning
be09639638
[github-185] Fix if function in array formulas with 2nd argument evaluating to error. Thanks to Miłosz Rembisz. This closes #185
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879481 13f79535-47bb-0310-9956-ffa450edef68
2020-07-03 16:09:03 +00:00
PJ Fanning
02cebfc312
remove some more deprecated code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879299 13f79535-47bb-0310-9956-ffa450edef68
2020-06-28 09:08:34 +00:00
PJ Fanning
241c7e2bb2
remove some more deprecated code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879298 13f79535-47bb-0310-9956-ffa450edef68
2020-06-28 08:42:23 +00:00
PJ Fanning
883d6bb987
remove some deprecated classes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879276 13f79535-47bb-0310-9956-ffa450edef68
2020-06-27 13:58:23 +00:00
PJ Fanning
fdd73de259
remove some deprecated classes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879269 13f79535-47bb-0310-9956-ffa450edef68
2020-06-27 13:25:40 +00:00
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