]> source.dussan.org Git - poi.git/log
poi.git
7 years ago[Bug-61268] avoid NegativeArraySizeException parsing doc file
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

7 years agofix spelling
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

7 years ago#61266 Test for old unsupported MS Write WRI files, and give a more helpful exception...
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

7 years agoRollback of r1801368 because of a generics bug with self-referenced types in Java6
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

7 years agoSL Common: narrow generics definition because of tighter java9 checks
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

7 years agotest environment via ant - not via the shell - hope that makes sense ...
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

7 years agoadd .ttf to ignored test integration resources
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

7 years ago#61169 - Text with Japanese characters overflows textbox
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

7 years ago[Bug 58975] add test case for new function args default of 255
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

7 years ago[github-25] support excel number trailing comma format - Thabks to Luca Martini for...
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

7 years ago[Bug 58975] do not cast numberOfOperands to byte in AbstractFunctionPtg
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

7 years agofix javadoc issue
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

7 years ago[Bug 60422] fix data formatter issue with specific format in German locale
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

7 years ago[Bug 61246] remove flush method
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

7 years ago[Bug 61246] fix issue where SXSSF sheet data has unicode surrogate chars replaced...
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

7 years agoRemove check for jdk1.5 in test because POI now only supports jre1.6 and up
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

7 years agoAdd missing deprecations for CellType methods that return ints
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

7 years agoadd test case for date formatting using different locales
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

7 years agoadd version.id to release notes in update-download template
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

7 years ago#61243 - Refactor and unify toString/toXml in DDF
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

7 years agoRemove more deprecated code (MissingCellPolicy)
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

7 years agoRemove more deprecated code (BorderFormatting constants)
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

7 years agoRemove more deprecated code (especially from Spreadsheet Cell classes)
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

7 years agoremove incomplete javadocs
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

7 years agoadd @Internal annotation to methods that return a CT* class
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

7 years agoExpose one more bit of style information generically (for XSSF). If someone needs...
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

7 years agoDeprecated xssfSheetIterator has been removed, so remove javadoc reference
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

7 years agoremove temporary jenkins debug output
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

7 years agoremove timezoned call to Date.toString() - SignatureProperties don't necessarily...
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

7 years agoremove deprecated org.apache.poi.hssf.record.RecordFormatException
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

7 years agoremove some unused imports
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

7 years agoremove deprecated POIXMLDocument.hasOOXMLHeader
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

7 years agoremove deprecated org.apache.poi.hssf.record.RecordFormatException
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

7 years agoRemove old XSSFWorkbook wb.xssfSheetIterator method
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

7 years agoRemove old XSSFPaswordHelper
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

7 years agoFix javadoc warnings
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

7 years agoUsed deprecated external method removed, so remove internal method
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

7 years agoUsed deprecated external method removed, so remove internal method
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

7 years agoadd debugging info to find signature differences
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

7 years agoEnsure SpreadsheetVersion is set for AreaReferences
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

7 years agoBug 61182 - Invalid signature created for streamed xslx file
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

7 years agoRemove some deprecated *SSF APIs
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

7 years agoAdd import for javadocs references
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

7 years agoexpand StaxHelper
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

7 years agoprepare for 3.17-beta2
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

7 years agorollback invalid commit - r1799740
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

7 years agorelease prepare for 3.17-beta1 - pin documentation
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

7 years agoAdd StaxHelper to ensure that StAX parsers have sensible defaults, including settings...
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

7 years agoAdd file that failed regression tests as a unit test.
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

7 years ago[Bug 60422] Fix forbidden-api build issue
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

7 years ago[Bug 60422] Tidy up test case
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

7 years agoBug 60422 add testtestcase with current LocaleUtil workaround
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

7 years agoMove my new unit conversions to the Units class, move and deprecate duplicate and...
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

7 years agoBug 61203
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

7 years agoBug 61203 - XSSFDrawing.getAnchorFromParent handles CTOneCellAnchor incorrectly,...
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

7 years agobug 61045 -- allow for (and log!) extra bytes in FormatRecord.
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

7 years agobug 61053 -- not a fix, but this aligns XSSFBSheetHandler's behavior with streaming...
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

7 years agojavadoc
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

