]> source.dussan.org Git - poi.git/log
poi.git
8 years agoRegression fixes for H/XSLF and HWMF
Andreas Beeker [Wed, 24 Feb 2016 22:43:51 +0000 (22:43 +0000)]
Regression fixes for H/XSLF and HWMF
see http://apache-poi.1045710.n5.nabble.com/3-14-beta-2-3-14-final-tt5721829.html

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

8 years agoBug 47245: Comment out check and exception in case row-records are missing for some...
Dominik Stadler [Wed, 24 Feb 2016 22:39:11 +0000 (22:39 +0000)]
Bug 47245: Comment out check and exception in case row-records are missing for some cells as it seems POI is handling this gracefully and LibreOffice/Excel are as well

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

8 years agoAdd xlsx which verifies via the integration-tests that the namespace fix works
Dominik Stadler [Wed, 24 Feb 2016 22:38:53 +0000 (22:38 +0000)]
Add xlsx which verifies via the integration-tests that the namespace fix works

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

8 years ago#59021 Namespace aware processing fix for ReadOnlySharedStringsTable, to match the...
Nick Burch [Tue, 23 Feb 2016 22:24:09 +0000 (22:24 +0000)]
#59021 Namespace aware processing fix for ReadOnlySharedStringsTable, to match the one recently added to XSSFSheetXMLHandler

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

8 years agoPull out two more XSSF namespace definitions as re-usable constants
Nick Burch [Tue, 23 Feb 2016 22:16:54 +0000 (22:16 +0000)]
Pull out two more XSSF namespace definitions as re-usable constants

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

8 years agoPull out http://schemas.openxmlformats.org/spreadsheetml/2006/main to a re-used constant
Nick Burch [Tue, 23 Feb 2016 22:10:20 +0000 (22:10 +0000)]
Pull out http://schemas.openxmlformats.org/spreadsheetml/2006/main to a re-used constant

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

8 years agoPatch from Jim King from bug #57989 - XSSFChart support for setting chart titles...
Nick Burch [Sun, 21 Feb 2016 21:17:23 +0000 (21:17 +0000)]
Patch from Jim King from bug #57989 - XSSFChart support for setting chart titles, plus get+set unit tests

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

8 years agoOne more possible resource leak when creating the TextExtractor fails with a RuntimeE...
Dominik Stadler [Sun, 21 Feb 2016 20:42:05 +0000 (20:42 +0000)]
One more possible resource leak when creating the TextExtractor fails with a RuntimeException or one of the named exceptions

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

8 years agoInclude stacktrace of inner exception when block-positions are invalid in POIFSFileSystem
Dominik Stadler [Sun, 21 Feb 2016 20:41:56 +0000 (20:41 +0000)]
Include stacktrace of inner exception when block-positions are invalid in POIFSFileSystem

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

8 years agoPOI 59030 fix NPE in XWPFTableCell's getVerticalAlignment via Prasad Babu
Tim Allison [Fri, 19 Feb 2016 15:46:26 +0000 (15:46 +0000)]
POI 59030 fix NPE in XWPFTableCell's getVerticalAlignment via Prasad Babu

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

8 years agobug 58896: comment out time-dependent test
Javen O'Neal [Thu, 18 Feb 2016 17:53:13 +0000 (17:53 +0000)]
bug 58896: comment out time-dependent test

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

8 years agoJavadoc fixes
Nick Burch [Thu, 18 Feb 2016 11:16:11 +0000 (11:16 +0000)]
Javadoc fixes

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

8 years agomove trackColumnsForAutoSizingIfSXSSF into ITestDataProvider, replace ITestDataProvid...
Javen O'Neal [Thu, 18 Feb 2016 04:05:45 +0000 (04:05 +0000)]
move trackColumnsForAutoSizingIfSXSSF into ITestDataProvider, replace ITestDataProvider.trackColumnsForAutosizing(Sheet, int...) with ITestDataProvider.trackAllColumnsForAutosizing(Sheet) to avoid cluttering unit tests with specific columns that will be autosized

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

8 years agobug 58896: add unit test to time Sheet.autoSizeColumn
Javen O'Neal [Thu, 18 Feb 2016 03:33:25 +0000 (03:33 +0000)]
bug 58896: add unit test to time Sheet.autoSizeColumn

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

8 years agoavoid redundant null check
Javen O'Neal [Thu, 18 Feb 2016 02:03:11 +0000 (02:03 +0000)]
avoid redundant null check

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

