summaryrefslogtreecommitdiffstats
path: root/src/ooxml
Commit message (Collapse)AuthorAgeFilesLines
* try to fix javadoc issuesPJ Fanning2019-04-051-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856994 13f79535-47bb-0310-9956-ffa450edef68
* Close more file-handles in tests, convert junit3 testsDominik Stadler2019-03-314-661/+676
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856688 13f79535-47bb-0310-9956-ffa450edef68
* replace version number 4.0.2PJ Fanning2019-03-312-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856665 13f79535-47bb-0310-9956-ffa450edef68
* fix unit test that I merged wrong.Greg Woolsey2019-03-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856653 13f79535-47bb-0310-9956-ffa450edef68
* #61700 getForceFormulaRecalculation() returns wrong valueGreg Woolsey2019-03-312-11/+9
| | | | | | 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
* [bug-61700] getForceFormulaRecalculation() returns wrong value. Fix thanks ↵PJ Fanning2019-03-302-2/+24
| | | | | | to Kai G git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856650 13f79535-47bb-0310-9956-ffa450edef68
* fix build issuePJ Fanning2019-03-301-7/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856649 13f79535-47bb-0310-9956-ffa450edef68
* upgrade xmlsec, slf4j, batikPJ Fanning2019-03-211-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855990 13f79535-47bb-0310-9956-ffa450edef68
* upgrade bouncycastle and curvesapiPJ Fanning2019-03-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855978 13f79535-47bb-0310-9956-ffa450edef68
* remove unncessary synchronizationPJ Fanning2019-03-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855956 13f79535-47bb-0310-9956-ffa450edef68
* Remove more remnants of NPOIFSFileSystem, mostly in comments and variable namesDominik Stadler2019-03-192-4/+4
| | | | | | | 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
* Fix a unit test that changed with the implementation of another function.Greg Woolsey2019-03-181-12/+2
| | | | | | 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
* #60724 - Partial implementation for SUBTOTAL() 'ignore hidden rows' variationsGreg Woolsey2019-03-182-0/+20
| | | | | | | | | | The function still doesn't deal with auto-filtering, but it now handles variations that should skip hidden rows. Taught the evaluation framework to know about hidden rows similar to what was already there for skipping subtotals within subtotal ranges. Added unit test cases. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855789 13f79535-47bb-0310-9956-ffa450edef68
* #63264 Conditional Format rule evaluation calculates relative references ↵Greg Woolsey2019-03-161-0/+23
| | | | | | | | 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
* fix some cases where iterator usage does not check hasNextPJ Fanning2019-03-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855480 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63221: Add margin-settings for top, bottom, left and right to XSSFPrintSetupDominik Stadler2019-03-102-52/+161
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855154 13f79535-47bb-0310-9956-ffa450edef68
* Adjust test to not fail with Xerces XML Parser, fix some IDE warningsDominik Stadler2019-03-104-23/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855139 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63240] make SAXHelper.newXMLReader non-synchronized]PJ Fanning2019-03-063-1/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854941 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63240] make DocumentHelper.newDocumentBuilder non-synchronized]PJ Fanning2019-03-062-1/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854935 13f79535-47bb-0310-9956-ffa450edef68
* Close more file-handles in testsDominik Stadler2019-03-036-655/+658
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854718 13f79535-47bb-0310-9956-ffa450edef68
* Fix a regression test failure, toString() should never return nullDominik Stadler2019-03-035-91/+100
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854717 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63200: Avoid NullPointerException in XSLFShape.selectPaint() and check ↵Dominik Stadler2019-03-023-2/+20
| | | | | | some more in integration tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854639 13f79535-47bb-0310-9956-ffa450edef68
* Close file-handles for slideshows also when construction fails or when ↵Dominik Stadler2019-02-2317-721/+782
| | | | | | | | dual-storage is used Also avoid file-leak reports in some tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854192 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63029: revert handling NotOfficeXmlFileException in ZipPackage as this ↵Yegor Kozlov2019-02-132-2/+9
| | | | | | change broke the build git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1853474 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63029: OPCPackage Potentially clobbers files on close() Yegor Kozlov2019-02-122-3/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1853454 13f79535-47bb-0310-9956-ffa450edef68
* Fix some IDE warnings and better output in unit testDominik Stadler2019-01-271-23/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852280 13f79535-47bb-0310-9956-ffa450edef68
* pulled *Cell.setCellValue(String), setCellValue(RichTextString) to the ↵Vladislav Galas2019-01-263-87/+51
| | | | | | common base git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852255 13f79535-47bb-0310-9956-ffa450edef68
* pulled *Cell.setCellValue(Date) and setCellValue(Calendar) to the common baseVladislav Galas2019-01-262-71/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852254 13f79535-47bb-0310-9956-ffa450edef68
* pulled *Cell.setCellValue(double) to the common baseVladislav Galas2019-01-262-40/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852253 13f79535-47bb-0310-9956-ffa450edef68
* pulled *Cell.getCellTypeEnum() to common baseVladislav Galas2019-01-262-34/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852252 13f79535-47bb-0310-9956-ffa450edef68
* pulled *Cell.getAddress to common baseVladislav Galas2019-01-262-16/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852251 13f79535-47bb-0310-9956-ffa450edef68
* purged usages of Cell.setCellType (left only in tests, where conversions are ↵Vladislav Galas2019-01-266-22/+5
| | | | | | tested) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852247 13f79535-47bb-0310-9956-ffa450edef68
* made call Cell.setCellType(CellType.FORMULA) illegall. Deprecated ↵Vladislav Galas2019-01-266-18/+35
| | | | | | Cell.setCellType(). Purged all redundant calls from project. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852246 13f79535-47bb-0310-9956-ffa450edef68
* purged calls to cell.setCellType(CellType.BLANK) from the project, replaced ↵Vladislav Galas2019-01-266-12/+12
| | | | | | with setBlank() git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852245 13f79535-47bb-0310-9956-ffa450edef68
* added Cell.setBlank() - as an alias, for nowVladislav Galas2019-01-261-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852244 13f79535-47bb-0310-9956-ffa450edef68
* setCellFormula: blank cell gets value 0, non-blank value is preservedVladislav Galas2019-01-263-88/+140
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852212 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Findbugs and IDE issues, refactor some duplicated code,Dominik Stadler2019-01-134-31/+21
| | | | | | 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
* Add reproducer for bug 60355Dominik Stadler2019-01-131-3/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851208 13f79535-47bb-0310-9956-ffa450edef68
* IDE and JavaDoc fixes, move/remove some unfixed testsDominik Stadler2019-01-116-55/+48
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851089 13f79535-47bb-0310-9956-ffa450edef68
* Add one more test for bug 62828 and fix some IDE warningsDominik Stadler2019-01-112-27/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851088 13f79535-47bb-0310-9956-ffa450edef68
* Bug #60977 writing XSSF with custom properties twice corrupts outputGreg Woolsey2019-01-112-0/+73
| | | | | | | | turns out the output XML data buffer for the custom properties document was appended to, not replaced, when writing in the presence of existing content. Now clearing output buffer first in this case. When first creating custom properties, i.e. first write after changes, there is no buffer yet, so nothing to clear. Does not affect any read operations, or other writes beyond custom properties, as that was where the problem lay, not down in the Zip stuff. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851084 13f79535-47bb-0310-9956-ffa450edef68
* unified setCellType(null/_NONE) logic, setCellFormula(null) logic. updated ↵Vladislav Galas2019-01-074-66/+85
| | | | | | javadoc and tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850676 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63057: made SXSSFCell.setCellValue(String|RichTextString) exception-safe.Vladislav Galas2019-01-041-21/+14
| | | | | | Also removed unused code. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850342 13f79535-47bb-0310-9956-ffa450edef68
* Improved test coverage for *Cell classesVladislav Galas2019-01-042-3/+71
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850338 13f79535-47bb-0310-9956-ffa450edef68
* Bug 62993: XSSFEvaluationSheet now retrieves valid last row index from ↵Vladislav Galas2019-01-035-14/+58
| | | | | | underlying XSSFSheet. Thanks to Axel Howind. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850212 13f79535-47bb-0310-9956-ffa450edef68
* Bug 62828: CellReference(Cell) now initializes sheet name.Vladislav Galas2019-01-025-12/+12
| | | | | | | Changed CellReference to CellAddress in XSSFHyperlink because it is what it should return. Updated all relevant tests, added a test for CellReference(Cell). git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850210 13f79535-47bb-0310-9956-ffa450edef68
* Bug 62307: made Cell#getNumericCellValue() behavior consistent across ↵Vladislav Galas2019-01-021-6/+6
| | | | | | HSSF/XSSF/SXSSF.\nAll three implementations throw ISE when trying to get numeric value from a boolean-valued cell, have it a formula set or not. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850207 13f79535-47bb-0310-9956-ffa450edef68
* Add missing revert() in OPCPackage to close Zip-streams alwaysDominik Stadler2019-01-011-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850115 13f79535-47bb-0310-9956-ffa450edef68
* Add missing file-close in ZipInputStreamZipEntrySource seen in some mass ↵Dominik Stadler2019-01-011-2/+8
| | | | | | regression tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850114 13f79535-47bb-0310-9956-ffa450edef68
* fix since annotationPJ Fanning2018-12-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850048 13f79535-47bb-0310-9956-ffa450edef68