Dominik Stadler
0498d7ef3a
Add one more file-type to the integration tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868979 13f79535-47bb-0310-9956-ffa450edef68
2019-10-26 05:26:40 +00:00
PJ Fanning
ba6a63aaeb
xlsx is expected to fail in integration test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1867493 13f79535-47bb-0310-9956-ffa450edef68
2019-09-24 20:12:06 +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
Dominik Stadler
8808bf7b72
ExcelComparator: Adjust iterating rows/columns
...
Run this sample as part of the integration tests
Open the files read-only to not re-write them with changed content
Add null-checks and use toString() to prevent exceptions with certain files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1860688 13f79535-47bb-0310-9956-ffa450edef68
2019-06-05 20:28:07 +00:00
Dominik Stadler
d3b794de7a
Add helper class for mass-regression-tests which scans a directory and provides
...
the matching FileHandlers for each found file.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1860686 13f79535-47bb-0310-9956-ffa450edef68
2019-06-05 20:27:54 +00:00
PJ Fanning
2343919656
try to fix integration tests (by ignoring some new msg files)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1860155 13f79535-47bb-0310-9956-ffa450edef68
2019-05-27 17:46:41 +00:00
Dominik Stadler
a9b2a8b2bd
Bug 63200: Avoid NullPointerException in XSLFShape.selectPaint() and check some more in integration tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854639 13f79535-47bb-0310-9956-ffa450edef68
2019-03-02 12:28:19 +00:00
Dominik Stadler
8c6e95f597
Add some more testing for bug 63151: NullPointerException in HSSFOptimiser.optimiseFonts(), also execute it as part of large regression tests in the future
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854190 13f79535-47bb-0310-9956-ffa450edef68
2019-02-23 07:51:57 +00:00
Dominik Stadler
34d6410bc1
Adjust BaseIntegrationTest some more to better handle invalid file extensions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854189 13f79535-47bb-0310-9956-ffa450edef68
2019-02-23 07:51:48 +00:00
Dominik Stadler
e8ed5e3a8c
Adjust handling of some exceptions in regression tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852278 13f79535-47bb-0310-9956-ffa450edef68
2019-01-27 09:57:49 +00:00
Dominik Stadler
c376d662f9
Bug 60405: Add initial support for cetab functions so some macros can be
...
parsed
Add some function-definitions for Excel 4 Macros and missing functions
found in regression tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852277 13f79535-47bb-0310-9956-ffa450edef68
2019-01-27 09:57:39 +00:00
Dominik Stadler
db14c353fc
Fix some Findbugs and IDE issues, refactor some duplicated code,
...
improve some exception texts, add comment for missing Ptg for SxName
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851210 13f79535-47bb-0310-9956-ffa450edef68
2019-01-13 17:14:24 +00:00
Dominik Stadler
32c43c068c
IDE and JavaDoc fixes, move/remove some unfixed tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851089 13f79535-47bb-0310-9956-ffa450edef68
2019-01-11 19:31:05 +00:00
Dominik Stadler
85d6f81076
Bug 60460: Handle null workbook or sheet names and emit #REF as Excel does
...
instead of throwing NullPointerException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850008 13f79535-47bb-0310-9956-ffa450edef68
2018-12-30 22:44:40 +00:00
Andreas Beeker
c039da1b94
#63028 - Provide font embedding for slideshows
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849898 13f79535-47bb-0310-9956-ffa450edef68
2018-12-28 23:43:31 +00:00
PJ Fanning
17a7cb609b
[bug-63005] ignore openxml4j/ContentTypeHasEntities.ooxml
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849128 13f79535-47bb-0310-9956-ffa450edef68
2018-12-17 20:57:52 +00:00
Andreas Beeker
150a00654e
#62365 - SVG image support in XSLF
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849046 13f79535-47bb-0310-9956-ffa450edef68
2018-12-16 21:02:01 +00:00
Andreas Beeker
abe662db86
merge trunk
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hemf@1849036 13f79535-47bb-0310-9956-ffa450edef68
2018-12-16 16:51:08 +00:00
Andreas Beeker
2a84c1fa16
ignore keystore files on integration test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1848975 13f79535-47bb-0310-9956-ffa450edef68
2018-12-15 01:24:27 +00:00
Andreas Beeker
fce876b4ef
merge trunk
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hemf@1848906 13f79535-47bb-0310-9956-ffa450edef68
2018-12-14 00:44:40 +00:00
Andreas Beeker
aad955d3bf
Fix exception for old powerpoint documents without the usual stream name
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847442 13f79535-47bb-0310-9956-ffa450edef68
2018-11-25 23:01:54 +00:00
Dominik Stadler
d28720afd0
Add test for FileMagic
...
JavaDoc warning fixes
Remove some IDE warnings
Reformat code of sample application
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847437 13f79535-47bb-0310-9956-ffa450edef68
2018-11-25 21:56:43 +00:00
Andreas Beeker
30d4934edc
merge trunk
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hemf@1847069 13f79535-47bb-0310-9956-ffa450edef68
2018-11-20 22:24:26 +00:00
Andreas Beeker
867bca06ee
Try to workaround/ignore kept open files of JaCoCo ant task
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846945 13f79535-47bb-0310-9956-ffa450edef68
2018-11-19 20:47:03 +00:00
Andreas Beeker
655c24dcb5
Remove/Minimize references to Scratchpad module from other modules
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846931 13f79535-47bb-0310-9956-ffa450edef68
2018-11-19 18:00:42 +00:00
Andreas Beeker
8c12df7270
#62921 - Provide OOXMLLite alternative for Java 12+
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846870 13f79535-47bb-0310-9956-ffa450edef68
2018-11-18 22:09:44 +00:00
Andreas Beeker
5073f22fce
#60656 - Support export file that contains emf and render it correctly
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hemf@1841712 13f79535-47bb-0310-9956-ffa450edef68
2018-09-23 01:58:40 +00:00
PJ Fanning
ede566d9c0
try to fix TestAllFiles
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837716 13f79535-47bb-0310-9956-ffa450edef68
2018-08-09 11:09:45 +00:00
PJ Fanning
54c923bdb9
exclude broken pptx file from integration test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837013 13f79535-47bb-0310-9956-ffa450edef68
2018-07-30 01:55:09 +00:00
Andreas Beeker
d193426a1d
#59268 - Work on providing an updated version of XMLBeans
...
(imported from https://github.com/apache/poi/pull/113 )
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1834165 13f79535-47bb-0310-9956-ffa450edef68
2018-06-22 21:25:00 +00:00
PJ Fanning
043b58811b
[bug-62435] Rename getAllEmbedds method to getAllEmbeddedParts
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1833090 13f79535-47bb-0310-9956-ffa450edef68
2018-06-06 22:30:57 +00:00
PJ Fanning
3d756a7bd3
[bug-62435] Rename getAllEmbedds method to getAllEmbeddedParts (getAllEmbedds is retained but deprecated)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1833059 13f79535-47bb-0310-9956-ffa450edef68
2018-06-06 16:51:13 +00:00
Andreas Beeker
1e0c76f276
#62187 - missing lib reference on integration build
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1832974 13f79535-47bb-0310-9956-ffa450edef68
2018-06-05 21:22:33 +00:00
Andreas Beeker
cdb3de9dc0
#62355 - unsplit packages - 3 - only imports
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1832360 13f79535-47bb-0310-9956-ffa450edef68
2018-05-27 22:13:31 +00:00
Andreas Beeker
0c35761317
#62355 - unsplit packages - 2 - modified classes (not only imports)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1832359 13f79535-47bb-0310-9956-ffa450edef68
2018-05-27 22:01:33 +00:00
Andreas Beeker
e816131759
#62319 - Decommission XSLF-/PowerPointExtractor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1829653 13f79535-47bb-0310-9956-ffa450edef68
2018-04-20 12:52:59 +00:00
Dominik Stadler
4b7d19bcfe
Try to avoid one NPE that popped up in commoncrawl-corpus tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828375 13f79535-47bb-0310-9956-ffa450edef68
2018-04-04 19:40:54 +00:00
Dominik Stadler
7d8da8ea59
Bug 61267: detect Word v2 files and report that they are not supported in Apache POI
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828176 13f79535-47bb-0310-9956-ffa450edef68
2018-04-02 17:15:42 +00:00
Dominik Stadler
89e7fbe6cd
Bug 61911: Avoid IndexOutOfBounds access when reading pictures
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1819403 13f79535-47bb-0310-9956-ffa450edef68
2017-12-28 08:45:36 +00:00
Dominik Stadler
62c8296c70
Fix IntelliJ warnings and code formatting, generalize ExcelToHtmlUtils, use try-with-resources, update/enhance JavaDoc somewhat
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1819402 13f79535-47bb-0310-9956-ffa450edef68
2017-12-28 08:45:26 +00:00
PJ Fanning
819eac1f82
use StandardCharsets
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1818628 13f79535-47bb-0310-9956-ffa450edef68
2017-12-19 00:23:52 +00:00
Andreas Beeker
f182b44c62
remove package name to ease the output
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1817600 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 12:06:59 +00:00
Dominik Stadler
ce77cd6270
Bug #57517 : Fix various things in HSSFOptimiser to make many more cases work fine: Column styles, row styles, user defined styles, ...
...
Also call optimise in integration-tests and handle some cases of invalid content in files.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1814373 13f79535-47bb-0310-9956-ffa450edef68
2017-11-05 20:33:28 +00:00
Dominik Stadler
56254a17c4
Add some more code from the separate integration test project to be able to publish the femaining functionality as separate project at some point
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1811144 13f79535-47bb-0310-9956-ffa450edef68
2017-10-04 19:54:21 +00:00
Dominik Stadler
e504e87873
Remove deprecated methods from NPOIFSFileSystem/OPOIFSFileSystem
...
IntelliJ warnings/suggestions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808622 13f79535-47bb-0310-9956-ffa450edef68
2017-09-17 11:08:45 +00:00
Dominik Stadler
467053d91c
Various code cleanups, "final" for static methods is useless, for-loops, simplify boolean conditions, try-with-resource, javadoc, ...
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808620 13f79535-47bb-0310-9956-ffa450edef68
2017-09-17 11:08:23 +00:00
Dominik Stadler
0cfa1ede4c
Remove unnecessary type arguments (Java 8)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808516 13f79535-47bb-0310-9956-ffa450edef68
2017-09-16 08:27:23 +00:00
Dominik Stadler
32370cfd1c
Remove unnecessary initialization of members
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808510 13f79535-47bb-0310-9956-ffa450edef68
2017-09-16 08:22:59 +00:00
Dominik Stadler
e69fbd6270
Allow to produce a jar for the integration-test-code so we can use it directly in the mass-regression tests without having to copy it for every run.
...
Enable some forbidden-api-checks for integration-test code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808506 13f79535-47bb-0310-9956-ffa450edef68
2017-09-16 08:20:50 +00:00
Dominik Stadler
bcafee36cc
Adjust local test in integration-test file-handler
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808505 13f79535-47bb-0310-9956-ffa450edef68
2017-09-16 08:20:44 +00:00