Javen O'Neal
|
03b5dc68eb
|
bug 60128: remove forbidden-api Exception.printStackTrace()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760744 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-14 19:24:49 +00:00 |
|
Javen O'Neal
|
97b94f5dcd
|
javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760733 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-14 17:25:03 +00:00 |
|
Javen O'Neal
|
753ca9b811
|
bug 60128: make code Java 6 compatible. Throwable#addSuppressed not available until Java 7
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760732 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-14 17:21:31 +00:00 |
|
Javen O'Neal
|
6ed8aaada6
|
make logger final
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760711 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-14 13:56:03 +00:00 |
|
Javen O'Neal
|
2104b1d585
|
bug 60128: close opened resources to avoid leaks; add exception as cause where available for more context for raised exceptions.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760710 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-14 13:55:39 +00:00 |
|
Javen O'Neal
|
d34b6a995b
|
give more helpful exceptions rather than returning null when zip file cannot be opened
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760708 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-14 13:28:27 +00:00 |
|
Javen O'Neal
|
ed5cd06fb7
|
bug 60128: close open file descriptors when exceptions are thrown from OPCPackage.open
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760702 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-14 12:57:39 +00:00 |
|
Nick Burch
|
6219cc6664
|
Unit test for bug #60128, showing that calling close on a broken package cleans up file or stream
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760693 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-14 12:35:34 +00:00 |
|
Javen O'Neal
|
ed7258906f
|
move HSSFFormulaEvaluator#evaluateInCell and BaseXSSFFormulaEvaluator#evaluateInCell(Cell) up to BaseFormulaEvaluator to reduce duplicated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760651 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-14 07:53:58 +00:00 |
|
Javen O'Neal
|
8842d7bffd
|
move BaseXSSFFormulaEvaluator#evaluateFormulaCellEnum(Cell) and HSSFFormulaEvaluator#evaluateFormulaCellEnum(Cell) up to BaseFormulaEvaluator class to reduce duplicated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760647 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-14 07:33:20 +00:00 |
|
Javen O'Neal
|
f71ae8036d
|
bug 59791: add deprecation and removal annotations
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760641 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-14 06:42:20 +00:00 |
|
Javen O'Neal
|
9a11b0ffd5
|
bug 59791: add deprecation and removal annotations
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760634 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-14 05:51:52 +00:00 |
|
Javen O'Neal
|
430ea9abfd
|
bug 58190: add @since annotations to SlideShow.addPicture and findPicture
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760633 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-14 05:41:40 +00:00 |
|
Javen O'Neal
|
38cd94d676
|
bug 59264: revert CellStyle#getBorder[Top|Bottom|Left|Right]() to return short and add getBorder[Top|Bottom|Left|Right]Enum() returns BorderStyle enum for backwards compatibility with POI 3.14 and earlier
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760630 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-14 05:22:23 +00:00 |
|
Javen O'Neal
|
292d7ec27c
|
bug 59264: revert getBorder[Top|Bottom|Left|Right|Diagonal]() to return short and add getBorder[Top|Bottom|Left|Right|Diagonal]Enum() returns BorderStyle enum for backwards compatibility with POI 3.14 and earlier
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760627 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-14 04:35:45 +00:00 |
|
Javen O'Neal
|
5d1ae2cbae
|
bug 59833: add @Removal annotation to deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760623 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-14 03:33:52 +00:00 |
|
Javen O'Neal
|
808996a683
|
bug 59873: add @Removal annotations for deprecated CreationHelper#createHyperlink(int) and Hyperlink static aliases to HyperlinkType enum values
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760621 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-14 03:17:51 +00:00 |
|
Javen O'Neal
|
9ea5915313
|
bug 59907: add @Removal annotations to deprecated ClientAnchor#setAnchorType(int)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760619 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-14 02:55:52 +00:00 |
|
Javen O'Neal
|
0977e51818
|
bug 59907: restore ClientAnchor#setAnchorType(int) that was removed in POI 3.14 beta 1 and broke backwards compatibility without a 2 release deprecation notice
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760617 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-14 02:41:01 +00:00 |
|
Javen O'Neal
|
3c97d9700a
|
change CellValue#getCellType() to return an int instead of an enum for backwards compatibility (source and binary) with POI 3.14. This reverts the behavior introduced in POI 3.15 beta 3 in r1751237.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760607 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-13 23:24:56 +00:00 |
|
Javen O'Neal
|
abe46f40ed
|
bug 52425: Error adding Comments into cloned Sheets; patch from Daniel
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760221 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-11 04:05:42 +00:00 |
|
Javen O'Neal
|
5409095923
|
bug 58191: Support merge cells within a table row; patch from Mark Olesen
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760217 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-11 03:21:33 +00:00 |
|
Javen O'Neal
|
6146860a5e
|
bug 59958: Add cells on the fly to the evaluation sheet cache on cache miss; patch from Tomasz Stanczak
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760213 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-11 02:02:56 +00:00 |
|
Javen O'Neal
|
d9cfcbdd18
|
bug 60102: throw IOException when writing a closed document
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760206 13f79535-47bb-0310-9956-ffa450edef68
|
2016-09-10 19:33:32 +00:00 |
|
Javen O'Neal
|
139319ac73
|
+svn:eol-style=native
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1756398 13f79535-47bb-0310-9956-ffa450edef68
|
2016-08-15 16:08:11 +00:00 |
|
Javen O'Neal
|
779c0e527a
|
bug 60005: fix NPE in XSLFTextParagraph.getDefaultFontSize()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1756397 13f79535-47bb-0310-9956-ffa450edef68
|
2016-08-15 16:05:32 +00:00 |
|
Nick Burch
|
a1f6d9c832
|
Switch XSSF onto BaseFormulaEvaluator, reducing code duplication and fixing XSSFFormulaEvaluator.evaluateAll() to mirror HSSF and use any setup referenced workbooks (stackoverflow #38706562)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1755079 13f79535-47bb-0310-9956-ffa450edef68
|
2016-08-03 11:53:43 +00:00 |
|
Javen O'Neal
|
fcb22a8a5e
|
bug 59922: rename XSSFPaswordHelper to XSSFPasswordHelper
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754786 13f79535-47bb-0310-9956-ffa450edef68
|
2016-08-01 18:20:43 +00:00 |
|
Javen O'Neal
|
ca31684a27
|
bug 59922: make XSSFPasswordHelper internal because it works on XmlObject objects, which are generally an internal implementation detail of POI-OOXML
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754785 13f79535-47bb-0310-9956-ffa450edef68
|
2016-08-01 18:03:36 +00:00 |
|
Javen O'Neal
|
66d7d4ddaa
|
whitespace; +svn:eol-style=native
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754784 13f79535-47bb-0310-9956-ffa450edef68
|
2016-08-01 18:01:24 +00:00 |
|
David North
|
984683ab4b
|
Fix zero-padding and handling of empty passwords (meaning protection on, but no password to remove it) for XSSF workbook protection.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59920
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754744 13f79535-47bb-0310-9956-ffa450edef68
|
2016-08-01 12:51:24 +00:00 |
|
Dominik Stadler
|
5e0612eabd
|
IDE warnings and fix a few places where we do not close resources in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754673 13f79535-47bb-0310-9956-ffa450edef68
|
2016-07-31 17:19:17 +00:00 |
|
Nick Burch
|
dfcf57bfbf
|
Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754530 13f79535-47bb-0310-9956-ffa450edef68
|
2016-07-29 14:03:28 +00:00 |
|
David North
|
e5877bd8e0
|
Introduce name-based methods for access to named ranges in a workbook, and deprecate the old index-based methods.
Re-organise internally to use a map so that lookup is O(1) rather than O(n ranges).
Add a dependency on commons collections 4, also ASL licensed so no problem.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59734
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754521 13f79535-47bb-0310-9956-ffa450edef68
|
2016-07-29 13:24:00 +00:00 |
|
Dominik Stadler
|
fa24949520
|
Bug 55384: Handle setting pre-evaluation string correctly in SXSSF as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754328 13f79535-47bb-0310-9956-ffa450edef68
|
2016-07-27 18:15:54 +00:00 |
|
Dominik Stadler
|
a86686846b
|
Bug 59634: Clarify and refine JavaDoc of various close() methods to consistently state that close() invalidates the object
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753912 13f79535-47bb-0310-9956-ffa450edef68
|
2016-07-24 11:38:50 +00:00 |
|
Dominik Stadler
|
da595c2343
|
Fix some IntelliJ and Findbugs warnings: StringBuilder, foreach, append(), ...
test-updates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753122 13f79535-47bb-0310-9956-ffa450edef68
|
2016-07-17 21:18:07 +00:00 |
|
Javen O'Neal
|
9ee14c5508
|
bug 57919: add performance note to javadocs about using BufferedOutputStreams on Document.write(OutputStream) if underlying resource is high latency
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753112 13f79535-47bb-0310-9956-ffa450edef68
|
2016-07-17 20:25:37 +00:00 |
|
Javen O'Neal
|
d9f3df34de
|
bug 58190: push down XMLSlideShow tests to BaseTestSlideShow, add coverage for HSLFSlideShow
add tests for SlideShow.findPicture and SlideShow.addPicture
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753073 13f79535-47bb-0310-9956-ffa450edef68
|
2016-07-17 13:25:02 +00:00 |
|
Javen O'Neal
|
7637cdc080
|
bug 59873: javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753043 13f79535-47bb-0310-9956-ffa450edef68
|
2016-07-17 09:48:36 +00:00 |
|
Javen O'Neal
|
4d33ceffb1
|
bug 59873: javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753042 13f79535-47bb-0310-9956-ffa450edef68
|
2016-07-17 09:44:26 +00:00 |
|
Javen O'Neal
|
2944b7a7a8
|
bug 59783: replace deprecated Hyperlink.LINK_* and Hyperlink.getType usage
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753041 13f79535-47bb-0310-9956-ffa450edef68
|
2016-07-17 09:42:13 +00:00 |
|
Javen O'Neal
|
c44094c04e
|
bug 59873: replace Hyperlink.LINK_* int constants with HyperlinkType enum
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753035 13f79535-47bb-0310-9956-ffa450edef68
|
2016-07-17 09:20:21 +00:00 |
|
Javen O'Neal
|
0025b16e3e
|
add cause to exceptions, log exceptions that are caught and suppressed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753030 13f79535-47bb-0310-9956-ffa450edef68
|
2016-07-17 08:41:52 +00:00 |
|
Javen O'Neal
|
1cf76af9e8
|
whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753028 13f79535-47bb-0310-9956-ffa450edef68
|
2016-07-17 08:26:51 +00:00 |
|
Javen O'Neal
|
f296b55b36
|
add @Override annotations to CreationHelper classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753017 13f79535-47bb-0310-9956-ffa450edef68
|
2016-07-17 07:14:49 +00:00 |
|
Javen O'Neal
|
4a8e7c393d
|
throw exception if hyperlink is invalid type when validating hyperlink
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753016 13f79535-47bb-0310-9956-ffa450edef68
|
2016-07-17 06:04:56 +00:00 |
|
Javen O'Neal
|
14472c1def
|
bug 59872: add @since annotation to Sheet#getHyperlink(CellAddress)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753015 13f79535-47bb-0310-9956-ffa450edef68
|
2016-07-17 05:47:03 +00:00 |
|
Javen O'Neal
|
285bedac9e
|
bug 59775: correctly create XSSFHyperlinks when target is a URL containing a hash mark; patch contributed by Guillermo Alvarez
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753013 13f79535-47bb-0310-9956-ffa450edef68
|
2016-07-17 05:43:03 +00:00 |
|
Javen O'Neal
|
44199a8ecd
|
bug 59872: add Sheet.getHyperlink(CellAddress)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753009 13f79535-47bb-0310-9956-ffa450edef68
|
2016-07-17 04:41:20 +00:00 |
|