aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/ss/usermodel
Commit message (Collapse)AuthorAgeFilesLines
* 65206 - Migrate ant / maven to gradle buildAndreas Beeker2021-03-2791-14978/+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-212-12/+12
| | | | | | | | | | 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-175-31/+31
| | | | | | | 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
* Include file-name in EmptyFileExceptionDominik Stadler2021-01-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885192 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2020-12-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884807 13f79535-47bb-0310-9956-ffa450edef68
* avoid string concatsPJ Fanning2020-12-171-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884573 13f79535-47bb-0310-9956-ffa450edef68
* reduce use of deprecated code in XSSFFontPJ Fanning2020-12-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884266 13f79535-47bb-0310-9956-ffa450edef68
* remove more deprecated codePJ Fanning2020-12-091-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884263 13f79535-47bb-0310-9956-ffa450edef68
* remove more deprecated codePJ Fanning2020-12-091-68/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884261 13f79535-47bb-0310-9956-ffa450edef68
* remove more deprecated codePJ Fanning2020-12-092-66/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884257 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated codePJ Fanning2020-12-091-69/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884229 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated codePJ Fanning2020-12-081-26/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884224 13f79535-47bb-0310-9956-ffa450edef68
* [github-204] Fix typo in javadoc. Thanks to Yerassyl Sagynov. This closes #204PJ Fanning2020-12-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884178 13f79535-47bb-0310-9956-ffa450edef68
* Improve error messages on missing Factory-implementations, fix Sonar issues ↵Dominik Stadler2020-11-011-1/+2
| | | | | | and IDE warnings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883035 13f79535-47bb-0310-9956-ffa450edef68
* #64817 - Fix issue in testXLSXinPPTAndreas Beeker2020-10-181-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882623 13f79535-47bb-0310-9956-ffa450edef68
* OSGi support: register service providers in bundle activatorYegor Kozlov2020-09-221-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881924 13f79535-47bb-0310-9956-ffa450edef68
* #64036 - Replace reflection calls in factories for Java 9+Andreas Beeker2020-08-171-11/+17
| | | | | | provide EvalutionWorkbook in HSSF/XSSF/SXSSF git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880925 13f79535-47bb-0310-9956-ffa450edef68
* #64036 - Replace reflection calls in factories for Java 9+Andreas Beeker2020-08-161-1/+2
| | | | | | | ImageRenderer implementation are now loaded via ServiceLoader fixed the ServiceLoader.load invocations to pass a sensible ClassLoader as OSGi preparation git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880909 13f79535-47bb-0310-9956-ffa450edef68
* use the forbidden-apis policies corresponding to the JREAndreas Beeker2020-08-151-36/+29
| | | | | | fix the forbidden apis issues git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880866 13f79535-47bb-0310-9956-ffa450edef68
* also handle wrapped OOXML "Package" nodes inside of OLE2 containersAndreas Beeker2020-08-141-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880861 13f79535-47bb-0310-9956-ffa450edef68
* #64411 - Provide JigSaw modulesAndreas Beeker2020-08-141-1/+1
| | | | | | - use service locator for SlideShowFactory git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880860 13f79535-47bb-0310-9956-ffa450edef68
* #64411 - Provide JigSaw modulesAndreas Beeker2020-07-222-137/+97
| | | | | | | | | | | | | | | - use classpath-build for Java 8, otherwise use modulepath - save module-info classes to source, when using Java 9+ environment - rename example packages - otherwise package clashes occured in the tests - move agile encryption from ooxml to main. remove EncryptionInfo XmlBeans and schema and use custom xml marshalling - move ooxml test classes which reside in the same package as their tested main class - rename base test classes to "BaseTest..." - temporarily I've used a light version of the main test classes to test scratchpad / ooxml - build.xml - fixed the Rhino javascript errors of the dependency-macros - DrawTextParagraph - fixed StringIndexOutOfBounds when logging set to debug level - use JigSaw provider interface (= Java ServiceLoader), i.e. it wasn't possible (without openening everything), to access ooxml factory classes from main factory stub git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880164 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated classesPJ Fanning2020-06-2726-1464/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879276 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated methods from CellPJ Fanning2020-06-272-41/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879266 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated Font methods from WorkbookPJ Fanning2020-06-271-14/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879259 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated Name methods from WorkbookPJ Fanning2020-06-271-45/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879255 13f79535-47bb-0310-9956-ffa450edef68
* next version will be 5.0.0PJ Fanning2020-05-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877872 13f79535-47bb-0310-9956-ffa450edef68
* Fix some IDE warnings, make lock-objects final, use generics, remove unused ↵Dominik Stadler2020-05-161-5/+6
| | | | | | allocated fields to reduce memory overhead of DocumentInputStream git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877818 13f79535-47bb-0310-9956-ffa450edef68
* [github-179] add an option for RangeCopier.copyRange() to clone styles. ↵PJ Fanning2020-05-151-4/+24
| | | | | | Thanks to xjlin0. This closes #179 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877792 13f79535-47bb-0310-9956-ffa450edef68
* [bug-64441] synchronize code that initialises WorkbookFactoryPJ Fanning2020-05-151-4/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877776 13f79535-47bb-0310-9956-ffa450edef68
* Github-177: Avoid NullPointerException if RangeCopier encounters ↵Dominik Stadler2020-04-261-55/+62
| | | | | | | | | | empty/missing rows Also expose one-parameter constructor and verify it in tests. Closes #177 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877010 13f79535-47bb-0310-9956-ffa450edef68
* Fix some IDE warnings, remove usage of deprecated methodsDominik Stadler2020-04-241-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876947 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2020-04-191-1/+1
| | | | | | | | - Math operands should be cast before assignment - Suppress - Make sure that command line arguments are used safely here - Suppress - Replace this use of System.out or System.err by a logger. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876737 13f79535-47bb-0310-9956-ffa450edef68
* #63745 - Add traversing and debugging interface to HSSFAndreas Beeker2020-04-191-17/+15
| | | | | | a few more HSSF / Old Excel classes git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876732 13f79535-47bb-0310-9956-ffa450edef68
* Inspired by Stackoverflow #61292598 - Expose if a Named Range is hidden or notNick Burch2020-04-191-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876722 13f79535-47bb-0310-9956-ffa450edef68
* #64319 Tighten the scientific format code to avoid making eg TRUE into ↵Nick Burch2020-04-111-3/+7
| | | | | | TRUE+, handle formats like 0E-0, and ensure formats like 0E0 work correctly git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876396 13f79535-47bb-0310-9956-ffa450edef68
* Sonar FixesAndreas Beeker2020-03-294-100/+147
| | | | | | | | | - 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
* Bug 63845: Adjust handling of formula-cells to fix regression introduced in ↵Dominik Stadler2020-03-291-7/+1
| | | | | | 4.1.0 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875837 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61863: Update JavaDoc to describe relation to workbook-level flagDominik Stadler2020-03-281-60/+65
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875804 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60282: Update JavaDoc and use a common constant for TWIPS_PER_POINTDominik Stadler2020-03-081-18/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874966 13f79535-47bb-0310-9956-ffa450edef68
* [bug-64044] setCellValue(LocalDate) does not support nulls properlyPJ Fanning2020-01-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872246 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63960: Write pre-evaluated string-values in formula cells with the ↵Dominik Stadler2019-12-311-4/+1
| | | | | | correct type git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872130 13f79535-47bb-0310-9956-ffa450edef68
* #64036 - remove reflective calls in Workbook- and SlideShowFactoryAndreas Beeker2019-12-281-56/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872066 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63749; Make getLastRowNum() and getFirstRow() return -1 instead of 0 on ↵Dominik Stadler2019-12-151-1/+2
| | | | | | empty Sheets git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871589 13f79535-47bb-0310-9956-ffa450edef68
* Adjust some JavaDoc and fix some IDE warningsDominik Stadler2019-12-141-29/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871505 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63779 - Add support for the new Java date/time API added in Java 8Andreas Beeker2019-12-081-26/+48
| | | | | | Active roundSeconds again git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871065 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixes - type: bugs / severity: majorAndreas Beeker2019-12-083-74/+86
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871064 13f79535-47bb-0310-9956-ffa450edef68
* Adjust comments and add slightly more test-coverageDominik Stadler2019-10-261-4/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868982 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63842] FractionFormat casts whole part of the value into 'int'PJ Fanning2019-10-141-18/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868425 13f79535-47bb-0310-9956-ffa450edef68
* 63779 Add support for the new Java date/time API added in Java 8Dominik Stadler2019-10-093-20/+292
| | | | | | | Deprecate HSSFDateUtil Closes #160 on Github git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868198 13f79535-47bb-0310-9956-ffa450edef68