Commit Graph

10081 Commits

Author SHA1 Message Date
PJ Fanning ceef7e2611 fix spelling of Usage
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871987 13f79535-47bb-0310-9956-ffa450edef68
2019-12-26 06:16:21 +00:00
PJ Fanning 25a82d8c55 fix spelling of OutlookTextExtractor class name
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871986 13f79535-47bb-0310-9956-ffa450edef68
2019-12-26 06:12:56 +00:00
Andreas Beeker 7493473a8e Replace internal GUID class with ClassID
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871944 13f79535-47bb-0310-9956-ffa450edef68
2019-12-24 19:48:22 +00:00
Andreas Beeker 03fe2ded64 #64004 - Replace clone() with copy constructor - mainly HWPF classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871938 13f79535-47bb-0310-9956-ffa450edef68
2019-12-24 11:56:42 +00:00
PJ Fanning 93a7b81ed9 convert some tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871921 13f79535-47bb-0310-9956-ffa450edef68
2019-12-23 09:18:38 +00:00
Andreas Beeker 66471836f5 Replace custom hashCode code with Objects.hash() / Arrays.deepHashCode()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871913 13f79535-47bb-0310-9956-ffa450edef68
2019-12-23 00:15:55 +00:00
Andreas Beeker ba6152503e #64004 - Replace clone() with copy constructor - mainly HSSF classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871911 13f79535-47bb-0310-9956-ffa450edef68
2019-12-22 21:44:45 +00:00
Dominik Stadler ecb42bd78d Remove exception-handling code in ZipPackage that was never reached
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
2019-12-15 14:54:03 +00:00
Dominik Stadler 921259fd36 Add more information to assertion
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871593 13f79535-47bb-0310-9956-ffa450edef68
2019-12-15 14:53:59 +00:00
Dominik Stadler 030eb8203f Add some more tests for IOUtils
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871592 13f79535-47bb-0310-9956-ffa450edef68
2019-12-15 14:53:55 +00:00
Dominik Stadler 5e394a5e10 Let IntelliJ simplify some assertions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871591 13f79535-47bb-0310-9956-ffa450edef68
2019-12-15 14:53:46 +00:00
Dominik Stadler 1a5cec89d8 Replace manual close with try-with-resources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871590 13f79535-47bb-0310-9956-ffa450edef68
2019-12-15 14:53:11 +00:00
Dominik Stadler 2748844549 Bug 63749; Make getLastRowNum() and getFirstRow() return -1 instead of 0 on empty Sheets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871589 13f79535-47bb-0310-9956-ffa450edef68
2019-12-15 14:52:45 +00:00
Dominik Stadler 57e5e87e58 Add MemoryVerifier to enable memory leak checking in unit-tests and add
an initial test which verifies some things for XSSF

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871588 13f79535-47bb-0310-9956-ffa450edef68
2019-12-15 14:52:37 +00:00
Andreas Beeker 3fb5e79490 #64004 - Replace clone() with copy constructor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871563 13f79535-47bb-0310-9956-ffa450edef68
2019-12-14 23:44:26 +00:00
Dominik Stadler 129b8215ce Ensure that the temporary directory does exist before using it in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871507 13f79535-47bb-0310-9956-ffa450edef68
2019-12-14 13:10:21 +00:00
Dominik Stadler befd31663f Bug 63569: Adjust handling of check for max allocation of byte array
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871506 13f79535-47bb-0310-9956-ffa450edef68
2019-12-14 13:10:17 +00:00
Dominik Stadler 57b0576f63 Adjust some JavaDoc and fix some IDE warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871505 13f79535-47bb-0310-9956-ffa450edef68
2019-12-14 13:10:12 +00:00
PJ Fanning 4c034f0e20 [github-164] Fix Bug in XSSFTable.setCellReferences when table is single cell. Thanks to Travis Russell. This closes #164
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871185 13f79535-47bb-0310-9956-ffa450edef68
2019-12-11 20:07:25 +00:00
PJ Fanning f12a414662 [github-164] Fix Bug in XSSFTable.setCellReferences when table is single cell. Thanks to Travis Russell. This closes #164
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871184 13f79535-47bb-0310-9956-ffa450edef68
2019-12-11 20:07:01 +00:00
Alain Béarez 6602cb2cfb Fix initialization of text body when used in XSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871150 13f79535-47bb-0310-9956-ffa450edef68
2019-12-11 00:10:09 +00:00
Andreas Beeker 37a5888565 fix typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871121 13f79535-47bb-0310-9956-ffa450edef68
2019-12-10 07:18:21 +00:00
Alain Béarez 091eb161ec Correctly initialize text shapes' first paragraph
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871112 13f79535-47bb-0310-9956-ffa450edef68
2019-12-10 00:10:52 +00:00
Andreas Beeker cd38079247 Provide XAdES schemas locally, because of connection timeouts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871111 13f79535-47bb-0310-9956-ffa450edef68
2019-12-09 23:56:13 +00:00
Andreas Beeker b5d6afa0a1 Provide XAdES schemas locally, because of connection timeouts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871110 13f79535-47bb-0310-9956-ffa450edef68
2019-12-09 22:53:14 +00:00
Andreas Beeker b0b16846fe Ignore "IIO Can't create cache file" errors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871109 13f79535-47bb-0310-9956-ffa450edef68
2019-12-09 22:51:11 +00:00
Andreas Beeker 4c4a33c5de Remove POIBrowser and SViewer and remove references to it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871102 13f79535-47bb-0310-9956-ffa450edef68
2019-12-09 20:56:52 +00:00
Andreas Beeker d8bfbaffdf Migrate tests to Junit 4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871067 13f79535-47bb-0310-9956-ffa450edef68
2019-12-09 00:37:21 +00:00
Andreas Beeker cdd945b0da Bug 63927 - Inconsistent mapping of Norwegian locales for date formats
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871066 13f79535-47bb-0310-9956-ffa450edef68
2019-12-08 23:36:02 +00:00
Andreas Beeker 1c678f415c Bug 63779 - Add support for the new Java date/time API added in Java 8
Active roundSeconds again

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871065 13f79535-47bb-0310-9956-ffa450edef68
2019-12-08 23:31:20 +00:00
Andreas Beeker 0f29ae8e4d Sonar fixes - type: bugs / severity: major
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871064 13f79535-47bb-0310-9956-ffa450edef68
2019-12-08 23:29:50 +00:00
Alain Béarez 82156bc63c Attempt to fix bug 63901
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871063 13f79535-47bb-0310-9956-ffa450edef68
2019-12-08 23:18:31 +00:00
Alain Béarez a56353b651 Fix column addition and removal in XSLFTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871061 13f79535-47bb-0310-9956-ffa450edef68
2019-12-08 22:23:17 +00:00
Alain Béarez bb2ad49a2f Retrieve chart from graphical frame
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871012 13f79535-47bb-0310-9956-ffa450edef68
2019-12-07 23:39:20 +00:00
Alain Béarez 4703c18b83 Miscellaneous fixes for chart functionalities
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871010 13f79535-47bb-0310-9956-ffa450edef68
2019-12-07 23:10:32 +00:00
Andreas Beeker de2467e9ae Reindent to 4 spaces - optimize imports
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870977 13f79535-47bb-0310-9956-ffa450edef68
2019-12-07 11:53:48 +00:00
Andreas Beeker b2a33515e9 Sonar Fixes - type: bugs / severity: critical - mostly div by 0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870976 13f79535-47bb-0310-9956-ffa450edef68
2019-12-07 11:45:44 +00:00
Andreas Beeker 9f2f9dc793 Sonar Fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870856 13f79535-47bb-0310-9956-ffa450edef68
2019-12-05 00:18:36 +00:00
Andreas Beeker 08159e66a7 Sonar Fixes + Refactor scattered XML initializations to XMLHelper
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870769 13f79535-47bb-0310-9956-ffa450edef68
2019-12-03 21:56:47 +00:00
Alain Béarez dd3279df30 Fix examples to build chart from scratch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870696 13f79535-47bb-0310-9956-ffa450edef68
2019-12-02 00:15:34 +00:00
Andreas Beeker 2eee474063 #63955 - HMEFContentsExtractor fails to extract content from winmail.dat
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870692 13f79535-47bb-0310-9956-ffa450edef68
2019-12-01 21:06:54 +00:00
PJ Fanning 713a69afdb upgrade asm to 7.2 to try to fix jacoco
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870691 13f79535-47bb-0310-9956-ffa450edef68
2019-12-01 21:01:02 +00:00
Andreas Beeker 2a4ae3a145 Update Jacoco version and activate it again in the Sonar run
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870671 13f79535-47bb-0310-9956-ffa450edef68
2019-12-01 11:42:09 +00:00
Andreas Beeker a17a9168b1 Sonar Fixes - fix/annotate type "vulnerability" / severity "blocker"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870657 13f79535-47bb-0310-9956-ffa450edef68
2019-12-01 02:05:51 +00:00
Andreas Beeker 5f28881a35 change package.html to package-info.java
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870655 13f79535-47bb-0310-9956-ffa450edef68
2019-12-01 00:07:48 +00:00
Andreas Beeker b4b661acc1 Sonar fixes - use try-with-resources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870653 13f79535-47bb-0310-9956-ffa450edef68
2019-11-30 23:00:08 +00:00
Alain Béarez 4f8aeb705e Add Doughnut chart data series to XDDF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870628 13f79535-47bb-0310-9956-ffa450edef68
2019-11-30 15:46:48 +00:00
Alain Béarez 3fbdd25608 Bug 63889: BarChartDemo now produces a valid file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870604 13f79535-47bb-0310-9956-ffa450edef68
2019-11-30 01:20:23 +00:00
Alain Béarez 1a99d1d58e Clean-up code for more recent chart types
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870603 13f79535-47bb-0310-9956-ffa450edef68
2019-11-30 01:20:20 +00:00
Alain Béarez bb90cfccf0 Add test to remove chart data series
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870602 13f79535-47bb-0310-9956-ffa450edef68
2019-11-30 01:20:16 +00:00