]>
source.dussan.org Git - poi.git/log
Javen O'Neal [Thu, 13 Jul 2017 03:42:12 +0000 (03:42 +0000)]
replace return variable assignments with return statements
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1801799 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Thu, 13 Jul 2017 03:35:06 +0000 (03:35 +0000)]
github #43: fix roundUp and roundDown.
Thanks to @FishMeat on github for the patch.
This closes #43 on github.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1801798 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Wed, 12 Jul 2017 10:46:13 +0000 (10:46 +0000)]
[Bug-61281] fix issue with export of table columns - Thanks to Daniel for the patch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1801721 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Wed, 12 Jul 2017 08:38:20 +0000 (08:38 +0000)]
remove more deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1801697 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Wed, 12 Jul 2017 08:15:44 +0000 (08:15 +0000)]
remove deprecated methods from CommentsTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1801692 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Tue, 11 Jul 2017 16:38:49 +0000 (16:38 +0000)]
[Bug-61281] guard against index out of bounds in XSSFExportToXml column mapping
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1801634 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Mon, 10 Jul 2017 07:26:40 +0000 (07:26 +0000)]
expand range of acceptable values in TestFonts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1801416 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Mon, 10 Jul 2017 01:34:30 +0000 (01:34 +0000)]
bug 60685: ignore problems with HPBF Publisher Quill Contents PLC hyperlink records so that text extraction can continue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1801405 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Mon, 10 Jul 2017 01:31:31 +0000 (01:31 +0000)]
whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1801404 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sun, 9 Jul 2017 23:28:41 +0000 (23:28 +0000)]
font rendering - handle a few system dependent textbox sizes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1801401 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Sun, 9 Jul 2017 22:32:27 +0000 (22:32 +0000)]
[Bug-61268] avoid NegativeArraySizeException parsing doc file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1801395 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Sun, 9 Jul 2017 21:34:53 +0000 (21:34 +0000)]
fix spelling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1801393 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sun, 9 Jul 2017 16:26:33 +0000 (16:26 +0000)]
#61266 Test for old unsupported MS Write WRI files, and give a more helpful exception if found, plus unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1801376 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sun, 9 Jul 2017 15:27:29 +0000 (15:27 +0000)]
Rollback of r1801368 because of a generics bug with self-referenced types in Java6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1801373 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sun, 9 Jul 2017 11:09:45 +0000 (11:09 +0000)]
SL Common: narrow generics definition because of tighter java9 checks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1801368 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sat, 8 Jul 2017 23:44:35 +0000 (23:44 +0000)]
test environment via ant - not via the shell - hope that makes sense ...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1801341 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sat, 8 Jul 2017 23:15:21 +0000 (23:15 +0000)]
add .ttf to ignored test integration resources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1801339 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sat, 8 Jul 2017 22:20:55 +0000 (22:20 +0000)]
#61169 - Text with Japanese characters overflows textbox
- add resize methods with Graphics argument
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1801329 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Sat, 8 Jul 2017 18:15:49 +0000 (18:15 +0000)]
[Bug 58975] add test case for new function args default of 255
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1801307 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Thu, 6 Jul 2017 07:56:57 +0000 (07:56 +0000)]
[github-25] support excel number trailing comma format - Thabks to Luca Martini for proving the patch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800975 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Wed, 5 Jul 2017 22:56:32 +0000 (22:56 +0000)]
[Bug 58975] do not cast numberOfOperands to byte in AbstractFunctionPtg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800949 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Mon, 3 Jul 2017 22:18:25 +0000 (22:18 +0000)]
fix javadoc issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800717 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Mon, 3 Jul 2017 20:56:02 +0000 (20:56 +0000)]
[Bug 60422] fix data formatter issue with specific format in German locale
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800713 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Mon, 3 Jul 2017 20:32:55 +0000 (20:32 +0000)]
[Bug 61246] remove flush method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800712 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Mon, 3 Jul 2017 18:49:25 +0000 (18:49 +0000)]
[Bug 61246] fix issue where SXSSF sheet data has unicode surrogate chars replaced by '?'
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800705 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Mon, 3 Jul 2017 16:16:35 +0000 (16:16 +0000)]
Remove check for jdk1.5 in test because POI now only supports jre1.6 and up
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800696 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Sun, 2 Jul 2017 17:12:55 +0000 (17:12 +0000)]
Add missing deprecations for CellType methods that return ints
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800569 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Sun, 2 Jul 2017 12:29:37 +0000 (12:29 +0000)]
add test case for date formatting using different locales
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800558 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sat, 1 Jul 2017 19:53:47 +0000 (19:53 +0000)]
add version.id to release notes in update-download template
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800529 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Fri, 30 Jun 2017 20:21:33 +0000 (20:21 +0000)]
#61243 - Refactor and unify toString/toXml in DDF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800452 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Fri, 30 Jun 2017 13:00:57 +0000 (13:00 +0000)]
Remove more deprecated code (MissingCellPolicy)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800400 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Fri, 30 Jun 2017 12:18:13 +0000 (12:18 +0000)]
Remove more deprecated code (BorderFormatting constants)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800385 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Fri, 30 Jun 2017 11:48:23 +0000 (11:48 +0000)]
Remove more deprecated code (especially from Spreadsheet Cell classes)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800375 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Fri, 30 Jun 2017 07:48:40 +0000 (07:48 +0000)]
remove incomplete javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800361 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Fri, 30 Jun 2017 07:45:46 +0000 (07:45 +0000)]
add @Internal annotation to methods that return a CT* class
add @Override annotation where missing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800360 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Thu, 29 Jun 2017 23:06:27 +0000 (23:06 +0000)]
Expose one more bit of style information generically (for XSSF). If someone needs all these properties for HSSF charts as well, we can build a new Interface for the various bits and populate it with things like axis line width and color, etc. but for now I think most users are in the XSSF realm like me.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800341 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Thu, 29 Jun 2017 14:38:41 +0000 (14:38 +0000)]
Deprecated xssfSheetIterator has been removed, so remove javadoc reference
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800288 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Thu, 29 Jun 2017 10:49:22 +0000 (10:49 +0000)]
remove temporary jenkins debug output
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800263 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Thu, 29 Jun 2017 09:33:33 +0000 (09:33 +0000)]
remove timezoned call to Date.toString() - SignatureProperties don't necessarily need an Id attribute
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800257 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Thu, 29 Jun 2017 09:06:30 +0000 (09:06 +0000)]
remove deprecated org.apache.poi.hssf.record.RecordFormatException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800256 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Thu, 29 Jun 2017 08:55:35 +0000 (08:55 +0000)]
remove some unused imports
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800255 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Thu, 29 Jun 2017 08:45:00 +0000 (08:45 +0000)]
remove deprecated POIXMLDocument.hasOOXMLHeader
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800254 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Thu, 29 Jun 2017 08:37:02 +0000 (08:37 +0000)]
remove deprecated org.apache.poi.hssf.record.RecordFormatException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800249 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Thu, 29 Jun 2017 08:15:50 +0000 (08:15 +0000)]
Remove old XSSFWorkbook wb.xssfSheetIterator method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800248 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Thu, 29 Jun 2017 08:10:32 +0000 (08:10 +0000)]
Remove old XSSFPaswordHelper
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800247 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 28 Jun 2017 23:30:15 +0000 (23:30 +0000)]
Fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800214 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 28 Jun 2017 23:29:58 +0000 (23:29 +0000)]
Used deprecated external method removed, so remove internal method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800212 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 28 Jun 2017 23:25:41 +0000 (23:25 +0000)]
Used deprecated external method removed, so remove internal method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800211 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Wed, 28 Jun 2017 23:04:25 +0000 (23:04 +0000)]
add debugging info to find signature differences
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800209 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Wed, 28 Jun 2017 22:11:26 +0000 (22:11 +0000)]
Ensure SpreadsheetVersion is set for AreaReferences
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800208 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Wed, 28 Jun 2017 21:38:23 +0000 (21:38 +0000)]
Bug 61182 - Invalid signature created for streamed xslx file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800207 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Wed, 28 Jun 2017 10:34:37 +0000 (10:34 +0000)]
Remove some deprecated *SSF APIs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1800147 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sun, 25 Jun 2017 19:16:36 +0000 (19:16 +0000)]
Add import for javadocs references
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799832 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Sat, 24 Jun 2017 13:53:47 +0000 (13:53 +0000)]
expand StaxHelper
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799772 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sat, 24 Jun 2017 09:27:28 +0000 (09:27 +0000)]
prepare for 3.17-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799747 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sat, 24 Jun 2017 09:20:02 +0000 (09:20 +0000)]
rollback invalid commit - r1799740
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799742 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sat, 24 Jun 2017 09:03:00 +0000 (09:03 +0000)]
release prepare for 3.17-beta1 - pin documentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799740 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Sat, 24 Jun 2017 07:30:07 +0000 (07:30 +0000)]
Add StaxHelper to ensure that StAX parsers have sensible defaults, including settings to avoid XML Entity Expansion issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799734 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Sat, 24 Jun 2017 05:55:45 +0000 (05:55 +0000)]
Add file that failed regression tests as a unit test.
Adjust table style processing to allow for AlternateContent wrappers for table element style definitions.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799733 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Sat, 24 Jun 2017 00:37:03 +0000 (00:37 +0000)]
[Bug 60422] Fix forbidden-api build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799723 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Sat, 24 Jun 2017 00:15:20 +0000 (00:15 +0000)]
[Bug 60422] Tidy up test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799722 13f79535 -47bb-0310-9956-
ffa450edef68
PJ Fanning [Fri, 23 Jun 2017 23:42:25 +0000 (23:42 +0000)]
Bug 60422 add testtestcase with current LocaleUtil workaround
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799721 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Fri, 23 Jun 2017 15:43:48 +0000 (15:43 +0000)]
Move my new unit conversions to the Units class, move and deprecate duplicate and scattered unit constants, update constant references to standardize on the ones in the Units class.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799683 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Fri, 23 Jun 2017 06:17:09 +0000 (06:17 +0000)]
Bug 61203
one of these days I'll add the copyright to my project templates.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799645 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Fri, 23 Jun 2017 05:16:38 +0000 (05:16 +0000)]
Bug 61203 - XSSFDrawing.getAnchorFromParent handles CTOneCellAnchor incorrectly, ignores CTAbsoluteAnchor
This is likely incomplete, but closer to where things should be. It is backward compatible with previous uses of XSSFClientAnchor.
This fixes a bug in XSSFGraphicFrame that was hiding the parent class anchor property (which is a protected field set directly from XSSFDrawing). This is a peril of using direct property access - the hiding wasn't obvious because there was no setter being overridden.
XSSFGraphicFrame now notices when it relates to a chart, and setts the frame property of the XSSFChart. That was not being set on parse previously, only when creating charts from scratch. That didn't seem right.
XSSFClientAnchor now calculates size and position correctly based on initial inputs from the different types of anchors. It DOES NOT update those initial inputs, however. It does properly adjust if the size or initial position are absolute and the corresponding row/column values are requested.
Added new class EMUUtils to centralize the measurement constants and conversions since there are so many units in play in the OOXML spec and POI APIs:
* EMUs (English Metric Units)
* Inches
* Centimeters
* Points
* Pixels
* Twips (1/20th of a point)
I'm sure there are more conversions that could be done there, I just started with what I needed.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799643 13f79535 -47bb-0310-9956-
ffa450edef68
Tim Allison [Tue, 20 Jun 2017 18:11:34 +0000 (18:11 +0000)]
bug 61045 -- allow for (and log!) extra bytes in FormatRecord.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799360 13f79535 -47bb-0310-9956-
ffa450edef68
Tim Allison [Tue, 20 Jun 2017 12:59:33 +0000 (12:59 +0000)]
bug 61053 -- not a fix, but this aligns XSSFBSheetHandler's behavior with streaming and non-streaming extractors for xlsx
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799345 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 09:52:43 +0000 (09:52 +0000)]
javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799332 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 09:16:05 +0000 (09:16 +0000)]
@Ignore("requires an internet connection to a 3rd party site"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799326 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 09:13:18 +0000 (09:13 +0000)]
unit test that is not written yet should fail
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799324 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 09:12:42 +0000 (09:12 +0000)]
simplify unit test code with IOUtils.write to a NullOutputStream
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799323 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Tue, 20 Jun 2017 09:04:02 +0000 (09:04 +0000)]
Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799320 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 08:13:58 +0000 (08:13 +0000)]
bug 57919: close opened resources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799316 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 07:28:14 +0000 (07:28 +0000)]
bug 57919: add functions to write and close a POIDocument, guaranteeing closure of the output stream and document.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799308 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 07:05:08 +0000 (07:05 +0000)]
rename createXls and createXlsx helper functions: these are specifically for testing text rotation.
Made the file creation compatible on Windows and Mac/Linux using POI TempFile instead of a hard-coded filename.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799307 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 07:03:13 +0000 (07:03 +0000)]
bug 58113: this passes with SXSSF now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799306 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 06:08:38 +0000 (06:08 +0000)]
bug 56557: open test-data/spreadsheet/56557.xlsx such that the unit test test56557() does not leave a modified file on disk after running.
I verified that
> Workbook wb = XSSFTestDataSamples.openSampleWorkbook("56557.xlsx")
and
> Workbook wb = WorkbookFactory.create(XSSFTestDataSamples.getSampleFile("56557.xlsx"), password=null, readOnly=false);
both fail when the fix from r1798913 for SXSSFWorkbook is not applied and both pass when the fix is applied.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799304 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 05:51:48 +0000 (05:51 +0000)]
whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799303 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Tue, 20 Jun 2017 05:47:56 +0000 (05:47 +0000)]
bug 52063: support 2-argument LOOKUP(lookup_value, array) function in Excel
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799302 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Mon, 19 Jun 2017 11:05:20 +0000 (11:05 +0000)]
Improve error message if we encounter invalid/unexpected files in integration tests
Adjust some tests slightly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799178 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Sun, 18 Jun 2017 05:59:31 +0000 (05:59 +0000)]
Need to do the casting differently to make the code compile with Java 6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799038 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Sun, 18 Jun 2017 05:59:25 +0000 (05:59 +0000)]
Don't try to clone a chart, this makes integration-tests work for a few more documents, also the one added via bug 56557
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799037 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Sun, 18 Jun 2017 05:59:16 +0000 (05:59 +0000)]
Update forbidden-apis to version 2.3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799036 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Sun, 18 Jun 2017 05:59:11 +0000 (05:59 +0000)]
Fix some IntelliJ warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1799035 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sat, 17 Jun 2017 00:00:49 +0000 (00:00 +0000)]
#61169 - Text with Japanese characters overflows textbox
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798986 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Fri, 16 Jun 2017 13:26:50 +0000 (13:26 +0000)]
Add missing file for test for bug 56557
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798926 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Fri, 16 Jun 2017 11:35:31 +0000 (11:35 +0000)]
Fix some IntelliJ warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798913 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Thu, 15 Jun 2017 05:08:24 +0000 (05:08 +0000)]
bug 61170: add comment why we should catch exceptions in SAXHelper
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798793 13f79535 -47bb-0310-9956-
ffa450edef68
Javen O'Neal [Thu, 15 Jun 2017 05:00:25 +0000 (05:00 +0000)]
bug 61170: add extra logging to SaxHelper.
Thanks to PJ Fanning for the patch!
This closes #58 on github.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798792 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Wed, 14 Jun 2017 17:21:50 +0000 (17:21 +0000)]
#61162 - En-/decryption support for HWPF
- encryption support for HWPF
- refactor/unify EncryptionInfo handling in H**F classes
- remove Iterable interface from WorkbookRecordList - use getRecords() instead, to prevent modifications over the Iterator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798722 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Mon, 12 Jun 2017 05:38:41 +0000 (05:38 +0000)]
Standardize some more common chart axis properties.
Implement the ChartAxis ss interface for date axes, which are pretty much a category axis with one extra property, a date granularity (not currently passed through, get it still from the CT* class). Created the class and test from the category axis versions.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798414 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 10 Jun 2017 15:01:14 +0000 (15:01 +0000)]
Javadoc has some references to unit test classes, so put the junit jars on the javadoc classpath
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798324 13f79535 -47bb-0310-9956-
ffa450edef68
Greg Woolsey [Sat, 10 Jun 2017 01:04:40 +0000 (01:04 +0000)]
Don't report data table master cells as formula cells, since POI doesn't evaluate data table formulas.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798289 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Fri, 9 Jun 2017 12:49:58 +0000 (12:49 +0000)]
Forbidden-APIs needs junit-jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798204 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Fri, 9 Jun 2017 12:49:01 +0000 (12:49 +0000)]
Move one testcase with incorrect source location
remove some junit dependencies in example-code
build: do not pass junit-jar to normal compile targets to avoid introducing it as dependency again
Reformat code, fix warnings, ...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798202 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Fri, 9 Jun 2017 12:47:03 +0000 (12:47 +0000)]
Bug 60374: Add test for ArrayIndexOutOfBounds on old Word Documents due to Non-Unicode
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1798200 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 7 Jun 2017 13:35:20 +0000 (13:35 +0000)]
Update the CreateTable example to reduce the use of the raw CT classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1797923 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 7 Jun 2017 13:33:58 +0000 (13:33 +0000)]
Permit table style modifications, needed for CreateTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1797922 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 7 Jun 2017 13:06:38 +0000 (13:06 +0000)]
Make it possible to create simple XSSF sheet tables without needing CT classes directly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1797919 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 7 Jun 2017 12:39:41 +0000 (12:39 +0000)]
XSSFTable should format numeric/date cells when used as Column Header names as Excel does, see https://stackoverflow.com/questions/
44407111 /apache-poi-cant-format-filled-cells-as-numeric
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1797914 13f79535 -47bb-0310-9956-
ffa450edef68