]> source.dussan.org Git - poi.git/log
poi.git
9 years ago#45088 - POI-HSLF changeTextInRichTextRun corrupts presentation
Andreas Beeker [Sun, 1 Nov 2015 19:37:24 +0000 (19:37 +0000)]
#45088 - POI-HSLF changeTextInRichTextRun corrupts presentation

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

9 years agoFix locale error
Andreas Beeker [Sun, 1 Nov 2015 08:43:57 +0000 (08:43 +0000)]
Fix locale error

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

9 years agofindbugs fixes
Andreas Beeker [Sun, 1 Nov 2015 03:23:16 +0000 (03:23 +0000)]
findbugs fixes
close resources in tests

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

9 years agoFindBugs fixes
Andreas Beeker [Sat, 31 Oct 2015 23:13:35 +0000 (23:13 +0000)]
FindBugs fixes

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

9 years agoAdd method for setting bullet styles
Andreas Beeker [Sat, 31 Oct 2015 23:10:43 +0000 (23:10 +0000)]
Add method for setting bullet styles

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

9 years agoMake SlideShow closeable as of HSLF references a NPOIFSFileSystem and hasn't closed it
Andreas Beeker [Sat, 31 Oct 2015 23:10:17 +0000 (23:10 +0000)]
Make SlideShow closeable as of HSLF references a NPOIFSFileSystem and hasn't closed it

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

9 years ago#45124 - inserting text or images wipes out boldness and makes everything italic
Andreas Beeker [Sat, 31 Oct 2015 23:08:52 +0000 (23:08 +0000)]
#45124 - inserting text or images wipes out boldness and makes everything italic

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

9 years ago#45124 - inserting text or images wipes out boldness and makes everything italic
Andreas Beeker [Sat, 31 Oct 2015 23:05:09 +0000 (23:05 +0000)]
#45124 - inserting text or images wipes out boldness and makes everything italic

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

9 years agoreplace deprecated usage of AreaReference as a result of bug 56328
Javen O'Neal [Sat, 31 Oct 2015 20:53:12 +0000 (20:53 +0000)]
replace deprecated usage of AreaReference as a result of bug 56328

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

9 years agowhitespace change
Javen O'Neal [Sat, 31 Oct 2015 19:56:22 +0000 (19:56 +0000)]
whitespace change

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

9 years agoadd javadoc info for intersects
Javen O'Neal [Sat, 31 Oct 2015 12:21:51 +0000 (12:21 +0000)]
add javadoc info for intersects

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

9 years agobug58452: set cell formulas containing unregistered function names
Javen O'Neal [Sat, 31 Oct 2015 11:57:39 +0000 (11:57 +0000)]
bug58452: set cell formulas containing unregistered function names

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

9 years agosupporting changes for bug 58452: copy cell formulas containing unregistered function...
Javen O'Neal [Sat, 31 Oct 2015 11:39:01 +0000 (11:39 +0000)]
supporting changes for bug 58452: copy cell formulas containing unregistered function names

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

9 years agoimprove error message if CellRangeAddress intersection assertion fails
Javen O'Neal [Sat, 31 Oct 2015 11:20:15 +0000 (11:20 +0000)]
improve error message if CellRangeAddress intersection assertion fails

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

9 years agobug 58442: in-place reorganize an AreaPtg as upper-left and lower-right
Javen O'Neal [Sat, 31 Oct 2015 11:10:28 +0000 (11:10 +0000)]
bug 58442: in-place reorganize an AreaPtg as upper-left and lower-right

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

9 years agobug 58443: prevent corrupted workbooks by checking for overlapping merged regions...
Javen O'Neal [Sat, 31 Oct 2015 10:22:19 +0000 (10:22 +0000)]
bug 58443: prevent corrupted workbooks by checking for overlapping merged regions before adding a merged region to a sheet; fix unit tests that produced corrupt workbooks; remove deprecated HSSFSheet#addMergedRegion(Region)

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

9 years agoreplace deprecated usage of o.a.p.ss.util.Region with o.a.p.ss.util.CellRangeAddress...
Javen O'Neal [Sat, 31 Oct 2015 09:29:32 +0000 (09:29 +0000)]
replace deprecated usage of o.a.p.ss.util.Region with o.a.p.ss.util.CellRangeAddress; add documentation to tests that exist strictly to test deprecated methods, and move SuppressWarnings-deprecation down to just those functions

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

