aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/ss/util
Commit message (Collapse)AuthorAgeFilesLines
* 65206 - Migrate ant / maven to gradle buildAndreas Beeker2021-03-2727-6886/+0
| | | | | | | | update gradle files and project structure along https://github.com/centic9/poi/tree/gradle_build remove eclipse IDE project files remove obsolete record generator files git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888111 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63046] Use Log4j 2 for loggingMarius Volkhart2021-02-213-35/+23
| | | | | | | | | | This removes the POILogger and POILogFactory mechanism for logging. This mechanism was created at a time when the Java landscape looked very different than it does today. Log4j 2 is an Apache Foundation project that is well maintained and is widely regarded as having good performance and capabilities. We use only the Log4j API artifact. This lets application developers choose how they want to capture logging events if at all. Integrations with Log4j 2 Core and Logback are available from the Log4j project. Closes #224 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886770 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2021-01-231-8/+10
| | | | | | add asserts to tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885859 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2021-01-172-6/+6
| | | | | | | constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$' reorder "final static" -> "static final" git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885613 13f79535-47bb-0310-9956-ffa450edef68
* Apply some IDE suggestions and fix some JavaDocDominik Stadler2021-01-011-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885012 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2020-12-261-14/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884807 13f79535-47bb-0310-9956-ffa450edef68
* #65026 - Migrate tests to Junit 5Andreas Beeker2020-12-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884783 13f79535-47bb-0310-9956-ffa450edef68
* avoid string concatsPJ Fanning2020-12-171-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884574 13f79535-47bb-0310-9956-ffa450edef68
* avoid string concatsPJ Fanning2020-12-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884572 13f79535-47bb-0310-9956-ffa450edef68
* remove more deprecated codePJ Fanning2020-12-091-8/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884263 13f79535-47bb-0310-9956-ffa450edef68
* remove more deprecated codePJ Fanning2020-12-092-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884259 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated codePJ Fanning2020-12-081-9/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884225 13f79535-47bb-0310-9956-ffa450edef68
* Prevent some unit-tests from failing when non-English local is used in Maven runDominik Stadler2020-10-251-2/+7
| | | | | | Also improve the error message when parsing the date fails. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882825 13f79535-47bb-0310-9956-ffa450edef68
* [github-189] Move date parsing logic to DateParser. Thanks to Miłosz ↵PJ Fanning2020-08-111-0/+133
| | | | | | Rembisz. This closes #189 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880777 13f79535-47bb-0310-9956-ffa450edef68
* use BigInteger.valueOfPJ Fanning2020-07-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879937 13f79535-47bb-0310-9956-ffa450edef68
* #63745 - Add traversing and debugging interface to HSSFAndreas Beeker2020-04-123-15/+49
| | | | | | | | | | This makes toString() implementations obsolete. This also contains preparation for #64036 to (maybe) change the record factory interface of HSSF. Remove duplicated record SeriesToChartGroupRecord, which is a duplicate of SeriesChartGroupIndexRecord. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876433 13f79535-47bb-0310-9956-ffa450edef68
* Sonar FixesAndreas Beeker2020-03-291-17/+3
| | | | | | | - name clashes with constants - missing break in switch statements git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875863 13f79535-47bb-0310-9956-ffa450edef68
* Sonar FixesAndreas Beeker2020-03-291-1/+1
| | | | | | | | | - use String.replace instead of String.replaceAll for literal values - use constants from base class - deprecated various references to constants of org.apache.poi.ss.usermodel.FontFormatting - to be replaced by o.a.p.s.u.Font in POI 5.0.0 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875859 13f79535-47bb-0310-9956-ffa450edef68
* #64213 - Picture.resize(double scale) scales width wrong for small pictures ↵Andreas Beeker2020-03-161-108/+110
| | | | | | and when dx1 is set git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875266 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58896 and 52834: Cache Sheet.getMergedRegions() as it seems to sometimes ↵Dominik Stadler2020-03-081-12/+35
| | | | | | be the culprit for autosize taking a very long time. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874973 13f79535-47bb-0310-9956-ffa450edef68
* use indexOf(char) instead of indexOf(String) where possible; replace one ↵Axel Howind2020-02-201-1/+1
| | | | | | more StringBuffer with StringBuilder - bug 63805 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874262 13f79535-47bb-0310-9956-ffa450edef68
* reformat codePJ Fanning2020-01-091-134/+136
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872568 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63998] Support commas, exclamation marks correctly in AreaReference. ↵PJ Fanning2020-01-091-13/+32
| | | | | | Thanks to hzwhuang git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872567 13f79535-47bb-0310-9956-ffa450edef68
* Replace custom hashCode code with Objects.hash() / Arrays.deepHashCode()Andreas Beeker2019-12-231-11/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871913 13f79535-47bb-0310-9956-ffa450edef68
* #64004 - Replace clone() with copy constructor - mainly HSSF classesAndreas Beeker2019-12-223-70/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871911 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63927 - Inconsistent mapping of Norwegian locales for date formatsAndreas Beeker2019-12-081-238/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871066 13f79535-47bb-0310-9956-ffa450edef68
* use zero size arg to toArray(), use Collection.addAll() (#63805, second patch)Axel Howind2019-11-171-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1869919 13f79535-47bb-0310-9956-ffa450edef68
* try to avoid casting to intPJ Fanning2019-09-143-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866933 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63533] fix javadoc that refers to horisontalPdiPJ Fanning2019-07-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1862382 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63509: Allow to format a CellReference without sheet-name for ignoredErrors.Dominik Stadler2019-06-221-1/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1861817 13f79535-47bb-0310-9956-ffa450edef68
* fix result of multiplication cast to wider typeAlain Béarez2019-05-212-19/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859595 13f79535-47bb-0310-9956-ffa450edef68
* fix whitespace contradicts operator precedenceAlain Béarez2019-05-212-17/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859594 13f79535-47bb-0310-9956-ffa450edef68
* fix potential output resource leaks (LGTM)Alain Béarez2019-05-211-9/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859592 13f79535-47bb-0310-9956-ffa450edef68
* use ArithmeticUtils for calculations that might overflowPJ Fanning2019-04-151-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857596 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
* 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
* 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
* 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
* 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
* Code-style: Unify how arrays are specified from C-style to normal Java-styleDominik Stadler2018-12-251-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849716 13f79535-47bb-0310-9956-ffa450edef68
* IDE warnings, tried to reproduce Bug 58927, but could notDominik Stadler2018-11-011-9/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845434 13f79535-47bb-0310-9956-ffa450edef68
* Typos and IDE warningsDominik Stadler2018-10-261-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844879 13f79535-47bb-0310-9956-ffa450edef68
* remove some casts to shortPJ Fanning2018-03-032-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825749 13f79535-47bb-0310-9956-ffa450edef68
* tidy up API for font indexPJ Fanning2018-02-262-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825409 13f79535-47bb-0310-9956-ffa450edef68
* further uptake of int methods for font lookupsPJ Fanning2018-02-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825103 13f79535-47bb-0310-9956-ffa450edef68
* [bug-62018] use ints to index fontsPJ Fanning2018-02-202-6/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1824826 13f79535-47bb-0310-9956-ffa450edef68
* Bug-61947 remove deprecated methodPJ Fanning2018-01-011-14/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1819763 13f79535-47bb-0310-9956-ffa450edef68
* Some JavaDoc adjustments, typos, IntelliJ warningsDominik Stadler2017-11-081-7/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1814587 13f79535-47bb-0310-9956-ffa450edef68
* bug 61730: remove CellRangeAddressBase which is eager. The lazy iterator is ↵Javen O'Neal2017-11-071-20/+1
| | | | | | safer, less likely to cause an OOM/DoS. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1814461 13f79535-47bb-0310-9956-ffa450edef68
* bug 61730: add javadocJaven O'Neal2017-11-071-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1814451 13f79535-47bb-0310-9956-ffa450edef68