8 years ago59021 -- fix content extraction from namespaced elements in XSSFEventBasedExcelExtractor
Tim Allison [Thu, 18 Feb 2016 01:49:59 +0000 (01:49 +0000)]
59021 -- fix content extraction from namespaced elements in XSSFEventBasedExcelExtractor

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

8 years agobug 56345: reject single-cell merged regions
Javen O'Neal [Thu, 18 Feb 2016 01:33:14 +0000 (01:33 +0000)]
bug 56345: reject single-cell merged regions

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

8 years agoAdd test which verifies that bug 52684 is not a problem (any more)
Dominik Stadler [Wed, 17 Feb 2016 21:35:22 +0000 (21:35 +0000)]
Add test which verifies that bug 52684 is not a problem (any more)

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

8 years agobug 58339: patch from Patrick Zimmermann to allow OFFSET() to accept missing optional...
Javen O'Neal [Mon, 15 Feb 2016 20:27:59 +0000 (20:27 +0000)]
bug 58339: patch from Patrick Zimmermann to allow OFFSET() to accept missing optional width or height parameters

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

8 years agoTried to reproduce bug 55476, but could not, added unit test anyway
Dominik Stadler [Mon, 15 Feb 2016 19:16:45 +0000 (19:16 +0000)]
Tried to reproduce bug 55476, but could not, added unit test anyway

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

8 years agoAdd details of the ignored errors where the HSSF spec provides a good description...
Nick Burch [Mon, 15 Feb 2016 14:58:16 +0000 (14:58 +0000)]
Add details of the ignored errors where the HSSF spec provides a good description, and a bit more refactoring. #56892

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

8 years agoStart generalising the IgnoredErrorType code for later HSSF use too #56892
Nick Burch [Mon, 15 Feb 2016 14:40:24 +0000 (14:40 +0000)]
Start generalising the IgnoredErrorType code for later HSSF use too #56892

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

8 years agoNo need to wrap OpenXML4JRuntimeException in another instance of itself and fix some...
Dominik Stadler [Mon, 15 Feb 2016 10:08:26 +0000 (10:08 +0000)]
No need to wrap OpenXML4JRuntimeException in another instance of itself and fix some compilation/javadoc warnings

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

8 years agoGitHub PR 27: Add method to check for any protection in XWPFDocument, closes #27
Dominik Stadler [Mon, 15 Feb 2016 09:26:51 +0000 (09:26 +0000)]
GitHub PR 27: Add method to check for any protection in XWPFDocument, closes #27

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

8 years agoSeems we need a cast here to compile with some newer JDKs, at least IntelliJ complain...
Dominik Stadler [Mon, 15 Feb 2016 08:33:12 +0000 (08:33 +0000)]
Seems we need a cast here to compile with some newer JDKs, at least IntelliJ complains for me

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

8 years agoImprove error messages to state which bounds are exceeded
Dominik Stadler [Mon, 15 Feb 2016 07:41:47 +0000 (07:41 +0000)]
Improve error messages to state which bounds are exceeded

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

8 years agoRegression analysis: Cloning sheets failed on ctrlProps, i.e. checkboxes
Dominik Stadler [Sat, 13 Feb 2016 21:30:10 +0000 (21:30 +0000)]
Regression analysis: Cloning sheets failed on ctrlProps, i.e. checkboxes
and other GUI elements, add minimal support for these to allow clone to
succeed.

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

8 years agoRegression analysis: the additional testing of cloning sheets showed a
Dominik Stadler [Sat, 13 Feb 2016 21:29:46 +0000 (21:29 +0000)]
Regression analysis: the additional testing of cloning sheets showed a
possible ArrayIndexOutOfBounds error which we can avoid to make cloning
fail a bit less.

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

8 years agoIgnore a failure during cloning if we exceed file-format limits
Dominik Stadler [Sat, 13 Feb 2016 21:29:23 +0000 (21:29 +0000)]
Ignore a failure during cloning if we exceed file-format limits

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

8 years agobug 58996: Don't try to unset fill color if it is not set to avoid invalid access...
Dominik Stadler [Fri, 12 Feb 2016 09:44:47 +0000 (09:44 +0000)]
bug 58996: Don't try to unset fill color if it is not set to avoid invalid access inside the Xml structures

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