9 years agoAdd a limit of the max number of characters that can be extracted to avoid sending...
Dominik Stadler [Fri, 30 Oct 2015 17:26:37 +0000 (17:26 +0000)]
Add a limit of the max number of characters that can be extracted to avoid sending applications out of memory with very large documents

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

9 years ago#58516 - Rare new aioobe in 3.13 on initialization of a handful of ppts
Andreas Beeker [Thu, 29 Oct 2015 23:22:54 +0000 (23:22 +0000)]
#58516 - Rare new aioobe in 3.13 on initialization of a handful of ppts

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

9 years ago#58516 - Rare new aioobe in 3.13 on initialization of a handful of ppts
Andreas Beeker [Thu, 29 Oct 2015 23:20:35 +0000 (23:20 +0000)]
#58516 - Rare new aioobe in 3.13 on initialization of a handful of ppts

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

9 years agoAdd description to jenkins target
David North [Thu, 29 Oct 2015 10:42:23 +0000 (10:42 +0000)]
Add description to jenkins target

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

9 years agoEnsure that no password was set by other tests, this breaks sometimes when the Sonar...
Dominik Stadler [Thu, 29 Oct 2015 09:30:11 +0000 (09:30 +0000)]
Ensure that no password was set by other tests, this breaks sometimes when the Sonar/Maven build runs all tests in one VM

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

9 years agoJavadoc fixes
Nick Burch [Thu, 29 Oct 2015 09:28:38 +0000 (09:28 +0000)]
Javadoc fixes

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

9 years agobug 58557: fix from Alessandro Guarascio, shift hyperlinks when shifting rows on...
Javen O'Neal [Thu, 29 Oct 2015 06:53:55 +0000 (06:53 +0000)]
bug 58557: fix from Alessandro Guarascio, shift hyperlinks when shifting rows on an XSSFSheet

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

9 years agoCommon sl unification - copy first paragraph / textrun properties on XSLFTextShape...
Andreas Beeker [Thu, 29 Oct 2015 01:05:27 +0000 (01:05 +0000)]
Common sl unification - copy first paragraph / textrun properties on XSLFTextShape.setText()
Common sl unification - converted ApacheconEU08 example to common sl - added missing functionality
Common sl unification - return null instead of default values for missing borders X/HSLFTable
Common sl unification - use points in HSLFTable.setColumnWidth()
Fix appending text to empty HSLFTextParagraph

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

9 years ago#58558 SXSSFCell.setCellValue((RichTextString)null) fixed to work like XSSF and HSSF...
Nick Burch [Wed, 28 Oct 2015 17:42:56 +0000 (17:42 +0000)]
#58558 SXSSFCell.setCellValue((RichTextString)null) fixed to work like XSSF and HSSF, with common unit tests to verify this

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

9 years agobug 26862: add test case for HSSFWorkbook.cloneSheet copies charts
Javen O'Neal [Tue, 27 Oct 2015 07:43:23 +0000 (07:43 +0000)]
bug 26862: add test case for HSSFWorkbook.cloneSheet copies charts

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

9 years agoconvert scratchpad TestHSSFChart from junit3 to junit4
Javen O'Neal [Tue, 27 Oct 2015 07:41:09 +0000 (07:41 +0000)]
convert scratchpad TestHSSFChart from junit3 to junit4

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

9 years agoFix Sonar-Maven build, correctly determine path to test-file
Dominik Stadler [Mon, 26 Oct 2015 20:48:38 +0000 (20:48 +0000)]
Fix Sonar-Maven build, correctly determine path to test-file

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

9 years agoApply some micro-optimization which helps when retrieving the string-value of large...
Dominik Stadler [Mon, 26 Oct 2015 20:48:32 +0000 (20:48 +0000)]
Apply some micro-optimization which helps when retrieving the string-value of large spreadsheets

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

9 years agoAdd delete of outdated forbiddenapi-jar
Dominik Stadler [Mon, 26 Oct 2015 20:45:44 +0000 (20:45 +0000)]
Add delete of outdated forbiddenapi-jar

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

9 years agoFix for https://bz.apache.org/bugzilla/show_bug.cgi?id=58549
David North [Mon, 26 Oct 2015 10:32:30 +0000 (10:32 +0000)]
Fix for https://bz.apache.org/bugzilla/show_bug.cgi?id=58549

Thanks to Damian Cugley for the patch.

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

