aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* add SharedStrings interface to allow our XSSF code to more easily extended ↵PJ Fanning2018-07-251-1/+2
| | | | | | by external projects git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1836674 13f79535-47bb-0310-9956-ffa450edef68
* [bug-62435] Rename getAllEmbedds method to getAllEmbeddedParts ↵PJ Fanning2018-06-064-5/+5
| | | | | | (getAllEmbedds is retained but deprecated) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1833059 13f79535-47bb-0310-9956-ffa450edef68
* #62187 - Compiling with Java 10 fails with ClassCastException / use ↵Andreas Beeker2018-06-031-8/+10
| | | | | | commons-compress for zipbomb detection git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1832789 13f79535-47bb-0310-9956-ffa450edef68
* sonar fixes andAndreas Beeker2018-06-028-230/+183
| | | | | | disable closing of outputstream in ZipPackage.saveImpl() - see https://stackoverflow.com/questions/50646538/stream-close-exception-occures git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1832746 13f79535-47bb-0310-9956-ffa450edef68
* #62355 - unsplit packages - 3 - only importsAndreas Beeker2018-05-278-17/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1832360 13f79535-47bb-0310-9956-ffa450edef68
* sonar fixesAndreas Beeker2018-05-221-6/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1832067 13f79535-47bb-0310-9956-ffa450edef68
* sonar fixes - null dereferenceAndreas Beeker2018-05-211-8/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1831992 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup Biff8EncryptionKey usage and use HPSF constants instead of ↵Andreas Beeker2018-05-011-2/+1
| | | | | | duplicated strings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1830705 13f79535-47bb-0310-9956-ffa450edef68
* #59893 - Forbid calls to InputStream.availableAndreas Beeker2018-04-271-17/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1830400 13f79535-47bb-0310-9956-ffa450edef68
* Bug 62187 - commit Commons Compress unrelated changesAndreas Beeker2018-04-251-9/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1830061 13f79535-47bb-0310-9956-ffa450edef68
* fix license check failurePJ Fanning2018-02-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825547 13f79535-47bb-0310-9956-ffa450edef68
* [github-98] write data in respective Column in case of XDDFChart. Thanks to ↵PJ Fanning2018-02-273-0/+133
| | | | | | Sandeep Tiwari. This closes #98 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825521 13f79535-47bb-0310-9956-ffa450edef68
* tidy up API for font indexPJ Fanning2018-02-264-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825409 13f79535-47bb-0310-9956-ffa450edef68
* [bug-62055] Fix XSSFImportFromXML table resize. Thanks to Leonard Kappe. ↵PJ Fanning2018-02-251-3/+3
| | | | | | This closes #99 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825315 13f79535-47bb-0310-9956-ffa450edef68
* [bug-62018] use ints to index fontsPJ Fanning2018-02-204-163/+166
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1824826 13f79535-47bb-0310-9956-ffa450edef68
* add apache license to new examples due to rat check failuresPJ Fanning2018-02-165-0/+85
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1824489 13f79535-47bb-0310-9956-ffa450edef68
* Add some write/change code as well for GroovyNick Burch2018-02-151-4/+78
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1824378 13f79535-47bb-0310-9956-ffa450edef68
* Commit examples from the JVM Languages pageNick Burch2018-02-155-0/+107
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1824371 13f79535-47bb-0310-9956-ffa450edef68
* introduce XDDFShapeProperties as user model API (closes #72 from GitHub)Alain Béarez2018-01-063-25/+123
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1820369 13f79535-47bb-0310-9956-ffa450edef68
* #61797 - Embed Excel / Ole objects into powerpointAndreas Beeker2017-12-311-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1819710 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61665: Enhance SSPerformanceTest some more to add a warmup run and allow ↵Dominik Stadler2017-12-281-16/+38
| | | | | | to run with unsynchronized XmlBeans git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1819417 13f79535-47bb-0310-9956-ffa450edef68
* use StandardCharsetsPJ Fanning2017-12-191-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1818628 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61882 - Some paths can create an XSSFColor instance with a null CTColor ↵Greg Woolsey2017-12-112-23/+23
| | | | | | | | | | | | | | reference Protect against this in the future by introducing a factory method to create XSSFColor instances from a CTColor instance and the associated workbook style indexed color map. If the CTColor instance is null, the factory returns null. All callers already are prepared for a null instance, but many had their own null check on the CTColor object. This centralizes that. This also further forces the requirement for the indexed color map. Any time a color is created, the workbook or styleTable is available in the same context, so passing this is extra parameter is trivial and allows XSSFColor to properly reference custom/themed indexed colors. Did not remove any methods yet, only deprecated them. Changed the signature to one internal test-only constructor. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1817796 13f79535-47bb-0310-9956-ffa450edef68
* use try-with-resources in more placesPJ Fanning2017-12-053-139/+143
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1817247 13f79535-47bb-0310-9956-ffa450edef68
* XDDF usermodel for Charts closes #68 on GitHubAlain Béarez2017-11-266-158/+266
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1816383 13f79535-47bb-0310-9956-ffa450edef68
* #61809 - Infinite loop in SectionIDMap.get() and .put()Andreas Beeker2017-11-241-3/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1816205 13f79535-47bb-0310-9956-ffa450edef68
* use try with resources in examplesPJ Fanning2017-11-236-177/+99
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1816187 13f79535-47bb-0310-9956-ffa450edef68
* Remove use of deprecated methodsPJ Fanning2017-10-223-14/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812911 13f79535-47bb-0310-9956-ffa450edef68
* Remove use of deprecated methodsPJ Fanning2017-10-225-12/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812907 13f79535-47bb-0310-9956-ffa450edef68
* cleanup for r1812470: avoid NPEs from string.isEmpty()Javen O'Neal2017-10-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812532 13f79535-47bb-0310-9956-ffa450edef68
* convert "".equals(string) to string.isEmpty()Javen O'Neal2017-10-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812470 13f79535-47bb-0310-9956-ffa450edef68
* string.equals("") -> string.isEmpty() or "".equals(string)Javen O'Neal2017-10-182-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812463 13f79535-47bb-0310-9956-ffa450edef68
* Make public static members final [thanks to Kui Liu]. This close #78.PJ Fanning2017-10-152-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812234 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Sonar issuesDominik Stadler2017-09-251-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1809636 13f79535-47bb-0310-9956-ffa450edef68
* Replace the incompatible new interface method endSheet() with a Java 8 ↵Dominik Stadler2017-09-252-19/+0
| | | | | | default method so existing implementations do not need to be adjusted. Also use this for headerFooter() and remove the empty implementations that are now obsolete. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1809635 13f79535-47bb-0310-9956-ffa450edef68
* Fix compiling Examples after adding new interface-method, fix compiler ↵Dominik Stadler2017-09-234-36/+26
| | | | | | warnings and adjust some broken Javadoc git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1809388 13f79535-47bb-0310-9956-ffa450edef68
* More IntelliJ warnings fixesDominik Stadler2017-09-2315-125/+67
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1809370 13f79535-47bb-0310-9956-ffa450edef68
* Adjust many examples for Java 8: try-with-resource, multi-catch and other ↵Dominik Stadler2017-09-2298-2406/+2142
| | | | | | code cleanup. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1809354 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61349 -- add more sanity checks when allocating byte[]Tim Allison2017-09-211-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1809169 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61528 - Pivot Table enhancements, new example [Thanks to R Kietel]. This ↵PJ Fanning2017-09-191-0/+124
| | | | | | closes #71 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808946 13f79535-47bb-0310-9956-ffa450edef68
* bug 61454: add column width to example Spreadsheet ToHtml; thanks to ↵Javen O'Neal2017-09-191-1/+1
| | | | | | Christian Froehler git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808817 13f79535-47bb-0310-9956-ffa450edef68
* bug 61454: add column width to example Spreadsheet ToHtml; thanks to ↵Javen O'Neal2017-09-192-8/+59
| | | | | | Christian Froehler git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808816 13f79535-47bb-0310-9956-ffa450edef68
* use non-deprecated versions of getCellTypePJ Fanning2017-09-184-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808741 13f79535-47bb-0310-9956-ffa450edef68
* change HyperLink getType to return HyperlinkTypePJ Fanning2017-09-181-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808737 13f79535-47bb-0310-9956-ffa450edef68
* update getCellType to return CellType enum instead of intPJ Fanning2017-09-181-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808718 13f79535-47bb-0310-9956-ffa450edef68
* update getCellType to return CellType enum instead of intPJ Fanning2017-09-181-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808703 13f79535-47bb-0310-9956-ffa450edef68
* Various code cleanups, "final" for static methods is useless, for-loops, ↵Dominik Stadler2017-09-172-3/+3
| | | | | | simplify boolean conditions, try-with-resource, javadoc, ... git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808620 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary local variablesDominik Stadler2017-09-163-9/+4
| | | | 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-1621-29/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808516 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary initialization of membersDominik Stadler2017-09-1610-32/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808510 13f79535-47bb-0310-9956-ffa450edef68