aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/testcases/org
Commit message (Collapse)AuthorAgeFilesLines
* Fix for https://bz.apache.org/bugzilla/show_bug.cgi?id=58466David North2015-10-052-25/+100
| | | | | | | | ColumnHelper now preserves information on multiple changes to the same group, hopefully while preserving the faster implementation intended by the original patch. NB changes to TestXSSFSheet: the behaviour of column group collapsing/expanding is now closer to what Excel does than before. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706789 13f79535-47bb-0310-9956-ffa450edef68
* fixed sonar issues and eclipse warningsAndreas Beeker2015-10-054-169/+255
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706742 13f79535-47bb-0310-9956-ffa450edef68
* sonar fixesAndreas Beeker2015-09-306-49/+58
| | | | | | Very interesting was the exception swallowing in PackagePropertiesPart. When it was properly thrown, it already led to various errors in the junits test - I've fixed the handling for at least the ones which are in our test set git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706169 13f79535-47bb-0310-9956-ffa450edef68
* Verify that bug 51998 is actually fixed since some time already.Dominik Stadler2015-09-291-23/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1705855 13f79535-47bb-0310-9956-ffa450edef68
* Verify that bug 45541 can be resolved, add some more checks in XSLFFileHandlerDominik Stadler2015-09-291-1/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1705804 13f79535-47bb-0310-9956-ffa450edef68
* Make XSSF and HSSF consistent in getMergedRegions - return empty list if ↵David North2015-09-231-0/+7
| | | | | | | | there are none, rather than an exception. Tests for this. https://bz.apache.org/bugzilla/show_bug.cgi?id=58350 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704839 13f79535-47bb-0310-9956-ffa450edef68
* - #58216 - provide picture-shape resize that maintains the aspect ratioAndreas Beeker2015-09-214-8/+149
| | | | | | | | | - moved SlideShowFactory to Common SL - changed get/setAnchor to Rectangle instead of Rectangle2D - Fixed some Common SL generic definitions - picture dimensions are now in points and an additional method exists for pixels git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704206 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58333: Apply patch to verify behavior on row-index before and after the ↵Dominik Stadler2015-09-202-0/+11
| | | | | | limits set by the specification git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704186 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58332: Adjust implementation of dev-util 'MemoryUsage' to print out ↵Dominik Stadler2015-09-201-10/+30
| | | | | | information if limits are reached instead of OOM git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704182 13f79535-47bb-0310-9956-ffa450edef68
* close resources in junit testsAndreas Beeker2015-09-203-35/+64
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704124 13f79535-47bb-0310-9956-ffa450edef68
* - #58207 - Provide user access to the original image dimensions (XSLF)Andreas Beeker2015-09-202-38/+61
| | | | | | | | - same for hslf / common sl - unify method names in H/XSLF Slideshow for common sl - add/fix header information for PICT/EMF/WMF git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1704097 13f79535-47bb-0310-9956-ffa450edef68
* Apply patch from bug 57890 to add support for different datatypes in ↵Dominik Stadler2015-09-171-8/+41
| | | | | | XSSFImportFromXML git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1703665 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Javen ONeal from bug #58245 - Make Workbook support iterating ↵Nick Burch2015-09-172-4/+85
| | | | | | over Sheets git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1703573 13f79535-47bb-0310-9956-ffa450edef68
* Verify that bug 55406 can be closed WORKSFORMEDominik Stadler2015-09-131-0/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1702800 13f79535-47bb-0310-9956-ffa450edef68
* Add test case for bug 54399Dominik Stadler2015-09-131-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1702786 13f79535-47bb-0310-9956-ffa450edef68
* fix eclipse warning - mostly generics cosmeticsAndreas Beeker2015-09-133-268/+239
| | | | | | | | close resources in tests junit4 conversions convert spreadsheet based formular test to junit parameterized tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1702773 13f79535-47bb-0310-9956-ffa450edef68
* fix eclipse warning - mostly generics cosmeticsAndreas Beeker2015-09-124-14/+37
| | | | | | | | close resources in tests junit4 conversions convert spreadsheet based formular test to junit parameterized tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1702659 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58326 - Forbidden APIs patches - second set of changes for charset settingsAndreas Beeker2015-09-081-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701713 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58326 - Forbidden APIs patches - first set of changes for locale and ↵Andreas Beeker2015-09-079-660/+789
| | | | | | | | | | | | | | | | | | | | | | | | | timezone settings also includes fixes for - name shadowing - unused deprecated method "getClipRect" in classes extending Graphics2d - HexDump - replaced intermediate String.format calls with custom padding - convert testcases to junit4 - closing resources also tested with an arbitary timezone (PST) and locale (ru) supresses forbidden apis check for - LocaleUtil (the only place where Locale.getDefault() and TimeZone.getDefault() should be called) - Classes using FontMetrics - without the actual text it's difficult to return something sane Some usage of UTC and Locale.ROOT might be still wrong, e.g. in MapiMessage we don't access the extended mapi properties, which might contain the timezone DataFormatter has now a Observable property which need to be observed when custom formats are used and the Locale changes git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701688 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58326 - Forbidden APIs patches - first set of changes for locale and ↵Andreas Beeker2015-09-071-14/+14
| | | | | | | | timezone settings commit single files because of svn failures ... git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701684 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58315: Avoid NPE for RichTextString without font-detailsDominik Stadler2015-09-051-0/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701382 13f79535-47bb-0310-9956-ffa450edef68
* Eclipse warnings, close resources in CommandLineTextExtractor, add ↵Dominik Stadler2015-09-032-7/+20
| | | | | | try/finally, formatting, ... git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701139 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug 53275: reset indexed color flag when setting a non-indexed colorDominik Stadler2015-09-031-6/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701134 13f79535-47bb-0310-9956-ffa450edef68
* Add unit test which verifies that bug 53105 is actually fixed nowDominik Stadler2015-09-031-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701133 13f79535-47bb-0310-9956-ffa450edef68
* Add unit tests to verify that bug 51626 and bug 51451 are fixedDominik Stadler2015-09-031-1/+46
| | | | | | | Conflicts: src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701132 13f79535-47bb-0310-9956-ffa450edef68
* Add unit tests which verify that the issues from bug 48962 and 50755 do not ↵Dominik Stadler2015-09-031-0/+42
| | | | | | occur any more on the latest version git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701131 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-012-4/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700644 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Forbidden APIs errorsNick Burch2015-09-011-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700635 13f79535-47bb-0310-9956-ffa450edef68
* Add possibility to set zoomPercent for XWPFDocumentDominik Stadler2015-08-261-2/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697992 13f79535-47bb-0310-9956-ffa450edef68
* common sl: reworked and unified generics definitionsAndreas Beeker2015-08-241-1/+1
| | | | | | | | made various methods available through common sl added createTextBox,AutoShape,... methods to ShapeContainers hslf tables created by poi, will be identified as such when the file is read again git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697515 13f79535-47bb-0310-9956-ffa450edef68
* Reduce required memory in tests by not actually creating all the rows/cells ↵Dominik Stadler2015-08-241-8/+10
| | | | | | when verifying the max number of cellstyles. Hopefully this will avoid the OOMs that we see in various CI environments currently while still verifying the limits correctly. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697326 13f79535-47bb-0310-9956-ffa450edef68
* Improve ReadOnlySharedStringsTable to cope gracefully with an empty SST part.David North2015-08-191-0/+24
| | | | | | https://bz.apache.org/bugzilla/show_bug.cgi?id=58262 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696559 13f79535-47bb-0310-9956-ffa450edef68
* * Adjust reported text when a Zip-Bomb is detected to allow to quickly see ↵Dominik Stadler2015-08-191-2/+3
| | | | | | | | | | why it happened * Fail only with inflation ratio lower than the min, not equals, to behave as documented * Add getters to be able to temporarily adjust the limits for unit tests * Allow lower inflation ratio in OOXMLPrettyPrint as this is a dev-only tool git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696556 13f79535-47bb-0310-9956-ffa450edef68
* Make intersection formulae work in XSSF. Patch from Matt Hillsdon plus ↵David North2015-08-191-0/+26
| | | | | | | | additional tests. https://bz.apache.org/bugzilla/show_bug.cgi?id=52111 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696549 13f79535-47bb-0310-9956-ffa450edef68
* Bug 54938: Throw InvalidFormatException as documented instead of ↵Dominik Stadler2015-08-171-1/+2
| | | | | | IllegalArgumentException in WorkbookFactory.create() git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696338 13f79535-47bb-0310-9956-ffa450edef68
* Try to make Sonar builds run again: add missing dependency, add ↵Dominik Stadler2015-08-163-18/+36
| | | | | | ooxml-schema-security, don't depend on dir test-data and build-directory directly, don't override a POILogger that is set via System Properties git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696165 13f79535-47bb-0310-9956-ffa450edef68
* #58237 When adding a picture to a XWPF header or footer, attach it to the ↵Nick Burch2015-08-131-10/+6
| | | | | | right part git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695772 13f79535-47bb-0310-9956-ffa450edef68
* #58237 Add some more XWPF header and footer testsNick Burch2015-08-132-1/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695769 13f79535-47bb-0310-9956-ffa450edef68
* Fix inconsistent line endings and some eclipse warningsNick Burch2015-08-1314-1228/+1219
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695757 13f79535-47bb-0310-9956-ffa450edef68
* Support XWPF field runs, the same way that we handle hyperlink runsNick Burch2015-08-111-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695361 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56479: don't hardcode dcterms as namespace alias in the attribute, but ↵Dominik Stadler2015-08-112-1/+55
| | | | | | expect the actual alias that is used in the corresponding element. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695212 13f79535-47bb-0310-9956-ffa450edef68
* #56519 - XSLFSlide.draw is not working with text embeded in PPTXAndreas Beeker2015-08-097-119/+140
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694925 13f79535-47bb-0310-9956-ffa450edef68
* Complete theme colour testsNick Burch2015-08-091-1/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694892 13f79535-47bb-0310-9956-ffa450edef68
* Get theme and non-theme rows consistent in the test fileNick Burch2015-08-091-20/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694889 13f79535-47bb-0310-9956-ffa450edef68
* Begin Themes+Normal colour testsNick Burch2015-08-091-2/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694887 13f79535-47bb-0310-9956-ffa450edef68
* Fix the themes test for the complex workbookNick Burch2015-08-091-9/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694883 13f79535-47bb-0310-9956-ffa450edef68
* #58205 - getSlideMasters() returns the master slides in the incorrect orderAndreas Beeker2015-08-071-4/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694592 13f79535-47bb-0310-9956-ffa450edef68
* #58206 - provide a mechanism to find slide layouts by nameAndreas Beeker2015-08-051-11/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694340 13f79535-47bb-0310-9956-ffa450edef68
* Stub next testNick Burch2015-08-041-4/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694127 13f79535-47bb-0310-9956-ffa450edef68
* Use an enum to simplify the themes code and testsNick Burch2015-08-041-20/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694125 13f79535-47bb-0310-9956-ffa450edef68