Commit Graph

10222 Commits

Author SHA1 Message Date
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
Andreas Beeker 2a982f62ec Replace StringBuffer with StringBuilder
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870600 13f79535-47bb-0310-9956-ffa450edef68
2019-11-29 23:57:35 +00:00
Axel Howind 9a1b75aaac fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870567 13f79535-47bb-0310-9956-ffa450edef68
2019-11-29 02:30:19 +00:00
Andreas Beeker 1562175343 Bug 60656 - Emf image support in slideshows
- use Rectangle2D instead of Dimension2D for image bounds
- fix shearing transformation
- fix rendering of font attributes (bold/italic/...)
- emf+: needs its own object table and properties table
- emf+: add linear gradient handler
- emf+: handle brush data of pens
- wmf/emf/emf+: position right aligned text correctly
- emf+: use emf+ instead of emf records in dual-mode
- emf+: handle region data and operations correctly
- emf/+: map font weight to awt font weight correctly

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870566 13f79535-47bb-0310-9956-ffa450edef68
2019-11-29 00:39:35 +00:00
Andreas Beeker 7aab19c3b5 GenericRecordJsonWriter fix output of floats and doubles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870565 13f79535-47bb-0310-9956-ffa450edef68
2019-11-29 00:29:05 +00:00
Alain Béarez da5d7d44d5 Fix addition and removal of columns in XSLTTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870523 13f79535-47bb-0310-9956-ffa450edef68
2019-11-28 00:51:43 +00:00
Alain Béarez 557b67cb24 Add, insert and remove columns on XSLFTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870486 13f79535-47bb-0310-9956-ffa450edef68
2019-11-27 04:54:34 +00:00
PJ Fanning ede9369bbc gradle 6.0.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870270 13f79535-47bb-0310-9956-ffa450edef68
2019-11-24 08:50:49 +00:00
PJ Fanning 701b67c315 replace more StringBuffers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870121 13f79535-47bb-0310-9956-ffa450edef68
2019-11-21 22:01:20 +00:00
PJ Fanning 2d6b1800dc Update javadoc on FinanceLib. This closes #162
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870105 13f79535-47bb-0310-9956-ffa450edef68
2019-11-21 18:32:35 +00:00