summaryrefslogtreecommitdiffstats
path: root/src/java/org
Commit message (Collapse)AuthorAgeFilesLines
* Add some more variants of HTML with preceding newline which we see frequentlyDominik Stadler2019-03-311-5/+16
| | | | | | in the large regression test corpus git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856689 13f79535-47bb-0310-9956-ffa450edef68
* Close more file-handles in tests, convert junit3 testsDominik Stadler2019-03-311-1/+1
| | | | 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-313-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856665 13f79535-47bb-0310-9956-ffa450edef68
* fix a condition not seen until a recent expansion of the stress test. ↵Greg Woolsey2019-03-311-1/+1
| | | | | | Gracefully ignore missing/invalid external sheet references in one more path (there were several already with comments like "this seems to be what Excel does in this case") git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856655 13f79535-47bb-0310-9956-ffa450edef68
* fix build issuePJ Fanning2019-03-302-4/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856649 13f79535-47bb-0310-9956-ffa450edef68
* #63292 1904 date windowing flag not used for some format casesGreg Woolsey2019-03-301-6/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856648 13f79535-47bb-0310-9956-ffa450edef68
* #63291 CellFormat global cache isn't thread-safeGreg Woolsey2019-03-303-2/+12
| | | | | | move date format synchronization down to where the problem instance is held. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856647 13f79535-47bb-0310-9956-ffa450edef68
* #63302 Formula evaluation of names with offset or row function is incorrectGreg Woolsey2019-03-301-4/+6
| | | | | | thanks to John Lincoln White for the patch, including new unit tests. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856644 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63291] support concurrent date formatting with same DataFormatterPJ Fanning2019-03-271-9/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856449 13f79535-47bb-0310-9956-ffa450edef68
* some javadoc issuesPJ Fanning2019-03-201-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855954 13f79535-47bb-0310-9956-ffa450edef68
* Remove more remnants of NPOIFSFileSystem, mostly in comments and variable namesDominik Stadler2019-03-199-31/+31
| | | | | | | 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
* [bug-63268] fix issue where CellUtil.setFont is adding unnecessary stylesPJ Fanning2019-03-191-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855806 13f79535-47bb-0310-9956-ffa450edef68
* #60724 - Partial implementation for SUBTOTAL() 'ignore hidden rows' variationsGreg Woolsey2019-03-1813-20/+165
| | | | | | | | | | 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
* Fix forbidden apis errorAndreas Beeker2019-03-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855672 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61472: Convert date/time strings to numbers when evaluating formulasYegor Kozlov2019-03-163-2/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855662 13f79535-47bb-0310-9956-ffa450edef68
* Handle possible invalid date value (#61652)Greg Woolsey2019-03-161-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855627 13f79535-47bb-0310-9956-ffa450edef68
* #63264 Conditional Format rule evaluation calculates relative references ↵Greg Woolsey2019-03-162-13/+20
| | | | | | | | 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-21/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855480 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63200: Avoid NullPointerException in XSLFShape.selectPaint() and check ↵Dominik Stadler2019-03-021-1/+4
| | | | | | some more in integration tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854639 13f79535-47bb-0310-9956-ffa450edef68
* Bug 62151: Fix warnings about illegal reflective access in Java 9+ byDominik Stadler2019-03-022-25/+214
| | | | | | | using a similar approach as Apache Hadoop via a CleanerUtil class which encapsulates the two different approaches for Java <= 8 and Java >= 9 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854630 13f79535-47bb-0310-9956-ffa450edef68
* Remove some remnants of NFileSystemDominik Stadler2019-02-234-15/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854191 13f79535-47bb-0310-9956-ffa450edef68
* Add some more testing for bug 63151: NullPointerException in ↵Dominik Stadler2019-02-231-1/+1
| | | | | | 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
* Bug 60980: Fix parsing formulas with intersections in functions argsYegor Kozlov2019-02-211-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854037 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63151] handle NPE in UnicodeStringPJ Fanning2019-02-191-6/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1853859 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63187] fix typosPJ Fanning2019-02-182-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1853787 13f79535-47bb-0310-9956-ffa450edef68
* Bug 62980: Make D* functions ignore case in headingsYegor Kozlov2019-02-091-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1853268 13f79535-47bb-0310-9956-ffa450edef68
* Adjust handling of some exceptions in regression testsDominik Stadler2019-01-273-9/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852278 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60405: Add initial support for cetab functions so some macros can beDominik Stadler2019-01-277-59/+116
| | | | | | | | 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
* pulled *Cell.setCellValue(String), setCellValue(RichTextString) to the ↵Vladislav Galas2019-01-262-34/+89
| | | | | | 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-32/+50
| | | | 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-263-35/+45
| | | | 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-263-13/+18
| | | | 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-8/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852251 13f79535-47bb-0310-9956-ffa450edef68
* made call Cell.setCellType(CellType.FORMULA) illegall. Deprecated ↵Vladislav Galas2019-01-264-8/+22
| | | | | | 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-264-7/+6
| | | | | | 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-262-0/+15
| | | | 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-19/+74
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852212 13f79535-47bb-0310-9956-ffa450edef68
* Fix some IDE warnings and JVM deprecationsDominik Stadler2019-01-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851795 13f79535-47bb-0310-9956-ffa450edef68
* follow-up to Bug 62904. More tests and improved evaluation of IF in array modeYegor Kozlov2019-01-147-54/+198
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851263 13f79535-47bb-0310-9956-ffa450edef68
* Don't fail on row-nums larger than Integer.MAX_VALUE, we had one sampleDominik Stadler2019-01-131-2/+5
| | | | | | file which triggered this git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851211 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Findbugs and IDE issues, refactor some duplicated code,Dominik Stadler2019-01-135-65/+90
| | | | | | 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
* Bug 62810: AreaReference ctor looses sheet name if rows or columns swappedDominik Stadler2019-01-131-5/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851209 13f79535-47bb-0310-9956-ffa450edef68
* IDE and JavaDoc fixes, move/remove some unfixed testsDominik Stadler2019-01-117-35/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851089 13f79535-47bb-0310-9956-ffa450edef68
* unified setCellType(null/_NONE) logic, setCellFormula(null) logic. updated ↵Vladislav Galas2019-01-075-70/+220
| | | | | | javadoc and tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850676 13f79535-47bb-0310-9956-ffa450edef68
* Bug 62904: Support array arguments in IF and logical IS*** functionsYegor Kozlov2019-01-079-97/+257
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850646 13f79535-47bb-0310-9956-ffa450edef68
* throw IllegalArgumnetException if null directory specifiedPJ Fanning2019-01-041-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850394 13f79535-47bb-0310-9956-ffa450edef68
* Bug 62993: XSSFEvaluationSheet now retrieves valid last row index from ↵Vladislav Galas2019-01-031-4/+1
| | | | | | 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-021-1/+1
| | | | | | | 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
* #63047 - Make POILogger subclassableAndreas Beeker2018-12-314-204/+145
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850040 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60460: Handle null workbook or sheet names and emit #REF as Excel doesDominik Stadler2018-12-303-76/+107
| | | | | | instead of throwing NullPointerException git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850008 13f79535-47bb-0310-9956-ffa450edef68