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
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
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
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
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
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
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
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
96bf53f3fc
replace some uses of StringBuffer with StringBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870046 13f79535-47bb-0310-9956-ffa450edef68
2019-11-20 08:42:27 +00:00
Axel Howind
4f8879f8ef
use zero size arg to toArray(), use Collection.addAll() ( #63805 , second patch)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1869919 13f79535-47bb-0310-9956-ffa450edef68
2019-11-17 08:45:03 +00:00
Andreas Beeker
f7c28ad08f
#60656 - EMF image support in slideshows
...
- extract option for embedded element in PPTX2PNG
- minor GenericRecordJsonWriter fixes
- fix EMF+ world transformations
- fix initialization emf pictures, which were partly unbounded -> excessive memory consumption
- change EMF+ brushes to continueable record
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1869272 13f79535-47bb-0310-9956-ffa450edef68
2019-11-01 17:18:13 +00:00
PJ Fanning
97c21e31b1
[bug-63774] adding lots of custom properties can cause performance issues due to way Pid is calculated
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1867597 13f79535-47bb-0310-9956-ffa450edef68
2019-09-26 17:51:45 +00:00
PJ Fanning
dc6a4a99e2
try to avoid casting to int
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866933 13f79535-47bb-0310-9956-ffa450edef68
2019-09-14 09:54:11 +00:00
Dominik Stadler
8808bf7b72
ExcelComparator: Adjust iterating rows/columns
...
Run this sample as part of the integration tests
Open the files read-only to not re-write them with changed content
Add null-checks and use toString() to prevent exceptions with certain files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1860688 13f79535-47bb-0310-9956-ffa450edef68
2019-06-05 20:28:07 +00:00
Alain Béarez
dcb6d534fd
remove code smells
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1860311 13f79535-47bb-0310-9956-ffa450edef68
2019-05-29 01:05:26 +00:00
Alain Béarez
9995e178e3
code inspired from Axel Richter on StackOverflow
...
closes #139
closes #144
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859676 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 23:28:15 +00:00
Alain Béarez
928e6937f4
fix result of multiplication cast to wider type
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859595 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:14:12 +00:00
Alain Béarez
8784d6d6d7
fix potential input resource leaks (LGTM)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859591 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:13:47 +00:00
Alain Béarez
093cbcfcca
code cleanup plus fix for bug 63153
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859590 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:13:40 +00:00
Alain Béarez
af1dacfe2c
Added more chart supports.
...
fixed bug while creating chart with bar and line series.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859589 13f79535-47bb-0310-9956-ffa450edef68
2019-05-21 00:13:28 +00:00
Greg Woolsey
362a99a60b
Update site source for 4.1.0, prep build for 4.1.1 (via ant task)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857217 13f79535-47bb-0310-9956-ffa450edef68
2019-04-09 15:57:25 +00:00
PJ Fanning
905c53794c
[github-142] issue in ExcelComparator example. Thanks to chirkovmail. This close #142
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856053 13f79535-47bb-0310-9956-ffa450edef68
2019-03-22 13:38:05 +00:00
Vladislav Galas
a8a0cb56f7
purged usages of Cell.setCellType (left only in tests, where conversions are tested)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852247 13f79535-47bb-0310-9956-ffa450edef68
2019-01-26 19:41:36 +00:00
Vladislav Galas
39d963aa33
made call Cell.setCellType(CellType.FORMULA) illegall. Deprecated Cell.setCellType(). Purged all redundant calls from project.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852246 13f79535-47bb-0310-9956-ffa450edef68
2019-01-26 19:41:25 +00:00
Dominik Stadler
f6eab84243
Simplify some string operations
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849760 13f79535-47bb-0310-9956-ffa450edef68
2018-12-26 13:27:35 +00:00
Dominik Stadler
19884d0ca3
Code-style: Unify how arrays are specified from C-style to normal Java-style
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849716 13f79535-47bb-0310-9956-ffa450edef68
2018-12-25 09:59:58 +00:00
Andreas Beeker
150a00654e
#62365 - SVG image support in XSLF
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849046 13f79535-47bb-0310-9956-ffa450edef68
2018-12-16 21:02:01 +00:00
Alain Béarez
ef75a6d2d2
create chart from scratch by sandeeptiwari32
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1848432 13f79535-47bb-0310-9956-ffa450edef68
2018-12-08 02:44:22 +00:00
PJ Fanning
218a7190ba
remove duplicate attempt to add column headers
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846549 13f79535-47bb-0310-9956-ffa450edef68
2018-11-13 21:34:03 +00:00
PJ Fanning
85f6277c27
remove unused import
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846548 13f79535-47bb-0310-9956-ffa450edef68
2018-11-13 21:30:49 +00:00
PJ Fanning
f006c8ee6b
add testcase for https://bz.apache.org/bugzilla/show_bug.cgi?id=62906
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846489 13f79535-47bb-0310-9956-ffa450edef68
2018-11-13 08:20:47 +00:00
Dominik Stadler
a8fd70ec7f
Adjust sample for creating comments to also create a .xlsx file
...
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
2018-10-26 09:32:57 +00:00
Dominik Stadler
1d464ed131
Typos and IDE warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844879 13f79535-47bb-0310-9956-ffa450edef68
2018-10-26 09:32:43 +00:00
Alain Béarez
5821b3b32c
adding tricks from other answers on StackOverflow
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842959 13f79535-47bb-0310-9956-ffa450edef68
2018-10-05 18:07:55 +00:00
Alain Béarez
cffa31ed62
example from StackOverflow question 47065690
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842925 13f79535-47bb-0310-9956-ffa450edef68
2018-10-05 14:36:18 +00:00
Alain Béarez
f446df6f66
more XDDF improvements based on SO examples
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842876 13f79535-47bb-0310-9956-ffa450edef68
2018-10-05 09:59:32 +00:00
Alain Béarez
b8248ceb1b
XDDF improvements based on StackOverflow examples
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842728 13f79535-47bb-0310-9956-ffa450edef68
2018-10-03 14:32:34 +00:00
Alain Béarez
3f7c643c74
fix lgtm alerts in examples
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842707 13f79535-47bb-0310-9956-ffa450edef68
2018-10-03 11:51:41 +00:00
Alain Béarez
28d561fc50
change chart data to experiment diverse scripts
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842687 13f79535-47bb-0310-9956-ffa450edef68
2018-10-03 08:20:50 +00:00
PJ Fanning
874687c490
lgtm issues
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842302 13f79535-47bb-0310-9956-ffa450edef68
2018-09-29 09:33:52 +00:00
Alain Béarez
9973fecad0
adapting some contributions by Axel Richter on SO
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1841988 13f79535-47bb-0310-9956-ffa450edef68
2018-09-26 00:30:33 +00:00
Andreas Beeker
ea65344fd1
update 3.17 leftovers and provide a new build target to update those in the next release
...
remove final / beta tags, as we (try to) use semver now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1840318 13f79535-47bb-0310-9956-ffa450edef68
2018-09-07 19:25:02 +00:00
Andreas Beeker
8ebfec4808
#62649 - Remove OPOIFS* / rename NPOIFS* to POIFS*
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839709 13f79535-47bb-0310-9956-ffa450edef68
2018-08-31 00:25:50 +00:00