Commit Graph

1064 Commits

Author SHA1 Message Date
Nick Burch e225ceaacd Merge two release blocking fixes from Trunk
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/REL_3_11_BRANCH@1646123 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 00:59:47 +00:00
Andreas Beeker 1460fd33b2 Added workarounds to tests for JDK 6 LineBreakMeasurer bug and handle it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1644806 13f79535-47bb-0310-9956-ffa450edef68
2014-12-12 01:43:45 +00:00
Andreas Beeker dbfabda346 close decrypted stream - test for #57296
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1644796 13f79535-47bb-0310-9956-ffa450edef68
2014-12-12 00:06:15 +00:00
Andreas Beeker f3e4795275 57250 - XMLSlideShow.setSlideOrder() produces corrupted CTSlideIdList
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1643684 13f79535-47bb-0310-9956-ffa450edef68
2014-12-07 15:28:01 +00:00
Andreas Beeker 93dffcb366 XML signatures - ignore line breaks in Office 2007 .rels files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1643415 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 20:20:23 +00:00
Dominik Stadler 1deed31c23 Include root-cause exception information when constructing ContentTypeManager fails
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1641940 13f79535-47bb-0310-9956-ffa450edef68
2014-11-26 21:11:02 +00:00
Andreas Beeker 9d84f426f3 Don't swallow exceptions on validation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1641025 13f79535-47bb-0310-9956-ffa450edef68
2014-11-22 01:47:48 +00:00
Andreas Beeker d3dee868ef the subdir element needs to be included otherwise certain xmlbean operations (e.g. selectPath) can't find the corresponding xmlbeans classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1640846 13f79535-47bb-0310-9956-ffa450edef68
2014-11-21 01:06:39 +00:00
Andreas Beeker 27b0d08d0f Bug 57164 - XSSFDrawing.createCellComment() does not honor dx and dy values passed in
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1639996 13f79535-47bb-0310-9956-ffa450edef68
2014-11-16 14:48:47 +00:00
Andreas Beeker 45fb6c5b18 Picture method to resize with different scales in width and height
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1638623 13f79535-47bb-0310-9956-ffa450edef68
2014-11-12 00:19:00 +00:00
Dominik Stadler 194738dd91 Restore printing out test-failures after switch to JUnit4 execution
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1638179 13f79535-47bb-0310-9956-ffa450edef68
2014-11-11 15:30:34 +00:00
Andreas Beeker d709edb343 Use Junit4 JUnitCore instead of legacy TestRunner
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637996 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 23:46:50 +00:00
Dominik Stadler 9f3e8b4919 Bug 57197: use proxy for TestSignatureInfo if set via environment variables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637979 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 20:37:26 +00:00
Dominik Stadler 3cf7699fde Fix Eclipse warning about generics
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637978 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 20:36:54 +00:00
Dominik Stadler 3dd00ab13a Add xmlsec-jar in test-ooxml-lite which is missing after removing ooxml.classpath
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637718 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 19:19:02 +00:00
Nick Burch 82ee923858 Patch from hishidama to add Cell.removeHyperlink(). This closes #13 from github
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637562 13f79535-47bb-0310-9956-ffa450edef68
2014-11-08 13:46:30 +00:00
Nick Burch e2dd7f27c0 Test from Tim to include PropertyList in poi-ooxml-schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637548 13f79535-47bb-0310-9956-ffa450edef68
2014-11-08 12:21:27 +00:00
Dominik Stadler 24effccc61 Fail build if test-cases fail in OOXMLLite execution to avoid missing included schema-classes. Also adjust how we look for test-classes so that we print out the ones that we skip with known ones excluded. Also print out skipped inner classes.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637475 13f79535-47bb-0310-9956-ffa450edef68
2014-11-07 22:33:54 +00:00
Dominik Stadler 62ac7efea6 Slowly start to adjust places in tests where we do not properly close file handles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637474 13f79535-47bb-0310-9956-ffa450edef68
2014-11-07 22:33:35 +00:00
Dominik Stadler b6a3184196 Calling ping is not a good idea as it runs endlessly on some platforms, do a Java connection test instead
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637370 13f79535-47bb-0310-9956-ffa450edef68
2014-11-07 13:05:57 +00:00
Andreas Beeker 69dc33caf2 another signature ubuntu jdk6 bug fix ... and offline/online handling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637283 13f79535-47bb-0310-9956-ffa450edef68
2014-11-07 01:16:21 +00:00
Nick Burch 70177caa04 Try for a more specific failure message on the assert
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637129 13f79535-47bb-0310-9956-ffa450edef68
2014-11-06 14:54:02 +00:00
Andreas Beeker 21d90606ab another blind sha2 bug fix ...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637005 13f79535-47bb-0310-9956-ffa450edef68
2014-11-05 23:33:33 +00:00
Andreas Beeker 1fcb0d7fd3 Added a catch and another workaround for the OpenJDK SHA2 AIOOBE bug
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637001 13f79535-47bb-0310-9956-ffa450edef68
2014-11-05 22:56:31 +00:00
Dominik Stadler 5f4a2a3b44 github-7 - Form check box extraction with XWPFWordExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1636990 13f79535-47bb-0310-9956-ffa450edef68
2014-11-05 22:26:00 +00:00
Nick Burch 85d0a161b0 Patch from hishidama to add Sheet.getDataValidations() for HSSF and XSSF. This closes #11 from github
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1636857 13f79535-47bb-0310-9956-ffa450edef68
2014-11-05 12:14:54 +00:00
Nick Burch 20438f4db5 Patch from hishidama to add Comment.getClientAnchor(). This closes #12 from github
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1636782 13f79535-47bb-0310-9956-ffa450edef68
2014-11-04 23:55:23 +00:00
Andreas Beeker bb378b0719 workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1155012
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1636769 13f79535-47bb-0310-9956-ffa450edef68
2014-11-04 22:56:39 +00:00
Nick Burch 4923afc9f8 Fix bug #57185 - Should be Series not Serie, latter is incorrect English / a Typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1636755 13f79535-47bb-0310-9956-ffa450edef68
2014-11-04 22:11:07 +00:00
Nick Burch 3b4a96bbc2 Some more XSSF testing for #57184
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1636750 13f79535-47bb-0310-9956-ffa450edef68
2014-11-04 22:00:09 +00:00
Nick Burch 0fdd7a1dbc Partial HSSF support for adding new external workbook formula references for #57184
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1636742 13f79535-47bb-0310-9956-ffa450edef68
2014-11-04 21:35:01 +00:00
Nick Burch dbfe9f3949 Fix naming, see #57185
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1636707 13f79535-47bb-0310-9956-ffa450edef68
2014-11-04 19:54:59 +00:00
Nick Burch 663171c6c2 Add unit test for bug #57176
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1636634 13f79535-47bb-0310-9956-ffa450edef68
2014-11-04 16:20:05 +00:00
Nick Burch 1b9ad8e4db More disabled unit tests relating to external workbook formula references
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1636626 13f79535-47bb-0310-9956-ffa450edef68
2014-11-04 16:03:25 +00:00
Nick Burch 5596161186 Switch to explicit includes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1636623 13f79535-47bb-0310-9956-ffa450edef68
2014-11-04 16:01:24 +00:00
Uwe Schindler 80b148f56f Fix bug 57162: Content_types.xml and .rels files had elements with wrong namespace (the default one)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1636188 13f79535-47bb-0310-9956-ffa450edef68
2014-11-02 20:53:02 +00:00
Nick Burch da85bfd23e Comment out work-in-progress extension to test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1635542 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 16:53:01 +00:00
Nick Burch 8616a88a86 Add missing HSSFWorkbook constructor javadocs #57166
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1635533 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 16:19:54 +00:00
Andreas Beeker 1d84cd9828 Bug 55164 - Support for adding slide notes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1635010 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 00:07:34 +00:00
Andreas Beeker 5dcf6b1a29 simplified the cropping code and changed the cropping image to a more sophisticated one - interesting enough, it's rendered correct in POI (like in Powerpoint), but malformed in LO
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1634749 13f79535-47bb-0310-9956-ffa450edef68
2014-10-28 00:04:10 +00:00
Andreas Beeker 2ff41d7acd Bug 54542 - Add support for cropped images in XSLFPictureShape.drawContent()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1634410 13f79535-47bb-0310-9956-ffa450edef68
2014-10-27 00:00:05 +00:00
Andreas Beeker f818d1fdb7 house keeping - fixes for sonarqube blockers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1634255 13f79535-47bb-0310-9956-ffa450edef68
2014-10-25 21:32:03 +00:00
Dominik Stadler 2e283f2ebf Apply patch for bug 55864 - XSSFImportFromXML.importFromXML() does not support optional elements
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633404 13f79535-47bb-0310-9956-ffa450edef68
2014-10-21 15:56:45 +00:00
Dominik Stadler 3c37d8f3cd Apply patch to fix bug 56835: Unreadable content when adding multiple comments to cell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633397 13f79535-47bb-0310-9956-ffa450edef68
2014-10-21 15:16:14 +00:00
Nick Burch 89ad69234c Unit tests which reference XSSF must be on the ooxml part of the tree
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633256 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 23:21:01 +00:00
Andreas Beeker 11cfec8513 xml dsign - javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633241 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 22:18:42 +00:00
Dominik Stadler 7664c7efa7 * Make more tests work in OOXMLLite compilation by adding xml security classpath and ensuring proper cleanup in some Extractor tests
* Remove downloading xerces library here, we now do this in the special Jenkins job and thus can get rid of it here

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633166 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 14:26:53 +00:00
Dominik Stadler 02a4dc5462 * Also adjust build.xml for newer required Ant 1.8.0
* Pass "additionaljar" to junit calls to enable us to exclude tests which we know are failing (newer XML Security stuff)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633156 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 13:54:41 +00:00
Dominik Stadler f0d47ab7cb When using v4 Junit style, we need to set @Test to make the test-methods actually execute
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633154 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 13:49:51 +00:00
Andreas Beeker 14f3200486 Removed some custom classloading code, which doesn't make sense anymore
Tested a few other timestamp providers
limited the use of the additional libraries to xml dsign classes while running the junit tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1632858 13f79535-47bb-0310-9956-ffa450edef68
2014-10-18 23:19:49 +00:00