PJ Fanning
e81a348864
add null check for XSLFShape
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868318 13f79535-47bb-0310-9956-ffa450edef68
4 years ago
PJ Fanning
1f6a3c99ae
add null check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868317 13f79535-47bb-0310-9956-ffa450edef68
4 years ago
PJ Fanning
97c21e31b1
[bug-63774] adding lots of custom properties can cause performance issues due to way Pid is calculated
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1867597 13f79535-47bb-0310-9956-ffa450edef68
4 years ago
PJ Fanning
06f28db213
Bug 63768: Adjust handling of SchemaFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1867484 13f79535-47bb-0310-9956-ffa450edef68
4 years ago
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
4 years ago
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
4 years ago
Dominik Stadler
ba66108653
Close file-resources in unit-tests, fix IDE warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1865208 13f79535-47bb-0310-9956-ffa450edef68
4 years ago
Dominik Stadler
0619e7ebfb
Bug 63657: Rework the for bug #62130 to not use up twice as much memory when writing documents.
Unfortunately XMLBeans is very tricky to use here, mainly the fact that setCArray does not replace the internal objects, but copies the content into the currently held objects makes it rather hard to do this right.
Therefore we now try to keep the existing objects and only replace the content as required to
have a stable ordering of cells in the row-XML structure.
This also fixes removing cells from rows to avoid invalid situations and
correctly free CTCellImpl instances.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1864977 13f79535-47bb-0310-9956-ffa450edef68
4 years ago
PJ Fanning
958f72caae
add some missing classes to poi-ooxml-schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863753 13f79535-47bb-0310-9956-ffa450edef68
4 years ago
PJ Fanning
9bd1a6348a
add some missing classes to poi-ooxml-schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863752 13f79535-47bb-0310-9956-ffa450edef68
4 years ago
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
4 years ago
PJ Fanning
4fbad5c3f7
[github-150] XWPFPicture: easy access to width and depth. Thanks to Thibaut Cuvelier. This closes #150
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863434 13f79535-47bb-0310-9956-ffa450edef68
4 years ago
PJ Fanning
ea58359b7c
[github-153] XWPFParagraph: easier way to create a link. Thanks to Thibaut Cuvelier. This closes #153
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863433 13f79535-47bb-0310-9956-ffa450edef68
4 years ago
PJ Fanning
10b5a462dc
[github-157] add setters for ExtendedProperties. Thanks to Thibaut Cuvelier. This closes #157
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863432 13f79535-47bb-0310-9956-ffa450edef68
4 years ago
PJ Fanning
65c4aafe3e
[github-156] add setKeepNext to XWPFParagraph. Thanks to Thibaut Cuvelier.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863182 13f79535-47bb-0310-9956-ffa450edef68
4 years ago
Andreas Beeker
0df618c109
omit png output on test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1861953 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Andreas Beeker
861988bac3
Bug 60656 - EMF image support in slideshows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1861952 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Dominik Stadler
9cde034ab9
Bug 62906 and 63401: Ensure tables have an initial name which does not conflict with
existing names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1861819 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Dominik Stadler
16779b96e5
Fix IDE warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1861818 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Dominik Stadler
50874d9d0d
Bug 63509: Allow to format a CellReference without sheet-name for ignoredErrors.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1861817 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
d20bc98f70
[bug-63498] NPE when calling getShapeName on XSLFTableCell. Thanks to Mate Borcsok.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1861172 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
5e33bd4b29
[github-151] XWPFRun: allow style retrieval. This closes #151
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1860464 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
8638dbf9b8
[bug-63463] ignore forbiddenapis in new testcase
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1860422 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
680d655435
[bug-63463] add tests fix issue with shifting rows (failing tests ignored). Thanks to David Gauntt.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1860419 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Alain Béarez
093cbcfcca
code cleanup plus fix for bug 63153
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859590 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Dominik Stadler
1a3e69fe16
Include actual found type in exception when encountering unexpected type of file in ExtractorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859565 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
2ae5198ff7
[github-145] issue in PackagingURIHelper.encode. Thanks to @greedbell. This closes #145
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859160 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
8d9378a867
[bug-63404] add description to assemble target
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858773 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
dfbf788201
[bug-62906] ensure table display name is always set
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858179 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Dominik Stadler
bd8fab1196
Close more file-handles in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858024 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Dominik Stadler
37ec3380ae
Bug 63371: addMergedRegion does not update CTMergeCells.getCount
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858022 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Dominik Stadler
cd52566c98
Bug 63073: Adjust returned index of merged regions and verify all calls in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858021 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Andreas Beeker
e2cd384259
#54803 - Error opening XLSX after saving with a Drawing using POI
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857663 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
bdc3b391fd
[bug-63344] add TempFilePOIFSFileSystem
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857461 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Dominik Stadler
b88c6b12e5
Improve error message slightly and verify error when a File is passed in
as "Object"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857067 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Dominik Stadler
9b726e88b7
Close more file-handles in tests and convert some more tests to junit-4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857066 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Dominik Stadler
097fd7a5e2
Close more file-handles in tests, convert junit3 tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856688 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Greg Woolsey
389946bb31
fix unit test that I merged wrong.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856653 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Greg Woolsey
6b76706ef7
#61700 getForceFormulaRecalculation() returns wrong value
changed to use the proper OOXML attribute instead of a hack about calculation engine version ID. Reporter was right, the behavior was wrong in some cases, but it turns out the fix was a bit more. See issue for details.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856652 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
b9101138bd
[bug-61700] getForceFormulaRecalculation() returns wrong value. Fix thanks to Kai G
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856650 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Dominik Stadler
40f8d119c7
Remove more remnants of NPOIFSFileSystem, mostly in comments and variable names
This avoids confusion if people look at this code in the future without knowledge
about the historical transition from java.io to java.nio
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855873 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Greg Woolsey
1dbcef88f9
Fix a unit test that changed with the implementation of another function.
Didn't fail for me because I hadn't noticed the Eclipse classpath was out of date wrt some dependency versions, and therefore my local code was not compiling properly, meaning my test run ran old code and passed this one when it should have failed.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855792 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Greg Woolsey
8225326b56
#63264 Conditional Format rule evaluation calculates relative references incorrectly
Fixing the offset calculation and passing the top-left-most region rather than the region matching the current cell fixed these cases. I've augmented unit tests to check for them to avoid future regressions.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855619 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Dominik Stadler
ef369931e2
Bug 63221: Add margin-settings for top, bottom, left and right to XSSFPrintSetup
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855154 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Dominik Stadler
5329f25b0a
Adjust test to not fail with Xerces XML Parser, fix some IDE warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855139 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
d6b5e936e9
[bug-63240] make SAXHelper.newXMLReader non-synchronized]
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854941 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
0786ae5b57
[bug-63240] make DocumentHelper.newDocumentBuilder non-synchronized]
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854935 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Dominik Stadler
302228dc24
Close more file-handles in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854718 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Dominik Stadler
4c017a0e27
Fix a regression test failure, toString() should never return null
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854717 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
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
5 years ago