Marius Volkhart
d543e89185
Replace magic constant use of EscherBSERecord type ID with reference
...
Instead of referring to the magic constant 0xF007, reference the value in the EscherRecordTypes enum.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886986 13f79535-47bb-0310-9956-ffa450edef68
2021-02-27 18:22:33 +00:00
PJ Fanning
16561e85c7
add missing license
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886965 13f79535-47bb-0310-9956-ffa450edef68
2021-02-27 01:29:21 +00:00
Marius Volkhart
50757bca8e
Fix bug with record indexes for HSSF Workbooks
...
We have encountered workbooks that do not have a TabIdRecord (see 55982.xls). However, the WorkbookRecordList#updateRecordPos() method would still increment the position of the TabIdRecord for such workbooks. Changing the default position of the record from 0 to -1 indicates that the record position has now been set.
This bug was discovered while adding support for editing pictures in HSSF documents.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886963 13f79535-47bb-0310-9956-ffa450edef68
2021-02-27 00:43:56 +00:00
Marius Volkhart
451684aa91
Enable running more integration tests from Gradle.
...
This is particularly relevant for developers who import the Gradle project into their IDE and run tests using the Gradle test runner. Those developers were previously unable to debug integration tests.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886962 13f79535-47bb-0310-9956-ffa450edef68
2021-02-26 22:14:17 +00:00
PJ Fanning
bba9aa2b66
missing ooxml-schemas-lite classes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886892 13f79535-47bb-0310-9956-ffa450edef68
2021-02-24 21:26:33 +00:00
Andreas Beeker
eb30f2e1c8
Use upcoming XmlBeans 5.0.0 (working version 4.0.1)
...
Make batik optional as it doesn't work on the module-path
Use sub-components of batik as batik-all references them all again resulting in duplicated entries (maven poms haven't been migrated yet ...)
Remove SLF4j dependency
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886777 13f79535-47bb-0310-9956-ffa450edef68
2021-02-22 00:18:37 +00:00
Marius Volkhart
259c9967ef
[bug-63046] Use Log4j 2 for logging
...
This removes the POILogger and POILogFactory mechanism for logging. This mechanism was created at a time when the Java landscape looked very different than it does today.
Log4j 2 is an Apache Foundation project that is well maintained and is widely regarded as having good performance and capabilities. We use only the Log4j API artifact. This lets application developers choose how they want to capture logging events if at all. Integrations with Log4j 2 Core and Logback are available from the Log4j project.
Closes #224
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886770 13f79535-47bb-0310-9956-ffa450edef68
2021-02-21 20:57:25 +00:00
Andreas Beeker
6d10f26718
Use UTF-8 when writing SVG files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886768 13f79535-47bb-0310-9956-ffa450edef68
2021-02-21 18:52:23 +00:00
PJ Fanning
62bfbd3c90
try re-eanbling xml entity config
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886766 13f79535-47bb-0310-9956-ffa450edef68
2021-02-21 18:31:49 +00:00
Dominik Stadler
297c16f1f0
FinanceLib: Simplify code and add a few more tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886658 13f79535-47bb-0310-9956-ffa450edef68
2021-02-18 10:00:13 +00:00
Alain Béarez
b20ca985b8
Manipulate individual data point properties
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886642 13f79535-47bb-0310-9956-ffa450edef68
2021-02-17 22:05:18 +00:00
Marius Volkhart
36277f9e54
Code cleanup AbstractEscherHolderRecord
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886623 13f79535-47bb-0310-9956-ffa450edef68
2021-02-17 15:41:22 +00:00
Marius Volkhart
26f3db7e14
Documentation for some EscherRecordTypes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886620 13f79535-47bb-0310-9956-ffa450edef68
2021-02-17 15:10:17 +00:00
Marius Volkhart
5d9dcdf3df
Add documentation for DrawingGroupRecord
...
Documentation adapted from [MS-XLS].pdf v20190618.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886619 13f79535-47bb-0310-9956-ffa450edef68
2021-02-17 14:48:30 +00:00
Alain Béarez
bcf413f68a
[bug-63902] reference cloned sheet in cloned chart data series
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886605 13f79535-47bb-0310-9956-ffa450edef68
2021-02-16 23:39:19 +00:00
PJ Fanning
0df893124a
allow subclassing of code to gen comments table
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886547 13f79535-47bb-0310-9956-ffa450edef68
2021-02-15 21:48:26 +00:00
PJ Fanning
0ce6ceb3ea
add method to test for strict ooxml format
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886545 13f79535-47bb-0310-9956-ffa450edef68
2021-02-15 21:05:57 +00:00
Dominik Stadler
37d2d474dc
Do not fail test which compares two documents if the timestamp in the ZIP header field is different
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886532 13f79535-47bb-0310-9956-ffa450edef68
2021-02-15 15:23:49 +00:00
Dominik Stadler
7a8f21b989
Do not require NullPointerException to have a null-message on JDK < 16
...
It seems depending on the exact JDK some Exceptions have failure messages populated
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886527 13f79535-47bb-0310-9956-ffa450edef68
2021-02-15 13:17:18 +00:00
PJ Fanning
92134f34b1
add test for reading core properties from ooxml strict file
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886514 13f79535-47bb-0310-9956-ffa450edef68
2021-02-15 00:34:12 +00:00
PJ Fanning
1f50c10ab0
add missing CTPhoneticRun
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886511 13f79535-47bb-0310-9956-ffa450edef68
2021-02-14 20:25:59 +00:00
PJ Fanning
c23381076e
fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886497 13f79535-47bb-0310-9956-ffa450edef68
2021-02-14 00:05:02 +00:00
PJ Fanning
e47a48283b
small refactor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886495 13f79535-47bb-0310-9956-ffa450edef68
2021-02-13 23:33:24 +00:00
PJ Fanning
49fe3ba330
allo XSSFReader to be sublclassed with implementation that allows OOXMl Strict files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886493 13f79535-47bb-0310-9956-ffa450edef68
2021-02-13 19:43:07 +00:00
PJ Fanning
79a9cf3692
batik 1.14
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886491 13f79535-47bb-0310-9956-ffa450edef68
2021-02-13 14:49:40 +00:00
Alain Béarez
4cf6b5b071
Import slide notes when importing slide content
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886338 13f79535-47bb-0310-9956-ffa450edef68
2021-02-08 20:34:14 +00:00
PJ Fanning
d7eb8e949a
[bug-65120] PartAlreadyExistsException when creating cell comments (after some comments removed). Thanks to Raúl Wegmann
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886143 13f79535-47bb-0310-9956-ffa450edef68
2021-02-02 21:13:32 +00:00
Marius Volkhart
7a0cc6e7e5
Fix inconsistent logging statement
...
The conditions check for max, but the logging was copy/pasted and still uses the minimum.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886089 13f79535-47bb-0310-9956-ffa450edef68
2021-02-01 01:02:26 +00:00
Alain Béarez
e367148e09
Clone only content of imported chart
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886087 13f79535-47bb-0310-9956-ffa450edef68
2021-02-01 00:46:25 +00:00
Andreas Beeker
aa9ec651ea
Sonar fixes
...
add asserts to tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886070 13f79535-47bb-0310-9956-ffa450edef68
2021-01-30 22:58:14 +00:00
Dominik Stadler
caf2d32393
Bug 65099: Fix incorrect handling of styles in XWPFStyle.getUsedStyleList
...
Closes github #216
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886063 13f79535-47bb-0310-9956-ffa450edef68
2021-01-30 18:42:14 +00:00
Dominik Stadler
6449c03a53
Adjust integration-test slightly for running mass-regression-tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886062 13f79535-47bb-0310-9956-ffa450edef68
2021-01-30 18:42:08 +00:00
Dominik Stadler
a10ca15627
Apply IDE suggestions, add toString(), adjust JavaDoc and simplify code slightly
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886061 13f79535-47bb-0310-9956-ffa450edef68
2021-01-30 18:42:05 +00:00
Dominik Stadler
615de587f7
Enable storing an SXSSF workbook twice
...
Verify this via a unit-test for all types of workbooks
Add a test to verify the contents is byte-for-byte equal
Also remove an overwritten test which works the same now for all three workbook-types
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886060 13f79535-47bb-0310-9956-ffa450edef68
2021-01-30 18:41:57 +00:00
Andreas Beeker
1d26df99ee
Sonar fixes
...
add asserts to tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885954 13f79535-47bb-0310-9956-ffa450edef68
2021-01-28 00:08:35 +00:00
Andreas Beeker
5cb3cb0384
Sonar fixes
...
add asserts to tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885922 13f79535-47bb-0310-9956-ffa450edef68
2021-01-26 23:26:50 +00:00
Andreas Beeker
6038381e3a
try to fix windows integration tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885888 13f79535-47bb-0310-9956-ffa450edef68
2021-01-24 22:25:08 +00:00
Alain Béarez
ed836507e5
Replace deprecated methods used in tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885886 13f79535-47bb-0310-9956-ffa450edef68
2021-01-24 20:01:36 +00:00
Andreas Beeker
54fde895e6
Sonar fixes
...
add asserts to tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885859 13f79535-47bb-0310-9956-ffa450edef68
2021-01-23 23:04:49 +00:00
Andreas Beeker
904c77e242
Junit5 - fix logging to console
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885858 13f79535-47bb-0310-9956-ffa450edef68
2021-01-23 23:04:31 +00:00
Andreas Beeker
17372207f9
try to fix font-based issues
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885842 13f79535-47bb-0310-9956-ffa450edef68
2021-01-23 10:34:56 +00:00
Andreas Beeker
0e5f513830
Sonar fixes
...
add asserts to tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885819 13f79535-47bb-0310-9956-ffa450edef68
2021-01-22 23:00:51 +00:00
PJ Fanning
1b55a7930e
missing license
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885772 13f79535-47bb-0310-9956-ffa450edef68
2021-01-21 21:39:28 +00:00
Alain Béarez
b2fd6f8bdc
Bug 64950: handle doughnut hole size
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885771 13f79535-47bb-0310-9956-ffa450edef68
2021-01-21 21:13:27 +00:00
PJ Fanning
4013ffa220
[bug-65096] XLSX Streaming XML not correctly reading multiple inline Strings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885770 13f79535-47bb-0310-9956-ffa450edef68
2021-01-21 21:04:24 +00:00
Alain Béarez
825bebdbd1
Bug 65016 - Creating a chart throws exception
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885700 13f79535-47bb-0310-9956-ffa450edef68
2021-01-19 21:33:38 +00:00
Andreas Beeker
5de42f466f
github-211 - Revert addRow to behaviour before 4.1.2
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885699 13f79535-47bb-0310-9956-ffa450edef68
2021-01-19 20:27:00 +00:00
PJ Fanning
06ea5add36
[github-215] Improve Performance of OperandResolver#parseDouble. Thanks to Robert Wenzel. This closes #215
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885651 13f79535-47bb-0310-9956-ffa450edef68
2021-01-18 14:20:02 +00:00
Andreas Beeker
8f2c722fd3
Integration tests - try to fix Oracle/OpenJDK vs IBM-JDK error message differences on XXE files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885625 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 21:20:05 +00:00
Andreas Beeker
fd29c485ef
Bump versions to 5.0.1-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885616 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 18:24:31 +00:00
Andreas Beeker
3778a3e9e2
Sonar fixes
...
constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'
reorder "final static" -> "static final"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885613 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 17:31:22 +00:00
Andreas Beeker
7ad01e4daa
Integration test - fix filenames with windows path separator
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885595 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 10:36:16 +00:00
Andreas Beeker
435b6a131e
Remove superfluous test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885586 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 00:51:03 +00:00
Andreas Beeker
020f33a940
Sonar fixes
...
add asserts to tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885585 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 00:50:47 +00:00
Andreas Beeker
44efecf42e
integration tests: Fix handling of NullPointerExceptions for Java 16+ (again ...)
...
Refactor TestAllFiles to provide an API for mass testing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885576 13f79535-47bb-0310-9956-ffa450edef68
2021-01-16 15:51:00 +00:00
Andreas Beeker
2a19c0161d
integration tests: Fix JDK version handling
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885553 13f79535-47bb-0310-9956-ffa450edef68
2021-01-16 11:36:45 +00:00
Andreas Beeker
5e110d7216
integration tests: NullPointerExceptions contain now a description in Java 16+
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885549 13f79535-47bb-0310-9956-ffa450edef68
2021-01-16 09:55:42 +00:00
Andreas Beeker
309e657b0d
#65046 - Simplify integration tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885538 13f79535-47bb-0310-9956-ffa450edef68
2021-01-15 23:50:42 +00:00
Andreas Beeker
ca71e9dacf
Sonar fixes
...
add asserts to tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885537 13f79535-47bb-0310-9956-ffa450edef68
2021-01-15 22:34:35 +00:00
Andreas Beeker
ac19545a66
Sonar fixes
...
add asserts to tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885503 13f79535-47bb-0310-9956-ffa450edef68
2021-01-15 00:03:43 +00:00
Andreas Beeker
22e67b0dc7
Sonar fixes
...
add asserts to tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885343 13f79535-47bb-0310-9956-ffa450edef68
2021-01-11 00:34:21 +00:00
Andreas Beeker
9daa77751a
revert Sonar fixes on BaseIntegrationTest
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885341 13f79535-47bb-0310-9956-ffa450edef68
2021-01-10 21:36:32 +00:00
Andreas Beeker
1041a876cb
Sonar fixes
...
JUnit5 test classes and methods should have default package visibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885340 13f79535-47bb-0310-9956-ffa450edef68
2021-01-10 21:16:04 +00:00
Andreas Beeker
5b807e29dd
IBM JDK is slower than the other JDKs with "test58896WithFile" testcase
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885333 13f79535-47bb-0310-9956-ffa450edef68
2021-01-10 13:28:48 +00:00
Andreas Beeker
834a7628d2
Sonar fixes
...
JUnit5 test classes and methods should have default package visibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885326 13f79535-47bb-0310-9956-ffa450edef68
2021-01-10 01:42:30 +00:00
Andreas Beeker
9c358836b4
Sonar fixes
...
JUnit5 test classes and methods should have default package visibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885325 13f79535-47bb-0310-9956-ffa450edef68
2021-01-10 01:34:16 +00:00
Andreas Beeker
a42b47c27c
Sonar fixes
...
add asserts to tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885324 13f79535-47bb-0310-9956-ffa450edef68
2021-01-10 01:15:55 +00:00
Andreas Beeker
d6477fc14c
Sonar fixes
...
add asserts to tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885321 13f79535-47bb-0310-9956-ffa450edef68
2021-01-09 23:20:13 +00:00
Andreas Beeker
2457ece51e
Sonar fixes
...
JUnit5 test classes and methods should have default package visibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885319 13f79535-47bb-0310-9956-ffa450edef68
2021-01-09 20:25:15 +00:00
Andreas Beeker
b0870699e3
Sonar fixes
...
JUnit5 test classes and methods should have default package visibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885318 13f79535-47bb-0310-9956-ffa450edef68
2021-01-09 20:19:07 +00:00
Andreas Beeker
b4133f5e23
Sonar fixes
...
JUnit5 test classes and methods should have default package visibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885315 13f79535-47bb-0310-9956-ffa450edef68
2021-01-09 19:20:09 +00:00
Andreas Beeker
a4ed4359cc
Sonar fixes
...
JUnit5 test classes and methods should have default package visibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885308 13f79535-47bb-0310-9956-ffa450edef68
2021-01-09 18:24:51 +00:00
Andreas Beeker
1d676a098d
Sonar fixes
...
JUnit5 test classes and methods should have default package visibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885302 13f79535-47bb-0310-9956-ffa450edef68
2021-01-09 15:49:35 +00:00
Andreas Beeker
8631e6c9c9
Sonar fixes
...
JUnit5 test classes and methods should have default package visibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885300 13f79535-47bb-0310-9956-ffa450edef68
2021-01-09 15:35:07 +00:00
Andreas Beeker
a7d741fd17
Sonar fixes
...
JUnit5 test classes and methods should have default package visibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885283 13f79535-47bb-0310-9956-ffa450edef68
2021-01-09 00:46:52 +00:00
Andreas Beeker
606a313c4c
Sonar fixes
...
JUnit5 test classes and methods should have default package visibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885281 13f79535-47bb-0310-9956-ffa450edef68
2021-01-08 23:50:02 +00:00
Andreas Beeker
fb2a96a048
Sonar fixes
...
Fixed offset of compare picture in resize_compare.xlsx
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885280 13f79535-47bb-0310-9956-ffa450edef68
2021-01-08 22:56:05 +00:00
Andreas Beeker
09464f1fea
Sonar fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885253 13f79535-47bb-0310-9956-ffa450edef68
2021-01-08 00:26:16 +00:00
Dominik Stadler
4bc450ef5f
Properly close file handles in extractors and when handling password-protected files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885229 13f79535-47bb-0310-9956-ffa450edef68
2021-01-07 06:52:57 +00:00
Dominik Stadler
ce701485d8
Improve EmptyFileException when the file actually does not exist at all
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885227 13f79535-47bb-0310-9956-ffa450edef68
2021-01-07 06:52:46 +00:00
Andreas Beeker
dde88b1102
Sonar fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885219 13f79535-47bb-0310-9956-ffa450edef68
2021-01-07 00:27:13 +00:00
Andreas Beeker
2125c37d31
#65063 - WMF parsing failed on closed empty polygon
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885215 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 23:14:45 +00:00
Andreas Beeker
4c0d0b1381
#65061 - Handle VmlDrawings containing spreadsheet-ml default namespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885197 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 12:39:02 +00:00
Dominik Stadler
eba33ddb6f
Include file-name in EmptyFileException
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885192 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 09:10:41 +00:00
Dominik Stadler
7aa6b06085
Try to avoid error "Start point cannot equalendpoint"
...
Happened when trying to apply a gradient to an empty text,
let's use at least 1 gradient step always to avoid this.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885191 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 09:10:35 +00:00
Dominik Stadler
a2fa70b15d
Run all integration-test steps in manual test-method
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885190 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 09:10:31 +00:00
Dominik Stadler
c1397afbf3
Slightly adjust error message if requested allocations are too big
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885189 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 09:10:28 +00:00
Dominik Stadler
da7725e3d6
Adjust one expected error message in integration-tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885188 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 09:10:25 +00:00
Dominik Stadler
47c5e9b08d
Adjust assumption for one specific font-related exception on Windows
...
Otherwise it triggers too much and hides actual regression bugs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885187 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 09:10:21 +00:00
Dominik Stadler
42ca20ad59
Avoid unneeded Unicode characters which break compiling if encoding is not UTF-8
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885186 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 09:10:17 +00:00
Andreas Beeker
9573f059b6
Sonar fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885179 13f79535-47bb-0310-9956-ffa450edef68
2021-01-05 23:40:36 +00:00
Dominik Stadler
b7e9cb48d0
Bug 64132: Fix regression introduced by changing factories
...
We need to return EscherBlipRecord for all types in the defined range of recordId,
not UnknownEscherRecord.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885092 13f79535-47bb-0310-9956-ffa450edef68
2021-01-04 05:51:24 +00:00
Dominik Stadler
43e1d6eba6
Try to make Gradle build work
...
Add a dependency that is reported as missing locally with JDK 11
Combine common test-dependencies
Avoid running base-class BaseTestMissingWorkbook, only the derived class is actually a unit-test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885074 13f79535-47bb-0310-9956-ffa450edef68
2021-01-03 18:19:55 +00:00
Dominik Stadler
f34b731e3a
Allow JUnit 5 access to the parmaeters also on newer JDKs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885070 13f79535-47bb-0310-9956-ffa450edef68
2021-01-03 17:02:21 +00:00
Dominik Stadler
83383cd0b7
Ignore Font-issue with JDK 8 on Windows in another test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885069 13f79535-47bb-0310-9956-ffa450edef68
2021-01-03 17:02:18 +00:00
Dominik Stadler
fcf123fc5b
Apply some IDE suggestions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885068 13f79535-47bb-0310-9956-ffa450edef68
2021-01-03 17:02:14 +00:00
Dominik Stadler
218354f5b9
Bug 64494: Ensure "applyAlignment" in cell-styles is enabled when necessary
...
Also check it when fetching currently defined cell-alignment
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885059 13f79535-47bb-0310-9956-ffa450edef68
2021-01-03 12:01:08 +00:00
Dominik Stadler
e59e84a213
Avoid test failing on Windows with JDK 8 because of an ArrayIndexOutOfBoundsException when handling fonts
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885058 13f79535-47bb-0310-9956-ffa450edef68
2021-01-03 11:50:04 +00:00
Dominik Stadler
e08a1785c3
ooxml-schema: trigger loading stress-documents as part of the normal unit-tests
...
The integration-tests are not executed for determining the parts of the schema
to include in the "lite" package and so we need to have a normal unit-test as well.
Add more documents which drag in some more parts from the ooxml-schema
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885057 13f79535-47bb-0310-9956-ffa450edef68
2021-01-03 11:49:59 +00:00
Dominik Stadler
622574f5f4
Bug 64450: Allow to parse a file where the relationship-id is an empty string
...
Also improve exception reporting by including more information and not
"hiding" the actual exception-cause in a log-statement.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885056 13f79535-47bb-0310-9956-ffa450edef68
2021-01-03 11:49:51 +00:00