Commit Graph

7509 Commits

Author SHA1 Message Date
Andreas Beeker
61321b4b37 #54570 - InvalidFormatException because of Absolute URI forbidden
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744137 13f79535-47bb-0310-9956-ffa450edef68
2016-05-16 21:04:00 +00:00
Andreas Beeker
33241e821f add asl
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744021 13f79535-47bb-0310-9956-ffa450edef68
2016-05-16 10:54:02 +00:00
Andreas Beeker
73108582a0 deprecation fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744008 13f79535-47bb-0310-9956-ffa450edef68
2016-05-16 10:09:52 +00:00
Andreas Beeker
1f862981e2 Close resources in Common SL rendering classes and minimize memory consumption by using the image anchor dimensions instead of the WMF-included dimensions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744007 13f79535-47bb-0310-9956-ffa450edef68
2016-05-16 10:09:22 +00:00
Andreas Beeker
306edb91e5 sonar fix - reduce complexity by using constants
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744006 13f79535-47bb-0310-9956-ffa450edef68
2016-05-16 10:04:46 +00:00
Andreas Beeker
fa00834766 Reduce calls to utf-related methods - the integration test took ages because of poc-shared-strings.xlsx
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744005 13f79535-47bb-0310-9956-ffa450edef68
2016-05-16 10:02:13 +00:00
Andreas Beeker
20fe8a5e0f Reduce calls to utf-related methods - the integration test took ages because of poc-shared-strings.xlsx
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744004 13f79535-47bb-0310-9956-ffa450edef68
2016-05-16 10:01:36 +00:00
Andreas Beeker
2e5f0132c5 Sonar fixes - array is stored directly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744003 13f79535-47bb-0310-9956-ffa450edef68
2016-05-16 09:57:19 +00:00
Andreas Beeker
84be4acea9 Dispose XmlCursor
Replacing a method argument (XmlCursor) with a local instance and then updating it, doesn't make sense

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744002 13f79535-47bb-0310-9956-ffa450edef68
2016-05-16 09:54:01 +00:00
Andreas Beeker
12425ac107 added commons-logging to integration test to make profiling easier - just match the timestamps of the log with the timestamps of the profiling monitor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744001 13f79535-47bb-0310-9956-ffa450edef68
2016-05-16 09:49:17 +00:00
Andreas Beeker
dde2a25283 #59170 - Remove deprecated classes (POI 3.15) - use FormulaError instead of ErrorConstants
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744000 13f79535-47bb-0310-9956-ffa450edef68
2016-05-16 09:38:42 +00:00
Andreas Beeker
401a9fb477 #58144 - Behaviour for headers and footers of slides is inconsistent between slideshows created in 2003 and 2007
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1743769 13f79535-47bb-0310-9956-ffa450edef68
2016-05-13 23:50:39 +00:00
Javen O'Neal
4a3acf4de0 add @since to javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742882 13f79535-47bb-0310-9956-ffa450edef68
2016-05-09 05:47:49 +00:00
Javen O'Neal
730641576a bug 59443: exit early on setAddress if address is the same
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742881 13f79535-47bb-0310-9956-ffa450edef68
2016-05-09 05:46:14 +00:00
Javen O'Neal
191726ee7b bug 59443: use Comment.setAddress when changing both row and column of cell comment address
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742880 13f79535-47bb-0310-9956-ffa450edef68
2016-05-09 05:25:29 +00:00
Javen O'Neal
70459401a3 bug 59443: add get/setAddress methods on cell comment class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742879 13f79535-47bb-0310-9956-ffa450edef68
2016-05-09 05:09:41 +00:00
Javen O'Neal
fe04abd31d fix BasteTestCellComment#attemptToSave2CommentsWithSameCoordinates to work with different behaviors of HSSFWorkbook and XSSFWorkbook
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742871 13f79535-47bb-0310-9956-ffa450edef68
2016-05-09 04:29:17 +00:00
Javen O'Neal
e9bfa9da87 whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742869 13f79535-47bb-0310-9956-ffa450edef68
2016-05-09 03:53:55 +00:00
Javen O'Neal
a92163e9b6 add disabled unit test for bug 59393 from stone
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742868 13f79535-47bb-0310-9956-ffa450edef68
2016-05-09 03:49:16 +00:00
Javen O'Neal
88d0eee64b move TestHSSFComment#attemptToSave2CommentsWithSameCoordinates down to BaseTestCellComment
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742866 13f79535-47bb-0310-9956-ffa450edef68
2016-05-09 03:35:45 +00:00
Javen O'Neal
94e4eb5276 merge TestComment into TestHSSFComment
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742865 13f79535-47bb-0310-9956-ffa450edef68
2016-05-09 03:27:32 +00:00
Javen O'Neal
25552a1453 add test case from Anders Åberg for bug 59442
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742862 13f79535-47bb-0310-9956-ffa450edef68
2016-05-09 01:27:31 +00:00
Javen O'Neal
3920d0660c Test CellUtil with XSSFWorkbook and SXSSFWorkbook instances
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742860 13f79535-47bb-0310-9956-ffa450edef68
2016-05-09 01:12:25 +00:00
Javen O'Neal
9fba427794 convert TestCellUtil to BaseTestCellUtil so that it can be tested with different workbook instances
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742859 13f79535-47bb-0310-9956-ffa450edef68
2016-05-09 01:09:36 +00:00
Andreas Beeker
f850d93b68 #59434 - Cannot add a picture on a slide that already have an image with an hyperlink on it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742816 13f79535-47bb-0310-9956-ffa450edef68
2016-05-08 13:28:11 +00:00
Dominik Stadler
61f84af565 Try to print out more information if the timestamp-operation fails
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742425 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 12:22:44 +00:00
Dominik Stadler
d158ef23bd Close file-handles in tests as well to avoid noise when running file-leak-detection
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742424 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 12:22:37 +00:00
Dominik Stadler
8908412e3a Some general code-fixes found while trying out Java 9
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742423 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 12:22:31 +00:00
Dominik Stadler
56c5bd05e1 Try to catch more network-unavailable cases in TestSignatureInfo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742422 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 12:22:23 +00:00
Dominik Stadler
26de463419 Refactor SSPerformanceTest into a few methods to make it easier to use a profiler
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742420 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 12:22:16 +00:00
Andreas Beeker
f688ed96c6 #59327 - Setting text direction on a table cell has no effect
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1742338 13f79535-47bb-0310-9956-ffa450edef68
2016-05-04 22:09:10 +00:00
Andreas Beeker
ac29f3105a remove dublin core schemas as we don't use the schemas which reference them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1741699 13f79535-47bb-0310-9956-ffa450edef68
2016-04-29 20:55:52 +00:00
Andreas Beeker
a5e58beed1 comment out https check for jdk1.6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1741352 13f79535-47bb-0310-9956-ffa450edef68
2016-04-27 22:17:17 +00:00
Javen O'Neal
808254af89 bug 59383: getFormat should cache data formatter (fix from Nick C), accidentally deleted in bug 58532 r1710407.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1741114 13f79535-47bb-0310-9956-ffa450edef68
2016-04-26 22:48:02 +00:00
Javen O'Neal
d3e9e461ad use https URL
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739806 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 18:22:06 +00:00
Javen O'Neal
20b11d54b1 remove unused import
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739689 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 04:47:06 +00:00
Javen O'Neal
480ec67d81 add unit test for SXSSFSheet#changeRowNum
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739688 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 04:46:05 +00:00
Javen O'Neal
c4df0320fb add description to dist-nexus target in build.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739680 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:28:11 +00:00
Javen O'Neal
6b682bcccc add test-ss target to test Common SS, HSSF, XSSF, and SXSSF; add descriptions to targets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739679 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:23:26 +00:00
Javen O'Neal
838a649a96 add test-hssf target to test just HSSF classes, skipping hssf.dev. Duration after running ant clean (includes 0m22s of prerequisites): test-hssf: 1m3s, test-main: 2m8s.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739674 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:07:37 +00:00
Javen O'Neal
63d34f2080 add missing groups to javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739669 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 00:28:13 +00:00
Javen O'Neal
41b4177b45 add test-ooxml-ss target to test just (S)XSSF classes. Duration after running ant clean: test-ooxml-ss 1m55s, test-ooxml 2m26s, test 5m55s
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739668 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 00:16:28 +00:00
Javen O'Neal
c03fd6374b whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739662 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 22:01:48 +00:00
Javen O'Neal
1e07b01af3 whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739661 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 21:51:16 +00:00
Javen O'Neal
ba64b65412 add unit test for StringUtil#join
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739660 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 21:28:49 +00:00
Javen O'Neal
556f1e78a1 restore r1739550 and r1739552 (by reverting r1739580). Exclude BaseTestXWorkbook, BaseTestXSheet, BaseTestXRow, and BaseTestXCell from the OOXML-Lite target
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739644 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 20:17:04 +00:00
Javen O'Neal
dca380f057 reformat exclude classes regular expression for OOXMLLite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739643 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 20:02:17 +00:00
Javen O'Neal
ae5b894886 upgrade TestPaletteRecord to junit4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739587 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 11:40:18 +00:00
Javen O'Neal
e66fc6b289 bug 58896: write autoSizeColumn timing to POILogger instead of standard output
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739584 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 11:36:50 +00:00
Javen O'Neal
e678eeb582 revert r1739548 and r1739550. I could not figure out how to add BaseTestXWorkbook|Sheet|Row.java without causing junit to complain about 'Test class should have exactly one public constructor'
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739580 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 11:25:35 +00:00