Dominik Stadler
235f3e059c
Remove unnecesssary semicolons
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849761 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Dominik Stadler
f6eab84243
Simplify some string operations
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849760 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Dominik Stadler
19884d0ca3
Code-style: Unify how arrays are specified from C-style to normal Java-style
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849716 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Andreas Beeker
6c5a2de640
#62886 - Regression extracting text from corrupted docx files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849252 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Andreas Beeker
9eea29da5b
#63017 - Remove rows from a XSLFTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849244 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
1a25ff4dce
[bug-63013] add XWPFRun setLang method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849152 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Andreas Beeker
9f3c99c25c
only refactorings to break up the long method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849130 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
d1400559f8
[bug-63005] disable the reading of DTDs altogether
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849123 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Andreas Beeker
3452ea963d
changed to bouncer pattern - to match also the rest of the code
see https://softwareengineering.stackexchange.com/questions/18454/should-i-return-from-a-function-early-or-use-an-if-statement
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849074 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
bb7ffebe0f
add null check in XLSFPictureShape
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849069 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
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
5 years ago
Andreas Beeker
8d51a39edd
fix constructor after its delegated now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849041 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Andreas Beeker
d45ec541cd
#62365 - SVG image support in XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849030 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Andreas Beeker
17ce79b69c
#63011 - Multiple digital signature in excel file broke first signature
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1848974 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Andreas Beeker
fce876b4ef
merge trunk
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hemf@1848906 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Andreas Beeker
397e568656
#62994 - IBM JCE workarounds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1848538 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Andreas Beeker
dc3c437d14
#62953 - Rendering of FreeformShapes with formula fails
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1848492 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
740a756a3f
lgtm issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1848438 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Alain Béarez
ef75a6d2d2
create chart from scratch by sandeeptiwari32
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1848432 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
3c313a7f66
[bug-57342] add SXSSFWorkbook setZip64Mode method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1848179 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Andreas Beeker
e96aae8be4
#60713 - (S)XSSFWorkbook/POIXMLDocument.write(OutputStream) closes the OutputStream
regression
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847438 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
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
5 years ago
Tim Allison
8e427c1806
bug 60316 -- skip the glossary document, not the template document.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847263 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
c199dfc3b6
tidy up code formatting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847012 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
96308eb512
[bug-62929] add null check for blip fill. Thanks to Mate Borcsok
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847004 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
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
5 years ago
PJ Fanning
46f6c45f6c
put back XSSFColor(java.awt.Color clr) constructor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846701 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
f006c8ee6b
add testcase for https://bz.apache.org/bugzilla/show_bug.cgi?id=62906
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846489 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Andreas Beeker
4d543f165d
Bug 62872 - Writing large files with 800k rows gives java.io.IOException: This archive contains unclosed entries.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845629 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Tim Allison
341f456ef7
bug 60316 -- until we can implement it properly, gracefully skip the glossary document in XWPF.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845517 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Dominik Stadler
d7649a2831
IDE warnings, tried to reproduce Bug 58927, but could not
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845434 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Tim Allison
af9142e4b7
bug 62859 -- fix two potential NPEs when initializing XWPFSDTContent
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844920 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Dominik Stadler
a8fd70ec7f
Adjust sample for creating comments to also create a .xlsx file
Enhance workbook factory to allow to create new empty workbooks as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844881 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
59ee53ca71
fix class cast issur recently introduced in BaseXSSFFormulaEvaluator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844311 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Greg Woolsey
6b433ae8b3
#62834 FormulaEvaluator.evaluateInCell() throws Exception
added cell type = formula check when looping through the shared formula range, to ignore any non-formula cells.
Also refactored a bit to enable passing in the evaluation context, as getCellFormula() uses it behind the scenes when evaluating a shared formula cell (has to shift the formula references based on the master cell). Review of these changes is welcome, as always.
Checked all other code referencing the "SHARED" enum, and didn't see anything else that dealt with formula cell values and thus would need to notice non-formula cells.
Added unit test based on the failing file from Bugzilla. Test failed until the fixed code was in place.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844295 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Tim Allison
870c1b2cf5
62815 -- some numeric values not correctly extracted from xlsb
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1843553 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Alain Béarez
65b7c9e273
fix most alerts reported by LGTM on OOXML
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1843481 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Andreas Beeker
616f8127cf
Bug 60713 - (S)XSSFWorkbook/POIXMLDocument.write(OutputStream) closes the OutputStream
regression - when reading the input from a zip stream
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hemf@1843341 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
e07b0284cf
[bug-62807] fix typo in XSLFTableCell#removeBorder
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1843180 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
45bcbd9828
use jaxp transformer instead of dom serializer to try fix old-xerces test failure
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842974 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Alain Béarez
5821b3b32c
adding tricks from other answers on StackOverflow
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842959 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Alain Béarez
cffa31ed62
example from StackOverflow question 47065690
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842925 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Alain Béarez
f446df6f66
more XDDF improvements based on SO examples
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842876 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
621de405a6
[bug-62800] Fix null pointer exception if a picture shape has no blip id
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842782 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Alain Béarez
b8248ceb1b
XDDF improvements based on StackOverflow examples
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842728 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Alain Béarez
28d561fc50
change chart data to experiment diverse scripts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842687 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
8a2b2f7fef
deprecate unused Nullable class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842684 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
95b00fda0b
rename xmlbeans job
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842663 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
PJ Fanning
63c25f927e
[bug-62796] remove use of Stax Namespace class from PackagePropertiesMarshaller
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842647 13f79535-47bb-0310-9956-ffa450edef68
5 years ago
Alain Béarez
5199f75fe3
extract valuable code from 54470 submitted patch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842548 13f79535-47bb-0310-9956-ffa450edef68
5 years ago