Commit Graph

1004 Commits

Author SHA1 Message Date
Andreas Beeker f56b918b16 #54916 - POI does not always read all the slides in pptx files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1723966 13f79535-47bb-0310-9956-ffa450edef68
2016-01-10 20:44:17 +00:00
Dominik Stadler c4c9ac0ccf bug 58043: provide some compatibility between HSSF and XSSF in regards to values for CellStyle.setRotation(). Also adjust JavaDoc to mention the remaining things to note
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722716 13f79535-47bb-0310-9956-ffa450edef68
2016-01-03 13:28:17 +00:00
Dominik Stadler ff8592b190 Fix bug 58067: XWPF: don't return deleted text when document is in review-mode
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722715 13f79535-47bb-0310-9956-ffa450edef68
2016-01-03 13:28:01 +00:00
Javen O'Neal 4f6a75b701 bug 58779: check if SlideShowFactory.create() modifies the file being read when the slideshow is closed.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722707 13f79535-47bb-0310-9956-ffa450edef68
2016-01-03 09:16:59 +00:00
Javen O'Neal 87ec46ff34 test XSLF SlideShowFactory creation methods individually for more granular unit test results
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722695 13f79535-47bb-0310-9956-ffa450edef68
2016-01-03 01:26:29 +00:00
Dominik Stadler 67d7b4a231 Move test for bug 57236 as it seems to be fixed since some time
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722666 13f79535-47bb-0310-9956-ffa450edef68
2016-01-02 21:11:41 +00:00
Dominik Stadler b037995fdd Add test which reproduces bug 58325, seems the file uses AlternateContent which POI does not support (yet)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722665 13f79535-47bb-0310-9956-ffa450edef68
2016-01-02 21:11:28 +00:00
Andreas Beeker f5a24203b8 remove test debug stuff
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722556 13f79535-47bb-0310-9956-ffa450edef68
2016-01-01 19:45:30 +00:00
Andreas Beeker 9072855208 preparation for #54916 - commit unrelated changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722538 13f79535-47bb-0310-9956-ffa450edef68
2016-01-01 19:05:50 +00:00
Dominik Stadler 4803a0c355 bug 58618: XWPFParagraph insertNewRun and removeRun work incorrectly for
runs after hyperlink/field runs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722503 13f79535-47bb-0310-9956-ffa450edef68
2016-01-01 16:28:01 +00:00
Andreas Beeker 006595947d add ignored testcase for multiple signatures
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722497 13f79535-47bb-0310-9956-ffa450edef68
2016-01-01 15:04:06 +00:00
Andreas Beeker 318f0b35b8 remove unnecessary @SuppressWarnings("deprecation") warnings (because of old xml schemas)
close resources

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722482 13f79535-47bb-0310-9956-ffa450edef68
2016-01-01 02:22:31 +00:00
Andreas Beeker f317f5e288 #56570 - RecordType has repeat by code type 3009
#58159 - getHeaderText() and getFooterText() duplicate text in sheet.getTextRuns()

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722476 13f79535-47bb-0310-9956-ffa450edef68
2015-12-31 22:10:17 +00:00
Dominik Stadler 7f105042ba Fix bug 58760: non-standard namespace-key breaks parsing XLSX files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722433 13f79535-47bb-0310-9956-ffa450edef68
2015-12-31 09:56:33 +00:00
Dominik Stadler 5344aa12cd Use parameter in unit test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722412 13f79535-47bb-0310-9956-ffa450edef68
2015-12-30 20:31:56 +00:00
Dominik Stadler 902830cf14 Adjust test for extracting some more
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722411 13f79535-47bb-0310-9956-ffa450edef68
2015-12-30 20:31:50 +00:00
Dominik Stadler 8589924b22 Bug 58746: Fix missing adjustment of formulas when sheet-ordering is changed.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722410 13f79535-47bb-0310-9956-ffa450edef68
2015-12-30 20:31:44 +00:00
Dominik Stadler 8ae2972f3d Bug 58616: Try to initialize with empty password if not done before
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722407 13f79535-47bb-0310-9956-ffa450edef68
2015-12-30 20:31:23 +00:00
Nick Burch a3d4d2571f Disabled unit test for #58760 (problem remains)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722244 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 22:42:17 +00:00
Javen O'Neal 434ebbbdef remove unused import
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722095 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 10:44:41 +00:00
Javen O'Neal 8be029b0c6 add comment
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722094 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 10:44:57 +00:00
Javen O'Neal b96af85631 move comment
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722093 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 10:43:40 +00:00
Javen O'Neal 900d21a59c javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722092 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 10:41:50 +00:00
Javen O'Neal 44c5423be4 add unit test for bug 58779 when the problem gets fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722091 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 10:40:20 +00:00
Javen O'Neal dba7fcdd4e junit3 -> junit4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722081 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 09:54:59 +00:00
Javen O'Neal 5310fc4b6d revert, not close, XSSFWorkbooks created by WorkbookFactory in order to avoid modifying SampleSS.xlsx (this bug will be addressed in a future commit). Since r1721468
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722079 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 09:28:32 +00:00
Javen O'Neal 6bc5c33c10 revert, not close, XSSFWorkbooks created by WorkbookFactory in order to avoid modifying SampleSS.xlsx (this bug will be addressed in a future commit). Since r1721468
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722078 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 09:21:17 +00:00
Javen O'Neal 5ab2c61a3f make spreadsheet file names static final rather than initializing them with setUp()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722073 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 08:53:46 +00:00
Javen O'Neal ef26a1d15c bug 58775: set an upper limit on number of data formats, default 250.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722054 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 05:46:20 +00:00
Javen O'Neal 22b03ba71b convert junit3 to junit4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722048 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 01:26:55 +00:00
Javen O'Neal 1dd49eff7c whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722047 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 01:18:16 +00:00
Javen O'Neal ae1020ac35 bug 58778: override a built-in number format, such as using £ instead of $ for currency
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722043 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 00:12:04 +00:00
Javen O'Neal a50f45e4c2 bug 58775: use short for data format index, int for cell style index
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721930 13f79535-47bb-0310-9956-ffa450edef68
2015-12-28 14:50:54 +00:00
Javen O'Neal 8f47967d55 write for loop for performance and readability
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721924 13f79535-47bb-0310-9956-ffa450edef68
2015-12-28 14:20:30 +00:00
Javen O'Neal 0849d8c34a bug 58775: fix a>b which should be a>=b; use shorts instead of ints to hold number format index
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721923 13f79535-47bb-0310-9956-ffa450edef68
2015-12-28 14:19:50 +00:00
Javen O'Neal f3c14d82a6 simplify bug 57880 test case:
remove unrelated DataFormat code (not worried about wrap-around here since Excel supports up to 250 data formats and we're using the short data type)
replace complex write-out, close, read-back, delete code with new better test apparatus

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721922 13f79535-47bb-0310-9956-ffa450edef68
2015-12-28 14:03:52 +00:00
Javen O'Neal 934effd443 add convenience methods for writing and reading back XSSFWorkbooks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721920 13f79535-47bb-0310-9956-ffa450edef68
2015-12-28 13:44:08 +00:00
Javen O'Neal 3204cedf28 bug 58775: use assertNotBuiltInFormat
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721902 13f79535-47bb-0310-9956-ffa450edef68
2015-12-28 12:13:17 +00:00
Dominik Stadler d89168fa51 Fix compiling unit-test after previous changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721471 13f79535-47bb-0310-9956-ffa450edef68
2015-12-22 22:48:31 +00:00
Dominik Stadler 0a3370347e Fix freeing resources in some tests and dev-tools so we can run unit-tests with enabled file-leak-detector
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721468 13f79535-47bb-0310-9956-ffa450edef68
2015-12-22 22:35:59 +00:00
Dominik Stadler b69c64fe21 Handle some cases better where file handles were left open by the ExtractorFactory, mostly when opening files failed, but also when using the NPOIFSFileSystem for initialization.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721064 13f79535-47bb-0310-9956-ffa450edef68
2015-12-20 20:39:01 +00:00
Nick Burch 355810fb9f Unit test for non-reproducable #58747
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1720588 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 15:05:06 +00:00
Dominik Stadler ffe36ac2fe Fix unit test for bug 58731 to actually run
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1720534 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 12:39:01 +00:00
Nick Burch 1fbfc70cca Unit test for #58731 - not reproduced, and some javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1720411 13f79535-47bb-0310-9956-ffa450edef68
2015-12-16 18:15:31 +00:00
Dominik Stadler 96cb8c18fe Bug 58084: Fix cloning Cell Styles with Borders
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717973 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 14:39:07 +00:00
Dominik Stadler 387fb86d68 Eclipse warnings, code formatting, javadoc, ...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717972 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 14:38:14 +00:00
Javen O'Neal 9c19c23291 bug 58570: add get/setActiveCell to Sheet interface, add Cell.getAddress,
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717900 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 06:36:27 +00:00
Javen O'Neal 24e5a0a458 add @Override annotation. Explicitly specify workbook type returned by SXSSFITestDataProvider.writeOutAndReadBack
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717179 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 05:22:14 +00:00
Javen O'Neal 11650f84a9 add missing ASF License headers for bug 57450
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717149 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 01:05:10 +00:00
Javen O'Neal 226fefe0c9 patch from Stefan Thurnherr: bug 57450: autosize columns in SXSSF using rows that have been flushed to disk
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717146 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 00:22:50 +00:00