]> source.dussan.org Git - poi.git/log
poi.git
7 years agofix tests broken by <br/> doc changes
PJ Fanning [Mon, 17 Jul 2017 11:36:32 +0000 (11:36 +0000)]
fix tests broken by <br/> doc changes

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

7 years agojavadoc: replace invalid self enclosing elements
PJ Fanning [Mon, 17 Jul 2017 08:24:24 +0000 (08:24 +0000)]
javadoc: replace invalid self enclosing elements

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

7 years agosome javadoc fixes
PJ Fanning [Sat, 15 Jul 2017 22:31:09 +0000 (22:31 +0000)]
some javadoc fixes

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

7 years agotry to fix build issues since namespaces constants were changed
PJ Fanning [Sat, 15 Jul 2017 20:00:11 +0000 (20:00 +0000)]
try to fix build issues since namespaces constants were changed

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

7 years agobug 61300 -- prevent really long (infinite?) loop on corrupt file
Tim Allison [Fri, 14 Jul 2017 20:47:40 +0000 (20:47 +0000)]
bug 61300 -- prevent really long (infinite?) loop on corrupt file

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

7 years agoclean up whitespace and indents
Tim Allison [Fri, 14 Jul 2017 14:19:21 +0000 (14:19 +0000)]
clean up whitespace and indents

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

7 years agoavoid using non-ascii in unit tests
Tim Allison [Fri, 14 Jul 2017 14:17:55 +0000 (14:17 +0000)]
avoid using non-ascii in unit tests

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

7 years agobug 61286/bug 61287 -- allow WriteProtectRecord to have 2 bytes, and allow for Header...
Tim Allison [Fri, 14 Jul 2017 13:54:06 +0000 (13:54 +0000)]
bug 61286/bug 61287 -- allow WriteProtectRecord to have 2 bytes, and allow for HeaderFooter to be empty.

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

7 years agobug 61294 -- cleaned up based on PJ Fanning's code review. Went with a copy/paste...
Tim Allison [Fri, 14 Jul 2017 12:48:28 +0000 (12:48 +0000)]
bug 61294 -- cleaned up based on PJ Fanning's code review.  Went with a copy/paste from commons-io.

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

7 years agobug 61296: suggest de-duplication of purl dublin core namespace url
Javen O'Neal [Fri, 14 Jul 2017 03:54:12 +0000 (03:54 +0000)]
bug 61296: suggest de-duplication of purl dublin core namespace url

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

7 years agobug 61296: deduplicate ooxml schema constants
Javen O'Neal [Fri, 14 Jul 2017 03:47:38 +0000 (03:47 +0000)]
bug 61296: deduplicate ooxml schema constants

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

7 years agobug 61296: consolidate some of the ooxml namespace uri copy-paste in POI, prepare...
Javen O'Neal [Fri, 14 Jul 2017 03:39:25 +0000 (03:39 +0000)]
bug 61296: consolidate some of the ooxml namespace uri copy-paste in POI, prepare to make these usable by downstream libraries like Tika

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

7 years agobug 61296: consolidate some of the ooxml namespace uri copy-paste in POI, prepare...
Javen O'Neal [Fri, 14 Jul 2017 03:14:30 +0000 (03:14 +0000)]
bug 61296: consolidate some of the ooxml namespace uri copy-paste in POI, prepare to make these usable by downstream libraries like Tika

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

7 years agobug 61294 -- prevent infinite loop in IOUtils' skipFully.
Tim Allison [Thu, 13 Jul 2017 16:20:28 +0000 (16:20 +0000)]
bug 61294 -- prevent infinite loop in IOUtils' skipFully.

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

7 years agoavoid unnecessary string concats in SXSSF SheetDataWriter
PJ Fanning [Thu, 13 Jul 2017 07:14:01 +0000 (07:14 +0000)]
avoid unnecessary string concats in SXSSF SheetDataWriter

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

7 years agoadd 362px font height for my computer's configuration (high-dpi monitor)
Javen O'Neal [Thu, 13 Jul 2017 04:30:41 +0000 (04:30 +0000)]
add 362px font height for my computer's configuration (high-dpi monitor)

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

7 years agoreplace commented-out throw-away code that writes workbook to C:\temp\xxxxx.xlsx...
Javen O'Neal [Thu, 13 Jul 2017 04:19:20 +0000 (04:19 +0000)]
replace commented-out throw-away code that writes workbook to C:\temp\xxxxx.xlsx for manual review with XSSFTestDataSamples.writeOut(wb, "bug xxxxx for manual review")

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

7 years agoreplace return variable assignments with return statements
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

7 years agogithub #43: fix roundUp and roundDown.
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

7 years ago[Bug-61281] fix issue with export of table columns - Thanks to Daniel for the patch
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

7 years agoremove more deprecated methods
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

7 years agoremove deprecated methods from CommentsTable
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

7 years ago[Bug-61281] guard against index out of bounds in XSSFExportToXml column mapping
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

7 years agoexpand range of acceptable values in TestFonts
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

7 years agobug 60685: ignore problems with HPBF Publisher Quill Contents PLC hyperlink records...
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

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

7 years agofont rendering - handle a few system dependent textbox sizes
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

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