7 years ago@Ignore("requires an internet connection to a 3rd party site"
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

7 years agounit test that is not written yet should fail
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

7 years agosimplify unit test code with IOUtils.write to a NullOutputStream
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

7 years agoJavadoc fix
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

7 years agobug 57919: close opened resources
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

7 years agobug 57919: add functions to write and close a POIDocument, guaranteeing closure of...
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

7 years agorename createXls and createXlsx helper functions: these are specifically for testing...
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

7 years agobug 58113: this passes with SXSSF now
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

7 years agobug 56557: open test-data/spreadsheet/56557.xlsx such that the unit test test56557...
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

7 years agowhitespace
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

7 years agobug 52063: support 2-argument LOOKUP(lookup_value, array) function in Excel
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

7 years agoImprove error message if we encounter invalid/unexpected files in integration tests
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

7 years agoNeed to do the casting differently to make the code compile with Java 6
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

7 years agoDon't try to clone a chart, this makes integration-tests work for a few more document...
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

7 years agoUpdate forbidden-apis to version 2.3
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

7 years agoFix some IntelliJ warnings
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

7 years ago#61169 - Text with Japanese characters overflows textbox
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

7 years agoAdd missing file for test for bug 56557
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

7 years agoBug 56557: Fix handling chart sheets,
Dominik Stadler [Fri, 16 Jun 2017 11:35:31 +0000 (11:35 +0000)]
Bug 56557: Fix handling chart sheets,

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1798913 13f79535-47bb-0310-9956-ffa450edef68

7 years agobug 61170: add comment why we should catch exceptions in SAXHelper
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

7 years agobug 61170: add extra logging to SaxHelper.
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

7 years ago#61162 - En-/decryption support for HWPF
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

7 years agoStandardize some more common chart axis properties.
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

7 years agoJavadoc has some references to unit test classes, so put the junit jars on the javado...
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

7 years agoDon't report data table master cells as formula cells, since POI doesn't evaluate...
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

7 years agoForbidden-APIs needs junit-jars
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

7 years agoMove one testcase with incorrect source location
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

7 years agoBug 60374: Add test for ArrayIndexOutOfBounds on old Word Documents due to Non-Unicode
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

7 years agoUpdate the CreateTable example to reduce the use of the raw CT classes
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

7 years agoPermit table style modifications, needed for CreateTable
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

7 years agoMake it possible to create simple XSSF sheet tables without needing CT classes directly
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

7 years agoXSSFTable should format numeric/date cells when used as Column Header names as Excel...
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

7 years agoIgnore JCE restriction errors
Andreas Beeker [Wed, 7 Jun 2017 06:25:56 +0000 (06:25 +0000)]
Ignore JCE restriction errors

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1797856 13f79535-47bb-0310-9956-ffa450edef68

7 years agoHandle encrypted files with known password in integration tests
Andreas Beeker [Tue, 6 Jun 2017 22:21:46 +0000 (22:21 +0000)]
Handle encrypted files with known password in integration tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1797839 13f79535-47bb-0310-9956-ffa450edef68

7 years agoReplace HWPFOutputStream with ByteArrayOutputStream - it doesn't add any new features
Andreas Beeker [Tue, 6 Jun 2017 22:21:40 +0000 (22:21 +0000)]
Replace HWPFOutputStream with ByteArrayOutputStream - it doesn't add any new features

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1797838 13f79535-47bb-0310-9956-ffa450edef68

7 years ago#61162 - En-/decryption support for HWPF
Andreas Beeker [Tue, 6 Jun 2017 22:21:11 +0000 (22:21 +0000)]
#61162 - En-/decryption support for HWPF
Decryption for Binary RC4 and CryptoAPI (... XOR is missing)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1797837 13f79535-47bb-0310-9956-ffa450edef68

7 years agobug 58325, github-57: Set svn props. This closes #57 on github.
Javen O'Neal [Sun, 4 Jun 2017 19:01:51 +0000 (19:01 +0000)]
bug 58325, github-57: Set svn props. This closes #57 on github.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1797602 13f79535-47bb-0310-9956-ffa450edef68

7 years agobug 58325: enable TestXSSFShape unit tests. Thanks to Dominik Stadler for the initial...
Javen O'Neal [Sun, 4 Jun 2017 18:59:18 +0000 (18:59 +0000)]
bug 58325: enable TestXSSFShape unit tests. Thanks to Dominik Stadler for the initial unit test. Thanks to PJ Fanning for discovering that the bug was fixed at some point in the past and enabling the unit tests.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1797600 13f79535-47bb-0310-9956-ffa450edef68

7 years agofix eclipse resource leak warnings
Andreas Beeker [Wed, 31 May 2017 14:10:18 +0000 (14:10 +0000)]
fix eclipse resource leak warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1797043 13f79535-47bb-0310-9956-ffa450edef68

7 years agojavadocs
Javen O'Neal [Wed, 31 May 2017 02:46:24 +0000 (02:46 +0000)]
javadocs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796966 13f79535-47bb-0310-9956-ffa450edef68

7 years agoSonarQube fixes - close resources
Andreas Beeker [Wed, 31 May 2017 00:31:53 +0000 (00:31 +0000)]
SonarQube fixes - close resources

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796962 13f79535-47bb-0310-9956-ffa450edef68

7 years ago#61085 support table styles
Greg Woolsey [Wed, 31 May 2017 00:22:58 +0000 (00:22 +0000)]
#61085 support table styles

Needed a bit more, to support table/range only border properties for "internal" vertical and horizontal borders.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796961 13f79535-47bb-0310-9956-ffa450edef68