9 years agoBug 56957: Avoid error if Workbook with empty SharedStringTable is written
Dominik Stadler [Mon, 26 Oct 2015 07:54:06 +0000 (07:54 +0000)]
Bug 56957: Avoid error if Workbook with empty SharedStringTable is written

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

9 years ago58536 DataFormatter and CellFormat non-localised support for localised currency forma...
Nick Burch [Sun, 25 Oct 2015 21:20:44 +0000 (21:20 +0000)]
58536 DataFormatter and CellFormat non-localised support for localised currency formats like [$£-809]

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

9 years agoFix javadoc warning - @see with a URL needs wrapping in an a-href tag
Nick Burch [Sun, 25 Oct 2015 16:19:35 +0000 (16:19 +0000)]
Fix javadoc warning - @see with a URL needs wrapping in an a-href tag

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

9 years agoMention about Locale definitions in Excel cell data format strings
Nick Burch [Sun, 25 Oct 2015 16:13:16 +0000 (16:13 +0000)]
Mention about Locale definitions in Excel cell data format strings

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

9 years agoUpdate the build version, step missed from the release guide
Nick Burch [Sun, 25 Oct 2015 00:26:43 +0000 (00:26 +0000)]
Update the build version, step missed from the release guide

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

9 years ago#58532 Enable more of the padding cell format tests, but a few remain to be fixed
Nick Burch [Sat, 24 Oct 2015 23:57:49 +0000 (23:57 +0000)]
#58532 Enable more of the padding cell format tests, but a few remain to be fixed

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

9 years ago#58532 For Excel cell formats with 3+ parts to them (eg +ve,-ve,0), which
Nick Burch [Sat, 24 Oct 2015 23:34:47 +0000 (23:34 +0000)]
#58532 For Excel cell formats with 3+ parts to them (eg +ve,-ve,0), which
 DataFormatter didn't properly support, call out to the alternate CellFormat
 instead for the formatting.
This also allows us to enable some disabled parts of DataFormatter unit tests
We still need to rationalise DataFormatter and CellFormatter though, so we
 only have one set of cell formatting logic...

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

9 years agoFix inconsistent whitespace
Nick Burch [Sat, 24 Oct 2015 22:12:06 +0000 (22:12 +0000)]
Fix inconsistent whitespace

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

9 years agoTest to check that #58532 formats are seen as valid
Nick Burch [Sat, 24 Oct 2015 22:09:08 +0000 (22:09 +0000)]
Test to check that #58532 formats are seen as valid

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

9 years agoTest files for #58532
Nick Burch [Sat, 24 Oct 2015 21:58:08 +0000 (21:58 +0000)]
Test files for #58532

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

9 years agoRevert upgrade of findbugs as it requires Java 7, but we still allow to compile using...
Dominik Stadler [Fri, 23 Oct 2015 12:18:22 +0000 (12:18 +0000)]
Revert upgrade of findbugs as it requires Java 7, but we still allow to compile using Java 6.

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