8 years agoFix #57034 on SXSSF, and add a common unit test to show it was already fixed on the...
Nick Burch [Thu, 11 Feb 2016 15:13:40 +0000 (15:13 +0000)]
Fix #57034 on SXSSF, and add a common unit test to show it was already fixed on the others + is now fixed for SXSSF

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

8 years agoAllow common tests to do auto-sizing even on SXSSF
Nick Burch [Thu, 11 Feb 2016 15:13:01 +0000 (15:13 +0000)]
Allow common tests to do auto-sizing even on SXSSF

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

8 years agoAdd example for adding videos
Andreas Beeker [Sat, 6 Feb 2016 22:23:47 +0000 (22:23 +0000)]
Add example for adding videos

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

8 years agoXSLF - fixed NPE when adding pictures with existing non-picture media files (e.g...
Andreas Beeker [Fri, 5 Feb 2016 22:03:44 +0000 (22:03 +0000)]
XSLF - fixed NPE when adding pictures with existing non-picture media files (e.g. movies)

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

8 years agoRemove file from expected failures after changes for bug 56880
Dominik Stadler [Fri, 5 Feb 2016 07:51:35 +0000 (07:51 +0000)]
Remove file from expected failures after changes for bug 56880

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

8 years agoBug 56880 - switch exception to logged warning that non-extended pascal strings are...
Tim Allison [Thu, 4 Feb 2016 19:54:15 +0000 (19:54 +0000)]
Bug 56880 - switch exception to logged warning that non-extended pascal strings are not supported.  Full fix would add parsing for these strings.

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

8 years agoremove deprecated (2009) HSSFComment#setColumn(short). int version is available.
Javen O'Neal [Sun, 31 Jan 2016 12:52:32 +0000 (12:52 +0000)]
remove deprecated (2009) HSSFComment#setColumn(short). int version is available.

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

8 years agoHSSFComment: note a final field
Javen O'Neal [Sun, 31 Jan 2016 12:33:00 +0000 (12:33 +0000)]
HSSFComment: note a final field

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

8 years agofix O(n^2) runtime unnecessarily recreating an array inside a for-loop
Javen O'Neal [Sun, 31 Jan 2016 12:14:55 +0000 (12:14 +0000)]
fix O(n^2) runtime unnecessarily recreating an array inside a for-loop

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

8 years agobug 58885: fix javadocs
Javen O'Neal [Sun, 31 Jan 2016 04:04:56 +0000 (04:04 +0000)]
bug 58885: fix javadocs

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

8 years agobug 58885: performance regression on XSSFSheet.addMergedRegion(CellRangeAddress)...
Javen O'Neal [Sun, 31 Jan 2016 03:27:35 +0000 (03:27 +0000)]
bug 58885: performance regression on XSSFSheet.addMergedRegion(CellRangeAddress). Add an unsafe version of addMergedRegion that doesn't check for overlapping merged regions

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

8 years agoAdjust test to pass forbidden-apis-check
Dominik Stadler [Sat, 30 Jan 2016 11:02:54 +0000 (11:02 +0000)]
Adjust test to pass forbidden-apis-check

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

8 years agoMake OldExcelExtractor Closeable to be able to free up resources if getText() was...
Dominik Stadler [Fri, 29 Jan 2016 22:09:03 +0000 (22:09 +0000)]
Make OldExcelExtractor Closeable to be able to free up resources if getText() was not called
Allow Excel files which have an entry "Workbook" instead of "Book" like other classes do
Add some more unit tests to cover more of the code

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

8 years agoAdd curvesapi-jar when running Findbugs
Dominik Stadler [Fri, 29 Jan 2016 22:08:55 +0000 (22:08 +0000)]
Add curvesapi-jar when running Findbugs

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

8 years agoBump xmlsec version in the Eclipse project file too
Nick Burch [Tue, 26 Jan 2016 16:25:52 +0000 (16:25 +0000)]
Bump xmlsec version in the Eclipse project file too

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

8 years agoadd an ignored test for bug 58804
Dominik Stadler [Mon, 25 Jan 2016 20:21:30 +0000 (20:21 +0000)]
add an ignored test for bug 58804

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

8 years agoRaised xmlsec version to 2.0.6
Andreas Beeker [Sun, 24 Jan 2016 18:36:56 +0000 (18:36 +0000)]
Raised xmlsec version to 2.0.6

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

8 years ago#41047 - Support hyperlinks in HSLF shapes and textruns
Andreas Beeker [Sun, 24 Jan 2016 00:12:10 +0000 (00:12 +0000)]
#41047 - Support hyperlinks in HSLF shapes and textruns
#47291 - Cannot open link correctly which insert in ppt

HSLF hyperlink code was all over the place - moved most of it into HSLFHyperlink
extended common sl for hyperlinks
extended XSLF shape linking and added XSLFTextShape.appendText to go along with HSLF
adapted/fixed documentation
added convenience methods to the hyperlink classes to address the different targets

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

8 years agoUpdate copyright-year to 2016
Dominik Stadler [Tue, 19 Jan 2016 10:09:12 +0000 (10:09 +0000)]
Update copyright-year to 2016

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

8 years agoRename test-source file to actual class name to avoid constant recompilations on...
Dominik Stadler [Mon, 18 Jan 2016 20:16:38 +0000 (20:16 +0000)]
Rename test-source file to actual class name to avoid constant recompilations on 'compile-main'

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

8 years agoInclude curvesapi-jar in distribution
Dominik Stadler [Mon, 18 Jan 2016 20:16:29 +0000 (20:16 +0000)]
Include curvesapi-jar in distribution

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

8 years agoFix possible NPE found with msg-file from CommonCrawl
Dominik Stadler [Mon, 18 Jan 2016 20:16:23 +0000 (20:16 +0000)]
Fix possible NPE found with msg-file from CommonCrawl

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

8 years agoFix possible NullPointerException with invalid/unsupported image types
Dominik Stadler [Mon, 18 Jan 2016 19:56:30 +0000 (19:56 +0000)]
Fix possible NullPointerException with invalid/unsupported image types

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

8 years agomake SXSSFWorkbook member variables private
Javen O'Neal [Sat, 16 Jan 2016 22:58:25 +0000 (22:58 +0000)]
make SXSSFWorkbook member variables private

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

8 years agowhitespace
Javen O'Neal [Sat, 16 Jan 2016 22:23:31 +0000 (22:23 +0000)]
whitespace

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

8 years agofix questionable List.remove(int) in SXSSFITestDataProvider
Javen O'Neal [Sat, 16 Jan 2016 22:23:05 +0000 (22:23 +0000)]
fix questionable List.remove(int) in SXSSFITestDataProvider

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

8 years agoBugFix: wrong hyperlink record added - used child instead of parent record
Andreas Beeker [Sat, 16 Jan 2016 22:19:34 +0000 (22:19 +0000)]
BugFix: wrong hyperlink record added - used child instead of parent record

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

8 years agoadd @Override annotations to ITestDataProviders
Javen O'Neal [Sat, 16 Jan 2016 22:03:58 +0000 (22:03 +0000)]
add @Override annotations to ITestDataProviders

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

8 years agobug 58879: add SpreadsheetVersion to Workbook interface
Javen O'Neal [Sat, 16 Jan 2016 22:01:33 +0000 (22:01 +0000)]
bug 58879: add SpreadsheetVersion to Workbook interface

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

8 years agosvn propset svn:eol-style native
Javen O'Neal [Sat, 16 Jan 2016 21:20:53 +0000 (21:20 +0000)]
svn propset svn:eol-style native

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

8 years agoFix NPE when calling HSLFTextRun.setHorizontalCentered()
Andreas Beeker [Sat, 16 Jan 2016 19:27:58 +0000 (19:27 +0000)]
Fix NPE when calling HSLFTextRun.setHorizontalCentered()

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

8 years ago#56004 - Support for WMF rendering
Andreas Beeker [Sat, 16 Jan 2016 00:11:01 +0000 (00:11 +0000)]
#56004 - Support for WMF rendering

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

8 years agoRegression in version 3.14-beta1: three or four-part formats with locale id cause...
Dominik Stadler [Wed, 13 Jan 2016 19:46:17 +0000 (19:46 +0000)]
Regression in version 3.14-beta1: three or four-part formats with locale id cause exceptions when formatting instead of falling back to other formatting

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

8 years agoFix a NullPointerException that occurs with some PPTs now but did not in POI 3.13
Dominik Stadler [Wed, 13 Jan 2016 19:45:49 +0000 (19:45 +0000)]
Fix a NullPointerException that occurs with some PPTs now but did not in POI 3.13

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

8 years agoEclipse warnings, helper unit-test, improve information provided in Exceptions, do...
Dominik Stadler [Wed, 13 Jan 2016 19:45:05 +0000 (19:45 +0000)]
Eclipse warnings, helper unit-test, improve information provided in Exceptions, do not swallow inner stacktraces, ...

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

8 years agoGeneralised API for adding ignored errors, e.g. number stored as text.
David North [Wed, 13 Jan 2016 17:54:24 +0000 (17:54 +0000)]
Generalised API for adding ignored errors, e.g. number stored as text.

https://bz.apache.org/bugzilla/show_bug.cgi?id=56892

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

8 years agoBug 58829: Remove some useages of printStackTrace() and some other minor cleanups
Dominik Stadler [Wed, 13 Jan 2016 15:59:38 +0000 (15:59 +0000)]
Bug 58829: Remove some useages of printStackTrace() and some other minor cleanups

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

8 years agoRework test to not catch exception, junit does a good job of handling unexpected...
Dominik Stadler [Wed, 13 Jan 2016 08:16:15 +0000 (08:16 +0000)]
Rework test to not catch exception, junit does a good job of handling unexpected exceptions itself, StringBuffer replacing, code duplication

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

8 years agoJavadoc fix
Nick Burch [Wed, 13 Jan 2016 07:33:03 +0000 (07:33 +0000)]
Javadoc fix

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

8 years ago#58847 Getters/setters/removers for the additional well-known document summary inform...
Nick Burch [Wed, 13 Jan 2016 07:26:26 +0000 (07:26 +0000)]
#58847 Getters/setters/removers for the additional well-known document summary information properties from Office 12

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

8 years agoJavadocs fixes
Andreas Beeker [Wed, 13 Jan 2016 01:09:43 +0000 (01:09 +0000)]
Javadocs fixes

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

8 years ago#57796 - Support hyperlink extraction when rendering slides
Andreas Beeker [Tue, 12 Jan 2016 23:20:48 +0000 (23:20 +0000)]
#57796 - Support hyperlink extraction when rendering slides

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

8 years agoMore Office 12 DSI property IDs, getters/setters to follow
Nick Burch [Mon, 11 Jan 2016 18:43:33 +0000 (18:43 +0000)]
More Office 12 DSI property IDs, getters/setters to follow

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

8 years agoBump up the max DSI property ID, and list a few Office 12 well known IDs
Nick Burch [Mon, 11 Jan 2016 18:26:24 +0000 (18:26 +0000)]
Bump up the max DSI property ID, and list a few Office 12 well known IDs

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

8 years ago#54916 - POI does not always read all the slides in pptx files
Andreas Beeker [Sun, 10 Jan 2016 20:44:17 +0000 (20:44 +0000)]
#54916 - POI does not always read all the slides in pptx files

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

8 years agoadd other printStackTrace methods to forbidden-apis-check
Andreas Beeker [Sun, 10 Jan 2016 19:52:16 +0000 (19:52 +0000)]
add other printStackTrace methods to forbidden-apis-check

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

8 years agoreplace Throwable.printStackTrace() with POILogger calls - Todo: other printStrackTra...
Andreas Beeker [Sun, 10 Jan 2016 02:20:35 +0000 (02:20 +0000)]
replace Throwable.printStackTrace() with POILogger calls - Todo: other printStrackTrace(...) calls

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

8 years agoWMF fixes
Andreas Beeker [Sun, 10 Jan 2016 01:12:16 +0000 (01:12 +0000)]
WMF fixes

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

8 years agoPOI-58822 switch printStackTrace for actual log msg. Should probably open separate...
Tim Allison [Fri, 8 Jan 2016 17:06:39 +0000 (17:06 +0000)]
POI-58822 switch printStackTrace for actual log msg.  Should probably open separate ticket to handle handful of other instances

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

8 years agobug 58815: javadoc spelling
Javen O'Neal [Thu, 7 Jan 2016 01:53:05 +0000 (01:53 +0000)]
bug 58815: javadoc spelling

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

8 years agoWMF fixes
Andreas Beeker [Tue, 5 Jan 2016 23:40:47 +0000 (23:40 +0000)]
WMF fixes

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

8 years agoDummy commit to try if we can close some old github PRs via commit-comments: closes...
Dominik Stadler [Mon, 4 Jan 2016 20:43:16 +0000 (20:43 +0000)]
Dummy commit to try if we can close some old github PRs via commit-comments: closes #2, closes #3, closes #4, closes #19

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

8 years agoWMF fixes
Andreas Beeker [Sun, 3 Jan 2016 22:46:57 +0000 (22:46 +0000)]
WMF fixes

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

8 years agoUndo changes to file in assertCloseDoesNotModifyFile to not have dirty files after...
Dominik Stadler [Sun, 3 Jan 2016 21:37:52 +0000 (21:37 +0000)]
Undo changes to file in assertCloseDoesNotModifyFile to not have dirty files after running tests

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

8 years agoTry to reproduce bug 52258 and add more checks to integration tests
Dominik Stadler [Sun, 3 Jan 2016 21:23:09 +0000 (21:23 +0000)]
Try to reproduce bug 52258 and add more checks to integration tests

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

8 years agobug 58043: provide some compatibility between HSSF and XSSF in regards to values...
Dominik Stadler [Sun, 3 Jan 2016 13:28:17 +0000 (13:28 +0000)]
bug 58043: provide some compatibility between HSSF and XSSF in regards to values for CellStyle.setRotation(). Also adjust JavaDoc to mention the remaining things to note

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

8 years agoFix bug 58067: XWPF: don't return deleted text when document is in review-mode
Dominik Stadler [Sun, 3 Jan 2016 13:28:01 +0000 (13:28 +0000)]
Fix bug 58067: XWPF: don't return deleted text when document is in review-mode

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

8 years agore-throw errors we aren't looking for
Javen O'Neal [Sun, 3 Jan 2016 09:48:05 +0000 (09:48 +0000)]
re-throw errors we aren't looking for

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

8 years agobug 58779: check if SlideShowFactory.create() modifies the file being read when the...
Javen O'Neal [Sun, 3 Jan 2016 09:16:59 +0000 (09:16 +0000)]
bug 58779: check if SlideShowFactory.create() modifies the file being read when the slideshow is closed.

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

8 years agowhitespace
Javen O'Neal [Sun, 3 Jan 2016 01:34:33 +0000 (01:34 +0000)]
whitespace

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

8 years agotest XSLF SlideShowFactory creation methods individually for more granular unit test...
Javen O'Neal [Sun, 3 Jan 2016 01:26:29 +0000 (01:26 +0000)]
test XSLF SlideShowFactory creation methods individually for more granular unit test results

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

8 years agorearrange unit tests into more, smaller functions
Javen O'Neal [Sat, 2 Jan 2016 21:20:43 +0000 (21:20 +0000)]
rearrange unit tests into more, smaller functions

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

8 years agoMove test for bug 57236 as it seems to be fixed since some time
Dominik Stadler [Sat, 2 Jan 2016 21:11:41 +0000 (21:11 +0000)]
Move test for bug 57236 as it seems to be fixed since some time

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

8 years agoAdd test which reproduces bug 58325, seems the file uses AlternateContent which POI...
Dominik Stadler [Sat, 2 Jan 2016 21:11:28 +0000 (21:11 +0000)]
Add test which reproduces bug 58325, seems the file uses AlternateContent which POI does not support (yet)

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

8 years agobug 58633 comment 5 and comment 6: add unit test coverage for CellUtil.java; throw...
Javen O'Neal [Sat, 2 Jan 2016 11:11:33 +0000 (11:11 +0000)]
bug 58633 comment 5 and comment 6: add unit test coverage for CellUtil.java; throw exception of Cell does not belong to workbook for some methods

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

8 years agofix javadocs
Javen O'Neal [Sat, 2 Jan 2016 06:23:05 +0000 (06:23 +0000)]
fix javadocs

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

8 years agobug 58633: Set multiple CellStyle properties at once. Patch from Mark Murphy.
Javen O'Neal [Sat, 2 Jan 2016 04:29:30 +0000 (04:29 +0000)]
bug 58633: Set multiple CellStyle properties at once. Patch from Mark Murphy.

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

8 years agojavadocs
Javen O'Neal [Sat, 2 Jan 2016 03:40:22 +0000 (03:40 +0000)]
javadocs

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

8 years agoremove test debug stuff
Andreas Beeker [Fri, 1 Jan 2016 19:45:30 +0000 (19:45 +0000)]
remove test debug stuff

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

8 years agopreparation for #54916 - commit unrelated changes
Andreas Beeker [Fri, 1 Jan 2016 19:05:50 +0000 (19:05 +0000)]
preparation for #54916 - commit unrelated changes

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