Commit Graph

6696 Commits

Author SHA1 Message Date
Andreas Beeker 5fd534c44b findbugs fixes
close resources in tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711712 13f79535-47bb-0310-9956-ffa450edef68
2015-11-01 03:23:16 +00:00
Andreas Beeker 944253c786 FindBugs fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711708 13f79535-47bb-0310-9956-ffa450edef68
2015-10-31 23:13:35 +00:00
Andreas Beeker 785b37342e Add method for setting bullet styles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711707 13f79535-47bb-0310-9956-ffa450edef68
2015-10-31 23:10:43 +00:00
Andreas Beeker f91f9120c2 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
2015-10-31 23:10:17 +00:00
Andreas Beeker f42904f162 #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
2015-10-31 23:08:52 +00:00
Andreas Beeker c8a440849e #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
2015-10-31 23:05:09 +00:00
Javen O'Neal e29f699741 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
2015-10-31 20:53:12 +00:00
Javen O'Neal 70384e3fab whitespace change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711680 13f79535-47bb-0310-9956-ffa450edef68
2015-10-31 19:56:22 +00:00
Javen O'Neal 5584837ff2 add javadoc info for intersects
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711613 13f79535-47bb-0310-9956-ffa450edef68
2015-10-31 12:21:51 +00:00
Javen O'Neal a5540e0dfb 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
2015-10-31 11:57:39 +00:00
Javen O'Neal 775838e5a8 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
2015-10-31 11:39:01 +00:00
Javen O'Neal 14736096ec 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
2015-10-31 11:20:15 +00:00
Javen O'Neal bc358fe708 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
2015-10-31 11:10:28 +00:00
Javen O'Neal 6456105e37 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
2015-10-31 10:22:19 +00:00
Javen O'Neal c158ddea1c 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
2015-10-31 09:29:32 +00:00
Dominik Stadler a9aad913bf 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
2015-10-30 17:26:37 +00:00
Andreas Beeker a0f9da7fb6 #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
2015-10-29 23:22:54 +00:00
Andreas Beeker 9a6c48cfb2 #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
2015-10-29 23:20:35 +00:00
David North 0da28d066b Add description to jenkins target
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711215 13f79535-47bb-0310-9956-ffa450edef68
2015-10-29 10:42:23 +00:00
Dominik Stadler 458a19aeec 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
2015-10-29 09:30:11 +00:00
Nick Burch e43d36f06d Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711197 13f79535-47bb-0310-9956-ffa450edef68
2015-10-29 09:28:38 +00:00
Javen O'Neal 2535839b70 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
2015-10-29 06:53:55 +00:00
Andreas Beeker eb1e1a28e8 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
2015-10-29 01:05:27 +00:00
Nick Burch 8f0093e464 #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
2015-10-28 17:42:56 +00:00
Javen O'Neal 974367ed1d 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
2015-10-27 07:43:23 +00:00
Javen O'Neal 57e4fb85d3 convert scratchpad TestHSSFChart from junit3 to junit4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710729 13f79535-47bb-0310-9956-ffa450edef68
2015-10-27 07:41:09 +00:00
Dominik Stadler b7efcbaf5f 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
2015-10-26 20:48:38 +00:00
Dominik Stadler c776dff7a5 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
2015-10-26 20:48:32 +00:00
Dominik Stadler a15fcb1806 Add delete of outdated forbiddenapi-jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710691 13f79535-47bb-0310-9956-ffa450edef68
2015-10-26 20:45:44 +00:00
David North 128bf66148 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
2015-10-26 10:32:30 +00:00
Dominik Stadler bcaab496b6 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
2015-10-26 07:54:06 +00:00
Nick Burch 9a080e3666 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
2015-10-25 21:20:44 +00:00
Nick Burch f32b885665 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
2015-10-25 16:19:35 +00:00
Nick Burch 1a96a88ef2 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
2015-10-25 16:13:16 +00:00
Nick Burch 7d7cbf7db3 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
2015-10-25 00:26:43 +00:00
Nick Burch d95108b5f5 #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
2015-10-24 23:57:49 +00:00
Nick Burch b3f68c4eb4 #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
2015-10-24 23:34:47 +00:00
Nick Burch cbde002fa1 Fix inconsistent whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710395 13f79535-47bb-0310-9956-ffa450edef68
2015-10-24 22:12:06 +00:00
Nick Burch e0addf54a5 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
2015-10-24 22:09:08 +00:00
Nick Burch 1072a176ed Test files for #58532
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710393 13f79535-47bb-0310-9956-ffa450edef68
2015-10-24 21:58:08 +00:00
Dominik Stadler ba1f3bb24a 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
2015-10-23 12:18:22 +00:00
Dominik Stadler 8ffcf64585 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
2015-10-23 12:16:11 +00:00
Dominik Stadler 73ae5a04cb 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
2015-10-23 12:11:40 +00:00
Javen O'Neal 45e79a0409 bug 58441: define equals method for CellRangeAddressBase
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710172 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 11:17:06 +00:00
Javen O'Neal 4780d329ef 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
2015-10-23 09:54:32 +00:00
Javen O'Neal 5de69c25e6 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
2015-10-23 08:56:49 +00:00
Javen O'Neal 0b0e30c06c 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
2015-10-23 08:38:14 +00:00
Dominik Stadler cdb8a02931 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
2015-10-22 15:21:25 +00:00
Dominik Stadler 3b43effa4b 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
2015-10-20 09:55:17 +00:00
Dustin Spicuzza 5d571fe387 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
2015-10-19 18:36:45 +00:00