aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/java/org/apache/poi/openxml4j/opc
Commit message (Collapse)AuthorAgeFilesLines
* 65206 - Migrate ant / maven to gradle buildAndreas Beeker2021-03-2734-9482/+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-218-77/+61
| | | | | | | | | | 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
* add method to test for strict ooxml formatPJ Fanning2021-02-151-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886545 13f79535-47bb-0310-9956-ffa450edef68
* Apply IDE suggestions, add toString(), adjust JavaDoc and simplify code slightlyDominik Stadler2021-01-303-19/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886061 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2021-01-179-39/+38
| | | | | | | 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 64450: Allow to parse a file where the relationship-id is an empty stringDominik Stadler2021-01-031-4/+4
| | | | | | | Also improve exception reporting by including more information and not "hiding" the actual exception-cause in a log-statement. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885056 13f79535-47bb-0310-9956-ffa450edef68
* Apply some IDE suggestions and fix some JavaDocDominik Stadler2021-01-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885012 13f79535-47bb-0310-9956-ffa450edef68
* avoid string concatsPJ Fanning2020-12-172-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884573 13f79535-47bb-0310-9956-ffa450edef68
* avoid string concatsPJ Fanning2020-12-175-11/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884572 13f79535-47bb-0310-9956-ffa450edef68
* [github-200] Update OPCPackage#getPartsByRelationshipType docs to reflect ↵PJ Fanning2020-12-081-3/+4
| | | | | | behavior. Thanks to Marius Volkhart. This closes #200 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884219 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixes - a few "String literals should not be duplicated"Andreas Beeker2020-10-241-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882819 13f79535-47bb-0310-9956-ffa450edef68
* #64301 - Allow try-with-resources with OPCPackage.revert()Andreas Beeker2020-04-012-13/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876018 13f79535-47bb-0310-9956-ffa450edef68
* Update JavaDoc for logging and marshallingDominik Stadler2020-03-084-12/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874965 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2020-02-251-32/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874530 13f79535-47bb-0310-9956-ffa450edef68
* replace some calls to Collection methods with shorter/more effective versionsAxel Howind2020-02-201-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874263 13f79535-47bb-0310-9956-ffa450edef68
* use indexOf(char) instead of indexOf(String) where possible; replace one ↵Axel Howind2020-02-204-4/+4
| | | | | | more StringBuffer with StringBuilder - bug 63805 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874262 13f79535-47bb-0310-9956-ffa450edef68
* [bug-64108] unsafe pipe character (PJ Fanning2020-01-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873384 13f79535-47bb-0310-9956-ffa450edef68
* use lambda instead of sub classAndreas Beeker2020-01-071-11/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872475 13f79535-47bb-0310-9956-ffa450edef68
* BUG 64015 -- swap out java.util.BitSet for zaxxer's SparseBitSetTim Allison2020-01-071-2/+9
| | | | 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-12/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871913 13f79535-47bb-0310-9956-ffa450edef68
* Remove exception-handling code in ZipPackage that was never reachedDominik Stadler2019-12-151-13/+9
| | | | | | Here e.getMessage() and e.toString() were compared, which never match git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871594 13f79535-47bb-0310-9956-ffa450edef68
* Sonar Fixes + Refactor scattered XML initializations to XMLHelperAndreas Beeker2019-12-031-12/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870769 13f79535-47bb-0310-9956-ffa450edef68
* fix javadocAxel Howind2019-11-291-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870567 13f79535-47bb-0310-9956-ffa450edef68
* add TransformerHelperPJ Fanning2019-09-241-38/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1867496 13f79535-47bb-0310-9956-ffa450edef68
* [github-145] issue in PackagingURIHelper.encode. Thanks to @greedbell. This ↵PJ Fanning2019-05-121-573/+573
| | | | | | closes #145 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859160 13f79535-47bb-0310-9956-ffa450edef68
* #54803 - Error opening XLSX after saving with a Drawing using POIAndreas Beeker2019-04-161-2/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857663 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63029: revert handling NotOfficeXmlFileException in ZipPackage as this ↵Yegor Kozlov2019-02-131-1/+3
| | | | | | 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-121-3/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1853454 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
* Bug 62629: Allow to handle files with invalid content types for picturesDominik Stadler2018-12-271-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849814 13f79535-47bb-0310-9956-ffa450edef68
* IDE and JavaDoc fixes, close() in testsDominik Stadler2018-12-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849812 13f79535-47bb-0310-9956-ffa450edef68
* Fix various IDE warnings and some JavaDoc adjustmentsDominik Stadler2018-12-268-46/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849763 13f79535-47bb-0310-9956-ffa450edef68
* Fix incorrect constant for pict-filesDominik Stadler2018-12-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849762 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecesssary semicolonsDominik Stadler2018-12-261-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849761 13f79535-47bb-0310-9956-ffa450edef68
* Simplify some string operationsDominik Stadler2018-12-261-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849760 13f79535-47bb-0310-9956-ffa450edef68
* Code-style: Unify how arrays are specified from C-style to normal Java-styleDominik Stadler2018-12-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849716 13f79535-47bb-0310-9956-ffa450edef68
* Add test for FileMagicDominik Stadler2018-11-251-2/+0
| | | | | | | | JavaDoc warning fixes Remove some IDE warnings Reformat code of sample application git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847437 13f79535-47bb-0310-9956-ffa450edef68
* Adjust sample for creating comments to also create a .xlsx fileDominik Stadler2018-10-261-0/+2
| | | | | | Enhance workbook factory to allow to create new empty workbooks as well git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844881 13f79535-47bb-0310-9956-ffa450edef68
* rename xmlbeans jobPJ Fanning2018-10-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842663 13f79535-47bb-0310-9956-ffa450edef68
* [bug-62796] remove use of Stax Namespace class from PackagePropertiesMarshallerPJ Fanning2018-10-021-148/+164
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842647 13f79535-47bb-0310-9956-ffa450edef68
* use StaxHelper to get event factoryPJ Fanning2018-09-301-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842402 13f79535-47bb-0310-9956-ffa450edef68
* make OPCPackage#close() unsynchronized and add javadoc note saying method is ↵PJ Fanning2018-09-271-1/+3
| | | | | | not thread-safe git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842171 13f79535-47bb-0310-9956-ffa450edef68
* [bug-62768] synchronize OPCPackage#close()PJ Fanning2018-09-271-22/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842142 13f79535-47bb-0310-9956-ffa450edef68
* sonar fixes - blockerAndreas Beeker2018-08-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839745 13f79535-47bb-0310-9956-ffa450edef68
* rebase XDDF text packageAlain Béarez2018-08-271-16/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839369 13f79535-47bb-0310-9956-ffa450edef68
* add warning message to help reduce duplicates of bug 60102Alain Béarez2018-08-261-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839252 13f79535-47bb-0310-9956-ffa450edef68
* bug 62592 -- prevent StackOverflowError on corrupt thmxTim Allison2018-08-081-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837658 13f79535-47bb-0310-9956-ffa450edef68
* [bug-62522] include partName in exception messagePJ Fanning2018-07-061-408/+409
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1835276 13f79535-47bb-0310-9956-ffa450edef68
* [bug-62438] remove nullable class (and use java.util.Optional). This closes #111PJ Fanning2018-06-134-835/+1010
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1833459 13f79535-47bb-0310-9956-ffa450edef68
* fix some javadocPJ Fanning2018-06-071-677/+686
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1833106 13f79535-47bb-0310-9956-ffa450edef68