Commit Graph

6887 Commits

Author SHA1 Message Date
Javen O'Neal b5494da29c fix javadoc warnings from r1715839 bug 58365
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715993 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 23:52:59 +00:00
Javen O'Neal 4dd060e25b fix javadoc warnings from r1715839 bug 58365
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715987 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 23:34:33 +00:00
Javen O'Neal 788047ed08 fixed bad test case in BaseTestSheet.getCellComments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715854 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 15:45:30 +00:00
Javen O'Neal 7af82a3de2 catch IOException and rethrow as RuntimeException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715850 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 15:36:57 +00:00
Javen O'Neal 3e10c4f0f6 bug 58365: patch from Hannes Erven: add method to efficiently get all cell comments on a Sheet and return a dictionary with the location of each comment as the key and the comment itself as the value.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715839 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 15:11:28 +00:00
Javen O'Neal 014be25d45 revert accidental change to .project
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715824 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 14:00:03 +00:00
Javen O'Neal cf41635922 prevent slideshow test-data files shapes.pptx and tables_test.pptx from being modified when running "ant test"; close open resources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715815 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 13:55:48 +00:00
Javen O'Neal a77dd2777b bug 58365: patch from Hannes Erven. Update XSSFSheetXMLHandler.java to use CellAddress instead of CellReference/String
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715794 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 12:47:24 +00:00
Javen O'Neal 831fa71953 whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715787 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 12:32:26 +00:00
Javen O'Neal 090394287b bug 58365: patch from Hannes Erven. Update CommentsTable to use CellAddress instead of String
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715784 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 12:29:45 +00:00
Javen O'Neal ae9bcd8e82 convert junit3 to junit4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715752 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 10:26:06 +00:00
Javen O'Neal dbba80c3fc bug 58637: contribution from Hannes Erven: add CellAddress class, distinct from CellReference
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715743 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 09:30:53 +00:00
Andreas Beeker c5eef0ba45 raise ooxml schema/security version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715718 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 00:15:07 +00:00
Andreas Beeker 63598f47f4 add missing marker files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715692 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 20:39:03 +00:00
Uwe Schindler c941df8642 Use <file/> instead of <fileset/> for single files to ensure, they exist
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715627 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 14:03:52 +00:00
Andreas Beeker 4ccadf7315 fix unnecessary cast warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715626 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 12:30:42 +00:00
Andreas Beeker e0f10f2071 delete old schema-1.2 jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715556 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 19:56:45 +00:00
Andreas Beeker 47b5cde9c3 #58617 - Add custom safe XmlBeans type loader / rename vendor specific schema packages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715555 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 19:37:26 +00:00
Andreas Beeker 7458fdc277 In preparation for table rendering, added table row heights and column widths to common sl.
To have better results in rendering switch anchor from java.awt.Rectangle to Rectangle2D.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715540 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 15:54:01 +00:00
Andreas Beeker 2bc397b665 #58630 - Signing failed after deletion of first sheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715438 13f79535-47bb-0310-9956-ffa450edef68
2015-11-20 22:38:27 +00:00
Andreas Beeker 07dc2b9e08 findbugs fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715087 13f79535-47bb-0310-9956-ffa450edef68
2015-11-19 01:44:38 +00:00
Andreas Beeker e2bc07e9d1 #55955 - Filling an existing ppt table stopped working with 3.9
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1714715 13f79535-47bb-0310-9956-ffa450edef68
2015-11-16 23:56:19 +00:00
Andreas Beeker a0e06add7a #54210 When saving PPT to PNG, some text is rendered backwards
#53189 Shapes drawn wrongly when ppt file converted to image
fix line decoration (HSLF)


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1714290 13f79535-47bb-0310-9956-ffa450edef68
2015-11-14 02:44:07 +00:00
Andreas Beeker 67b4477a7e Fix typo in EscherProperties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1714289 13f79535-47bb-0310-9956-ffa450edef68
2015-11-14 02:42:05 +00:00
Andreas Beeker c6f11991e7 Add default XmlOptions to XMLBeans parsing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1714288 13f79535-47bb-0310-9956-ffa450edef68
2015-11-14 02:41:48 +00:00
Uwe Schindler 9ab28f52ab Add security check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713917 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 19:17:18 +00:00
Uwe Schindler 493a157e6a Fix remaining security manager problems. Forbiddenapis now passes.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713915 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 19:11:35 +00:00
Uwe Schindler 73a8488838 #58597: Fix tests to not do setAccessible(), add some doPrivileged, too.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713891 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 16:57:39 +00:00
Uwe Schindler da19b14670 #58597: Add more AccessController.doPrivileged. We should fix them later!
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713813 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 11:36:44 +00:00
Uwe Schindler b62cc549fe #58597: Remove setAccessible (more coming soon)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713770 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 07:41:54 +00:00
Andreas Beeker b0b4c020ed Fixed Off-by-one-Error which skipped paragraph styles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713546 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 21:37:10 +00:00
Uwe Schindler ce66e14b5a Wrap more security related reflection in AccessController
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713356 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 09:32:37 +00:00
Uwe Schindler 8c3cd70589 Use Lucene's unmapping code inside AccessController.doPrivileged() for unmapping mapped byte buffers.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713350 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 09:06:01 +00:00
Uwe Schindler 77a586d4a2 Tell Eclipse to use a Java 6 compatible JVM, not latest one (if available)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713340 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 07:47:45 +00:00
Andreas Beeker d1d1298d96 #53192 - Images in ppt file have wrong width when convering ppt to png
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713332 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 01:28:31 +00:00
Uwe Schindler 66ce32aee1 Add reason message to @SuppressForbidden
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713324 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 23:44:24 +00:00
Andreas Beeker ccce28aae4 sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713319 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 23:14:50 +00:00
Andreas Beeker e8d108ff22 Add support for HSLF metro blobs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713318 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 23:13:28 +00:00
Andreas Beeker 1a32b63fd3 #52297 - Bullets are not aligned properly while converting ppt slide to image
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713316 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 23:11:22 +00:00
Uwe Schindler 0f40ad3125 Make forbiddenapis also check excelant. Use a separate "classpath" for running forbiddenapis; don't misuse javadoc.classpath for that.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713222 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 11:57:58 +00:00
Dominik Stadler db98ec0bd9 Tried to add excelant to forbidden-apis-check, but failed due to issue #82 in forbidden-api-checks tool. List more pathes that we still not include. Add description to custom forbidden-api-checks and add commented out checks for reflectoin as discussed in bug 58597
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713218 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 10:01:48 +00:00
asf-sync-process c39e9df3c8 Add some more tests for the checks for files that can cause large memory usage.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713217 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 10:00:38 +00:00
Dominik Stadler 4cdcc9fc24 Eclipse warnings, typos, ...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713216 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 10:00:24 +00:00
Javen O'Neal 8cff5d7e49 bug 58591: add formula evaluation unit tests inspired by Jason Tomforde's question on user@
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713080 13f79535-47bb-0310-9956-ffa450edef68
2015-11-07 04:09:39 +00:00
Nick Burch a4e891ff8f Whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712985 13f79535-47bb-0310-9956-ffa450edef68
2015-11-06 17:03:22 +00:00
Nick Burch 6cc2839b66 Convert to JUnit4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712984 13f79535-47bb-0310-9956-ffa450edef68
2015-11-06 17:02:18 +00:00
Javen O'Neal 0149810619 remove TestWorkbookEvaluator from junit3 test suite since it was upgraded to junit4 in r1712908
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712921 13f79535-47bb-0310-9956-ffa450edef68
2015-11-06 08:51:49 +00:00
Javen O'Neal c47401d239 remove deprecated ErrorConstants usage in TestWorkbookEvaluator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712910 13f79535-47bb-0310-9956-ffa450edef68
2015-11-06 04:58:35 +00:00
Javen O'Neal 663c64ff44 whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712909 13f79535-47bb-0310-9956-ffa450edef68
2015-11-06 04:45:25 +00:00
Javen O'Neal 42c1296ef6 convert TestWorkbookEvaluator from junit3 to junit4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712908 13f79535-47bb-0310-9956-ffa450edef68
2015-11-06 04:43:50 +00:00