9 years agoUpdate to latest findbugs version 3.0.1, reported issues go from 163 to 209 :(
Dominik Stadler [Fri, 23 Oct 2015 12:16:11 +0000 (12:16 +0000)]
Update to latest findbugs version 3.0.1, reported issues go from 163 to 209 :(

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

9 years agoBug 58085: removing sheet breaks other existing sheet references
Dominik Stadler [Fri, 23 Oct 2015 12:11:40 +0000 (12:11 +0000)]
Bug 58085: removing sheet breaks other existing sheet references

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

9 years agobug 58441: define equals method for CellRangeAddressBase
Javen O'Neal [Fri, 23 Oct 2015 11:17:06 +0000 (11:17 +0000)]
bug 58441: define equals method for CellRangeAddressBase

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

9 years agobug 58402: make AreaReference's private SpreadsheetVersion _version variable final
Javen O'Neal [Fri, 23 Oct 2015 09:54:32 +0000 (09:54 +0000)]
bug 58402: make AreaReference's private SpreadsheetVersion _version variable final

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

9 years agobug 58439: rename private FormulaShifter.adjustPtgDueToShiftMove to adjustPtgDueToShe...
Javen O'Neal [Fri, 23 Oct 2015 08:56:49 +0000 (08:56 +0000)]
bug 58439: rename private FormulaShifter.adjustPtgDueToShiftMove to adjustPtgDueToSheetMove

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

9 years agobug 33174: Use common unit test for testNoMergedRegionsIsEmptyList
Javen O'Neal [Fri, 23 Oct 2015 08:38:14 +0000 (08:38 +0000)]
bug 33174: Use common unit test for testNoMergedRegionsIsEmptyList

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

9 years agoSet newer curvesapi-version in .classpath as well and update some third-party libs...
Dominik Stadler [Thu, 22 Oct 2015 15:21:25 +0000 (15:21 +0000)]
Set newer curvesapi-version in .classpath as well and update some third-party libs for the password-protection-code to the latest versions

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

9 years agoMaven/Sonar build: Add dependency on curvesapi which is now required
Dominik Stadler [Tue, 20 Oct 2015 09:55:17 +0000 (09:55 +0000)]
Maven/Sonar build: Add dependency on curvesapi which is now required

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

9 years agoXDGF: fix the fix
Dustin Spicuzza [Mon, 19 Oct 2015 18:36:45 +0000 (18:36 +0000)]
XDGF: fix the fix

- Use Collections.emptySet() for an iterator instead
- Bump curvesapi to 1.03, which is compiled for JDK 1.5

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

9 years agoXDGF: fix jdk < 1.8 compat
Dustin Spicuzza [Mon, 19 Oct 2015 14:55:30 +0000 (14:55 +0000)]
XDGF: fix jdk < 1.8 compat

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

9 years agoXDGF: fix jenkins build errors
Dustin Spicuzza [Mon, 19 Oct 2015 06:55:06 +0000 (06:55 +0000)]
XDGF: fix jenkins build errors

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

9 years agoAdd Visio OOXML text extractor + tests
Dustin Spicuzza [Mon, 19 Oct 2015 06:26:57 +0000 (06:26 +0000)]
Add Visio OOXML text extractor + tests

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

9 years agoAdd some limited XDGF documentation
Dustin Spicuzza [Mon, 19 Oct 2015 06:08:58 +0000 (06:08 +0000)]
Add some limited XDGF documentation

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

9 years agopoi-import: fix build dependencies
Dustin Spicuzza [Mon, 19 Oct 2015 05:59:42 +0000 (05:59 +0000)]
poi-import: fix build dependencies

- Compilation + tests work now

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

9 years agopoi-visio import: reformat code to fit project standards, remove JRE 7isms
Dustin Spicuzza [Mon, 19 Oct 2015 05:59:37 +0000 (05:59 +0000)]
poi-visio import: reformat code to fit project standards, remove JRE 7isms

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

9 years agoImport poi-visio codebase
Dustin Spicuzza [Mon, 19 Oct 2015 05:52:35 +0000 (05:52 +0000)]
Import poi-visio codebase

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

9 years agoBug 58499: Don't report Zip-Bomb for small files which should not cause memory issues...
Dominik Stadler [Sat, 17 Oct 2015 14:40:36 +0000 (14:40 +0000)]
Bug 58499: Don't report Zip-Bomb for small files which should not cause memory issues anyway
Also make error message a bit more specific and list classname in Zip-Bomb-Error to make it easier for users what the
problem is and how to find out where the static methods are

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

9 years agoUse the default XmlOptions for all the invocations of the XmlBeans XML parsing
Dominik Stadler [Sat, 17 Oct 2015 08:45:25 +0000 (08:45 +0000)]
Use the default XmlOptions for all the invocations of the XmlBeans XML parsing

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

9 years agoUpdate Commons jar versions in the Eclipse classpath
Nick Burch [Fri, 16 Oct 2015 10:41:06 +0000 (10:41 +0000)]
Update Commons jar versions in the Eclipse classpath

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

9 years agoRemove unnecessary warning suppressions
David North [Fri, 16 Oct 2015 09:00:43 +0000 (09:00 +0000)]
Remove unnecessary warning suppressions

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

9 years agoUpdate test to not depend on an existing build-directory
Dominik Stadler [Wed, 14 Oct 2015 19:27:20 +0000 (19:27 +0000)]
Update test to not depend on an existing build-directory

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

9 years agoDelete outdated versions of ooxml-schemas jars before building
Dominik Stadler [Wed, 14 Oct 2015 19:27:14 +0000 (19:27 +0000)]
Delete outdated versions of ooxml-schemas jars before building

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

9 years agoReenable test on Windows which was disabled previously but should now work after...
Dominik Stadler [Wed, 14 Oct 2015 15:00:19 +0000 (15:00 +0000)]
Reenable test on Windows which was disabled previously but should now work after a workaround was put in place via bug 58480.

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

9 years agoBug 58480: Work around problem where on Windows systems a Mapped Buffer can still...
Dominik Stadler [Wed, 14 Oct 2015 14:53:41 +0000 (14:53 +0000)]
Bug 58480: Work around problem where on Windows systems a Mapped Buffer can still lock a file even if the Channel was closed properly. Use reflection as DirectBuffer is in package sun.com and thus likely to go away with Java 9.

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

9 years agoBug 58341: fix some edge cases in the DStar function
Dominik Stadler [Wed, 14 Oct 2015 14:31:04 +0000 (14:31 +0000)]
Bug 58341: fix some edge cases in the DStar function

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

9 years agoUpdate to latest commons-codec-1.10 and commons-logging-1.2, use the properties for...
Dominik Stadler [Tue, 13 Oct 2015 16:37:22 +0000 (16:37 +0000)]
Update to latest commons-codec-1.10 and commons-logging-1.2, use the properties for these libs everywhere in build.xml

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

9 years agojavadoc fixes
Andreas Beeker [Mon, 12 Oct 2015 23:10:02 +0000 (23:10 +0000)]
javadoc fixes

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

9 years ago- removed deprecated and confusing methods in XSSFColor
Andreas Beeker [Mon, 12 Oct 2015 20:43:42 +0000 (20:43 +0000)]
- removed deprecated and confusing methods in XSSFColor
- sonar fixes

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

9 years agoRetry which measures duration a few times to see if that reduces the number of failur...
Dominik Stadler [Thu, 8 Oct 2015 11:08:41 +0000 (11:08 +0000)]
Retry which measures duration a few times to see if that reduces the number of failures caused by this test sometimes when CI machines are loaded.

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

9 years agoUpdate the XSSF EventModel example, to show how to do it better using the SheetConten...
Nick Burch [Wed, 7 Oct 2015 15:19:04 +0000 (15:19 +0000)]
Update the XSSF EventModel example, to show how to do it better using the SheetContentsHandler helper that does most of the work for you

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

9 years agoExclude visio xsd from rat check
Dustin Spicuzza [Wed, 7 Oct 2015 13:13:39 +0000 (13:13 +0000)]
Exclude visio xsd from rat check

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

9 years agoBug 58048: Add visio schemas to the OOXML jar
Dustin Spicuzza [Wed, 7 Oct 2015 02:41:30 +0000 (02:41 +0000)]
Bug 58048: Add visio schemas to the OOXML jar

- Bumped OOXML jar version also

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

9 years agofix forbidden apis issue and make non-static as decimalformat is not thread-safe
Andreas Beeker [Tue, 6 Oct 2015 22:52:05 +0000 (22:52 +0000)]
fix forbidden apis issue and make non-static as decimalformat is not thread-safe

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

9 years agoAnt build: Use correct AntTask as reported by forbidden-apis-check, Print out which...
Dominik Stadler [Tue, 6 Oct 2015 13:36:30 +0000 (13:36 +0000)]
Ant build: Use correct AntTask as reported by forbidden-apis-check, Print out which documentation directory is looked at in -check-docs

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

9 years agoFormat numbers more like Excel does
David North [Tue, 6 Oct 2015 09:56:26 +0000 (09:56 +0000)]
Format numbers more like Excel does

Thanks to Chris Boyle for the patch

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

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

9 years agosonar fixes and closing resources after use
Andreas Beeker [Tue, 6 Oct 2015 00:04:12 +0000 (00:04 +0000)]
sonar fixes and closing resources after use

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

9 years agoClean up a bit and move some comments into descriptions for the benefit of ant -p
David North [Mon, 5 Oct 2015 12:23:07 +0000 (12:23 +0000)]
Clean up a bit and move some comments into descriptions for the benefit of ant -p

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

9 years agoFix for https://bz.apache.org/bugzilla/show_bug.cgi?id=58466
David North [Mon, 5 Oct 2015 10:31:33 +0000 (10:31 +0000)]
Fix for https://bz.apache.org/bugzilla/show_bug.cgi?id=58466

ColumnHelper now preserves information on multiple changes to the same group, hopefully while preserving the faster implementation intended by the original patch.

NB changes to TestXSSFSheet: the behaviour of column group collapsing/expanding is now closer to what Excel does than before.

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

9 years agoUpdate my key with additional sigs from Nick
David North [Mon, 5 Oct 2015 08:07:02 +0000 (08:07 +0000)]
Update my key with additional sigs from Nick

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

9 years agoAs discussed at ApacheCon: Try to automatically find test-data in unit tests, this...
Dominik Stadler [Mon, 5 Oct 2015 06:45:20 +0000 (06:45 +0000)]
As discussed at ApacheCon: Try to automatically find test-data in unit tests, this makes it easier to get going in Eclipse or other IDEs.

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

9 years agoEclipse warnings
Dominik Stadler [Mon, 5 Oct 2015 06:41:48 +0000 (06:41 +0000)]
Eclipse warnings

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

9 years agofixed sonar issues and eclipse warnings
Andreas Beeker [Mon, 5 Oct 2015 00:28:54 +0000 (00:28 +0000)]
fixed sonar issues and eclipse warnings

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

9 years agoobsoleted Codec classes by HexDump
Andreas Beeker [Mon, 5 Oct 2015 00:27:47 +0000 (00:27 +0000)]
obsoleted Codec classes by HexDump

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

9 years agoremoved obsolete classes
Andreas Beeker [Mon, 5 Oct 2015 00:26:45 +0000 (00:26 +0000)]
removed obsolete classes

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

9 years agoFixed a problem with save-and-load of conditional formattings (CFHeader12 wasn't...
Andreas Beeker [Mon, 5 Oct 2015 00:26:19 +0000 (00:26 +0000)]
Fixed a problem with save-and-load of conditional formattings (CFHeader12 wasn't added to conditional formattings, rgb value wasn't saved in extended color)

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

9 years agosonar fixes
Andreas Beeker [Sun, 4 Oct 2015 00:35:30 +0000 (00:35 +0000)]
sonar fixes

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

9 years agoBug 55032: Fix handling missing option values in financial functions PV, FV, NPER...
Dominik Stadler [Thu, 1 Oct 2015 14:05:28 +0000 (14:05 +0000)]
Bug 55032: Fix handling missing option values in financial functions PV, FV, NPER and PMT

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

9 years agosonar fixes
Andreas Beeker [Wed, 30 Sep 2015 23:06:39 +0000 (23:06 +0000)]
sonar fixes

Very interesting was the exception swallowing in PackagePropertiesPart. When it was properly thrown, it already led to various errors in the junits test - I've fixed the handling for at least the ones which are in our test set

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

9 years agoUpdate forbidden-api checks to new release 2.0
Dominik Stadler [Wed, 30 Sep 2015 20:00:14 +0000 (20:00 +0000)]
Update forbidden-api checks to new release 2.0

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

9 years agoVerify that bug 51998 is actually fixed since some time already.
Dominik Stadler [Tue, 29 Sep 2015 13:09:47 +0000 (13:09 +0000)]
Verify that bug 51998 is actually fixed since some time already.

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

9 years agoBug 50319: Make row groups which include row 0 work
Dominik Stadler [Tue, 29 Sep 2015 12:26:08 +0000 (12:26 +0000)]
Bug 50319: Make row groups which include row 0 work

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

9 years agoTried to reproduce bug 48403 but couldn't, still adding the related unit test
Dominik Stadler [Tue, 29 Sep 2015 10:14:40 +0000 (10:14 +0000)]
Tried to reproduce bug 48403 but couldn't, still adding the related unit test

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

9 years agosonar fixes
Andreas Beeker [Tue, 29 Sep 2015 08:31:15 +0000 (08:31 +0000)]
sonar fixes

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

9 years agoAdd test which shows that bug 46515 is fixed since some time already.
Dominik Stadler [Tue, 29 Sep 2015 07:51:48 +0000 (07:51 +0000)]
Add test which shows that bug 46515 is fixed since some time already.

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

9 years agoVerify that bug 45541 can be resolved, add some more checks in XSLFFileHandler
Dominik Stadler [Tue, 29 Sep 2015 06:08:08 +0000 (06:08 +0000)]
Verify that bug 45541 can be resolved, add some more checks in XSLFFileHandler

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

9 years agoSonar fixes - add cloneable interface to classes with clone()
Andreas Beeker [Mon, 28 Sep 2015 23:16:58 +0000 (23:16 +0000)]
Sonar fixes - add cloneable interface to classes with clone()
Sonar fixes - remove pubic/static/final modifier from interfaces

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

9 years agoRemoved HDF API
Andreas Beeker [Mon, 28 Sep 2015 21:26:06 +0000 (21:26 +0000)]
Removed HDF API
Sonar fixes

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