aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/ddf
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup documentation of EscherChildAnchorRecord and EscherClientAnchorRecordMarius Volkhart2021-03-092-4/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887391 13f79535-47bb-0310-9956-ffa450edef68
* Review EscherContainerRecord#getChildRecords() call sites for unnecessary workMarius Volkhart2021-03-011-0/+4
| | | | | | | | This started off as wanting to add the EscherContainerRecord#getChildCount() function in order to do an efficient check for how many children the container has. This was desirable in new code for editing HSSF pictures. The existing option of calling getChildRecords().size() was undesirable as this requires a list copy first. In the process of finding call sites that would benefit from replacing getChildRecords().size(), I realized that several other patterns would benefit from eliminating a copy, such as iterating over the children in a for-each loop, and indexed access to specific children. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887020 13f79535-47bb-0310-9956-ffa450edef68
* Add documentation to EscherRecordTypes#DG_CONTAINERMarius Volkhart2021-02-281-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887007 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63046] Use Log4j 2 for loggingMarius Volkhart2021-02-212-13/+13
| | | | | | | | | | 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
* Documentation for some EscherRecordTypesMarius Volkhart2021-02-171-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886620 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2021-01-171-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
* Bug 64132: Fix regression introduced by changing factoriesDominik Stadler2021-01-043-8/+8
| | | | | | | We need to return EscherBlipRecord for all types in the defined range of recordId, not UnknownEscherRecord. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885092 13f79535-47bb-0310-9956-ffa450edef68
* Adjust some JavaDocDominik Stadler2020-12-293-15/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884918 13f79535-47bb-0310-9956-ffa450edef68
* remove more deprecated codePJ Fanning2020-12-092-365/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884263 13f79535-47bb-0310-9956-ffa450edef68
* remove more deprecated codePJ Fanning2020-12-093-63/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884262 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fix - "Add the missing @deprecated Javadoc tag."Andreas Beeker2020-04-222-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876854 13f79535-47bb-0310-9956-ffa450edef68
* Replace Allocate+System.arraycopy with Array.copyOf/Range and ↵Andreas Beeker2020-04-1611-48/+24
| | | | | | IOUtils.safelyClone git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876640 13f79535-47bb-0310-9956-ffa450edef68
* Sonar FixesAndreas Beeker2020-03-292-1/+2
| | | | | | | | | - 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
* #64036 - Replace reflection calls in factories for Java 9+ - Escher factoriesAndreas Beeker2020-01-264-450/+82
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873187 13f79535-47bb-0310-9956-ffa450edef68
* BUG 64015 -- swap out java.util.BitSet for zaxxer's SparseBitSetTim Allison2020-01-071-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872445 13f79535-47bb-0310-9956-ffa450edef68
* Replace custom hashCode code with Objects.hash() / Arrays.deepHashCode()Andreas Beeker2019-12-232-6/+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-225-12/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871911 13f79535-47bb-0310-9956-ffa450edef68
* #64004 - Replace clone() with copy constructorAndreas Beeker2019-12-1420-138/+408
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871563 13f79535-47bb-0310-9956-ffa450edef68
* change package.html to package-info.javaAndreas Beeker2019-12-011-14/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870655 13f79535-47bb-0310-9956-ffa450edef68
* use zero size arg to toArray(), use Collection.addAll() (#63805, second patch)Axel Howind2019-11-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1869919 13f79535-47bb-0310-9956-ffa450edef68
* #63745 - Add traversing and debugging interfaceAndreas Beeker2019-10-1230-2225/+1145
| | | | | | Replace EscherProperty.getAttributeMap by GenericRecord interface git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868352 13f79535-47bb-0310-9956-ffa450edef68
* #63745 - Add traversing and debugging interfaceAndreas Beeker2019-09-1121-126/+550
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866808 13f79535-47bb-0310-9956-ffa450edef68
* IDE and JavaDoc fixes, move/remove some unfixed testsDominik Stadler2019-01-111-5/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851089 13f79535-47bb-0310-9956-ffa450edef68
* Code-style: Unify how arrays are specified from C-style to normal Java-styleDominik Stadler2018-12-252-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849716 13f79535-47bb-0310-9956-ffa450edef68
* #62953 - Rendering of FreeformShapes with formula failsAndreas Beeker2018-12-091-4/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1848492 13f79535-47bb-0310-9956-ffa450edef68
* lgtm issuesPJ Fanning2018-09-291-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842302 13f79535-47bb-0310-9956-ffa450edef68
* Bug-61947 remove deprecated methodPJ Fanning2018-01-011-13/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1819766 13f79535-47bb-0310-9956-ffa450edef68
* Fix some findbugs-issues and apply some code-cleanup and apply some smaller ↵Dominik Stadler2017-10-132-8/+4
| | | | | | | | pull requests. This closes #74, This closes #75, This closes #76 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812097 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61349 -- bump limits on classes that caused regressions in Dominik's ↵Tim Allison2017-09-251-1/+1
| | | | | | regression corpus. Many thanks to Dominik Stadler for running the regression tests!!! git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1809623 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61349 -- add more sanity checks when allocating byte[]Tim Allison2017-09-2110-17/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1809169 13f79535-47bb-0310-9956-ffa450edef68
* Use Integer.compare() where possibleDominik Stadler2017-09-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808522 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary local variablesDominik Stadler2017-09-161-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808518 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary type arguments (Java 8)Dominik Stadler2017-09-168-14/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808516 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary initialization of membersDominik Stadler2017-09-162-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808510 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated code slated for removal in 3.18PJ Fanning2017-09-151-12/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808483 13f79535-47bb-0310-9956-ffa450edef68
* remove invalid javadocsAndreas Beeker2017-07-311-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803493 13f79535-47bb-0310-9956-ffa450edef68
* Javadoc fixesNick Burch2017-07-311-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803488 13f79535-47bb-0310-9956-ffa450edef68
* #61363 - Unify escher shape id allocation Andreas Beeker2017-07-301-64/+125
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803483 13f79535-47bb-0310-9956-ffa450edef68
* [Bug-61268] avoid NegativeArraySizeException parsing doc filePJ Fanning2017-07-091-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801395 13f79535-47bb-0310-9956-ffa450edef68
* fix spellingPJ Fanning2017-07-091-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801393 13f79535-47bb-0310-9956-ffa450edef68
* #61243 - Refactor and unify toString/toXml in DDFAndreas Beeker2017-06-3027-721/+595
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800452 13f79535-47bb-0310-9956-ffa450edef68
* SonarQube fixesAndreas Beeker2017-05-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793727 13f79535-47bb-0310-9956-ffa450edef68
* Let IntelliJ cleanup some code-warnings across the whole code-base: ↵Dominik Stadler2017-04-176-9/+9
| | | | | | unnecessary toString or semicolon git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791720 13f79535-47bb-0310-9956-ffa450edef68
* #60998 - HSLFTable.setRowHeight sets row height incorrect Andreas Beeker2017-04-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791696 13f79535-47bb-0310-9956-ffa450edef68
* Fix typo to "length", closes #51Dominik Stadler2017-03-191-1/+1
| | | | | | Fix a few IntelliJ warnings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1787659 13f79535-47bb-0310-9956-ffa450edef68
* Convert all *.java files to use native end of line character(s)Javen O'Neal2017-02-082-317/+317
| | | | | | | | $ dos2unix `find -name *.java` $ svn propset svn:eol-style native `find -name *.java` git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782114 13f79535-47bb-0310-9956-ffa450edef68
* Revert previous changes enough to restore the case in the commoncrawl-corpus ↵Dominik Stadler2017-02-052-50/+48
| | | | | | which is failing now, add a unit-test for this case, enable one disabled unit-test git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1781822 13f79535-47bb-0310-9956-ffa450edef68
* SonarQube fixesAndreas Beeker2017-01-031-39/+34
| | | | | | add Iterable interface to EscherContainerRecord / deprecate getChildIterator() git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1777046 13f79535-47bb-0310-9956-ffa450edef68
* SonarCube fix - make members privateAndreas Beeker2016-12-0413-92/+116
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772585 13f79535-47bb-0310-9956-ffa450edef68
* Fix some IntelliJ and Findbugs warnings: StringBuilder, foreach, append(), ...Dominik Stadler2016-07-176-43/+21
| | | | | | test-updates git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753122 13f79535-47bb-0310-9956-ffa450edef68