Nick Burch
0982d9dee5
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
2016-02-15 14:40:24 +00:00
Dominik Stadler
63a7f89342
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
2016-02-15 10:08:26 +00:00
Dominik Stadler
677b19afbd
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
2016-02-15 09:26:51 +00:00
Dominik Stadler
98da5af350
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
2016-02-15 08:33:12 +00:00
Dominik Stadler
528a64dc76
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
2016-02-15 07:41:47 +00:00
Dominik Stadler
b01efb6855
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
2016-02-13 21:30:10 +00:00
Dominik Stadler
c68a9e4c02
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
2016-02-13 21:29:46 +00:00
Dominik Stadler
eeee511f71
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
2016-02-13 21:29:23 +00:00
Dominik Stadler
b6de146895
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
2016-02-12 09:44:47 +00:00
Nick Burch
118b728156
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
2016-02-11 15:13:40 +00:00
Nick Burch
a3966df033
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
2016-02-11 15:13:01 +00:00
Andreas Beeker
2aa39f5bdb
Add example for adding videos
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1728888 13f79535-47bb-0310-9956-ffa450edef68
2016-02-06 22:23:47 +00:00
Andreas Beeker
ce22cc44c4
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
2016-02-05 22:03:44 +00:00
Dominik Stadler
fb07d95b55
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
2016-02-05 07:51:35 +00:00
Tim Allison
827c3f562b
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
2016-02-04 19:54:15 +00:00
Javen O'Neal
95e95dfabb
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
2016-01-31 12:52:32 +00:00
Javen O'Neal
80c9b356c2
HSSFComment: note a final field
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1727803 13f79535-47bb-0310-9956-ffa450edef68
2016-01-31 12:33:00 +00:00
Javen O'Neal
dc860a6f93
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
2016-01-31 12:14:55 +00:00
Javen O'Neal
6c89d062bf
bug 58885: fix javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1727777 13f79535-47bb-0310-9956-ffa450edef68
2016-01-31 04:04:56 +00:00
Javen O'Neal
e365e9cbac
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
2016-01-31 03:27:35 +00:00
Dominik Stadler
a79dfd18e4
Adjust test to pass forbidden-apis-check
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1727693 13f79535-47bb-0310-9956-ffa450edef68
2016-01-30 11:02:54 +00:00
Dominik Stadler
68997de5f0
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
2016-01-29 22:09:03 +00:00
Dominik Stadler
d70d496f84
Add curvesapi-jar when running Findbugs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1727652 13f79535-47bb-0310-9956-ffa450edef68
2016-01-29 22:08:55 +00:00
Nick Burch
d5ad47658c
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
2016-01-26 16:25:52 +00:00
Dominik Stadler
f94bb63332
add an ignored test for bug 58804
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1726681 13f79535-47bb-0310-9956-ffa450edef68
2016-01-25 20:21:30 +00:00
Andreas Beeker
183b2d774f
Raised xmlsec version to 2.0.6
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1726528 13f79535-47bb-0310-9956-ffa450edef68
2016-01-24 18:36:56 +00:00
Andreas Beeker
5fad9af36f
#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
2016-01-24 00:12:10 +00:00
Dominik Stadler
6d56feee90
Update copyright-year to 2016
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1725457 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 10:09:12 +00:00
Dominik Stadler
2ac89a2dc9
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
2016-01-18 20:16:38 +00:00
Dominik Stadler
08ec6e316c
Include curvesapi-jar in distribution
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1725335 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 20:16:29 +00:00
Dominik Stadler
a369daa432
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
2016-01-18 20:16:23 +00:00
Dominik Stadler
fe359afec3
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
2016-01-18 19:56:30 +00:00
Javen O'Neal
0173f22787
make SXSSFWorkbook member variables private
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1725047 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 22:58:25 +00:00
Javen O'Neal
14beee1cfd
whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1725043 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 22:23:31 +00:00
Javen O'Neal
18c5045d5b
fix questionable List.remove(int) in SXSSFITestDataProvider
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1725042 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 22:23:05 +00:00
Andreas Beeker
94fdd517aa
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
2016-01-16 22:19:34 +00:00
Javen O'Neal
51e4b32498
add @Override annotations to ITestDataProviders
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1725040 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 22:03:58 +00:00
Javen O'Neal
276e95e43f
bug 58879: add SpreadsheetVersion to Workbook interface
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1725039 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 22:01:33 +00:00
Javen O'Neal
7ddcde8a09
svn propset svn:eol-style native
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1725034 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 21:20:53 +00:00
Andreas Beeker
79920b06eb
Fix NPE when calling HSLFTextRun.setHorizontalCentered()
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1725022 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 19:27:58 +00:00
Andreas Beeker
c1263423cf
#56004 - Support for WMF rendering
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1724897 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 00:11:01 +00:00
Dominik Stadler
bdef6e1c52
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
2016-01-13 19:46:17 +00:00
Dominik Stadler
50d09bf36c
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
2016-01-13 19:45:49 +00:00
Dominik Stadler
e91e15ab10
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
2016-01-13 19:45:05 +00:00
David North
a08539ef02
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
2016-01-13 17:54:24 +00:00
Dominik Stadler
8793846bc6
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
2016-01-13 15:59:38 +00:00
Dominik Stadler
8cf781c31b
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
2016-01-13 08:16:15 +00:00
Nick Burch
c86a4af85e
Javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1724364 13f79535-47bb-0310-9956-ffa450edef68
2016-01-13 07:33:03 +00:00
Nick Burch
ed9a070491
#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
2016-01-13 07:26:26 +00:00
Andreas Beeker
0ded035dda
Javadocs fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1724343 13f79535-47bb-0310-9956-ffa450edef68
2016-01-13 01:09:43 +00:00