Commit Graph

6807 Commits

Author SHA1 Message Date
Dominik Stadler
e20da28904 Remove useless double check on null introduced with the previous bugfix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716082 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 09:10:27 +00:00
Javen O'Neal
65cd898a61 bug 58637: replace deprecated getCellComment(row, col) usage
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716075 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 08:54:32 +00:00
Javen O'Neal
72aae0f14b bug 58348: use copy constructor design pattern rather than cloneable pattern for CellCopyPolicy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716074 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 08:52:45 +00:00
Javen O'Neal
e117107313 javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716073 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 08:50:53 +00:00
Javen O'Neal
e25f69814c whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716060 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 08:15:42 +00:00
Javen O'Neal
d58342dd9f whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716057 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 08:13:10 +00:00
Javen O'Neal
58718f7245 revert accidental change to .project
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716055 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 08:08:33 +00:00
Javen O'Neal
735c43ec9d bug 58644: fix HSSFSheet.setZoom(int); update documentation to use non-deprecated method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716053 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 08:04:42 +00:00
Javen O'Neal
e7d29ad533 whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716051 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 07:53:17 +00:00
Javen O'Neal
8eabc4710a bug 58642: deprecate Sheet.setZoom(numerator, denominator) and replace with Sheet.setZoom(scale)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716048 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 07:43:53 +00:00
Javen O'Neal
891f2d26fc bug 58642: remove deprecated functions in Spreadsheet Sheet interface and implementing classes; add @Override annotations
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716046 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 07:34:09 +00:00
Javen O'Neal
84fdda5736 rewrite ternary expression as simple Math.min call (yes, the ternary expression as written is equivalent to min, not max, despite the variable being called max. I'll leave that fix up to the original author).
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716044 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 07:05:11 +00:00
Javen O'Neal
dc1acc7ead whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716035 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 05:57:31 +00:00
Javen O'Neal
2fab3547be whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716034 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 05:51:54 +00:00
Javen O'Neal
cd254f2f1e FindBugs MALICIOUS_CODE, finalize method should have protected access
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716006 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 01:20:45 +00:00
Javen O'Neal
a736ac1777 FindBug warning: ICAST_IDIV_CAST_TO_DOUBLE: integral division result cast to double
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716005 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 01:11:57 +00:00
Javen O'Neal
cba32cd1a0 FindBug warning: EQ_SELF_USE_OBJECT: class defines equals(Region) and uses Object.equals(Object)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716004 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 01:10:47 +00:00
Javen O'Neal
d6ee7f8221 remove duplicate null check of srcStartRow (identified by FindBugs)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716003 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 01:08:34 +00:00
Javen O'Neal
6acd60f74d fix normal priority FindBugs warning: DMI_INVOKING_HASHCODE_ON_ARRAY
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715998 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 00:08:22 +00:00
Javen O'Neal
10eb8f8095 fix javadoc warnings from r1690486
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715996 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 23:57:40 +00:00
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