Commit Graph

2052 Commits

Author SHA1 Message Date
Mark Murphy
94a81f7e68 SonarCube fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774557 13f79535-47bb-0310-9956-ffa450edef68
2016-12-16 06:00:35 +00:00
Mark Murphy
3ab0097cdc Findbugs fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774556 13f79535-47bb-0310-9956-ffa450edef68
2016-12-16 05:17:38 +00:00
Mark Murphy
f4d208f452 60465: Cannot specify interline spacing for a Paragraph in XWPF
Task-Url: https://bz.apache.org/bugzilla/show_bug.cgi?id=60465

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774551 13f79535-47bb-0310-9956-ffa450edef68
2016-12-16 03:21:02 +00:00
Andreas Beeker
4cc6e093f4 eclipse warnings - close resources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773910 13f79535-47bb-0310-9956-ffa450edef68
2016-12-13 00:36:03 +00:00
Andreas Beeker
cbbf3f44db SonarCube fix - make members private
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773908 13f79535-47bb-0310-9956-ffa450edef68
2016-12-13 00:33:50 +00:00
Dominik Stadler
230453d76e Adjust toString() of ExternalNameRecord
Fix some IntelliJ warnings
 Reformat TextPieceTable

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773776 13f79535-47bb-0310-9956-ffa450edef68
2016-12-12 11:41:07 +00:00
Mark Murphy
701b19cf21 58237: Unable to add image to a word document header using XWPF
Task-Url: https://bz.apache.org/bugzilla/show_bug.cgi?id=58237

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773729 13f79535-47bb-0310-9956-ffa450edef68
2016-12-12 02:43:45 +00:00
Dominik Stadler
46e4a58986 Revert "Print out amount of available memory during startup of OOXMLLite"
This reverts commit b9b9c2e7c661bb89a2063326ca0903059214bc2b.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773691 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:15:47 +00:00
Dominik Stadler
2f0fc06f0f Adjust some missing/incorrec throws and related javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773662 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:13:46 +00:00
Dominik Stadler
261912044a Print out amount of available memory during startup of OOXMLLite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773633 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 20:58:03 +00:00
Andreas Beeker
75dc015766 SonarCube fix - make members private
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772585 13f79535-47bb-0310-9956-ffa450edef68
2016-12-04 23:49:49 +00:00
Andreas Beeker
21009c9abe #60331 - Remove deprecated classes - remove constructors with PackageRelationship argument
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772424 13f79535-47bb-0310-9956-ffa450edef68
2016-12-03 00:49:08 +00:00
Andreas Beeker
656f28ba81 SonarCube fix - make members private
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772291 13f79535-47bb-0310-9956-ffa450edef68
2016-12-01 23:46:27 +00:00
Dominik Stadler
45228f9801 Move test to correct package and add some more checks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772148 13f79535-47bb-0310-9956-ffa450edef68
2016-12-01 07:12:34 +00:00
Mark Murphy
07893ec6a0 60329: Avoid NPE when styleid is null
Task-Url: https://bz.apache.org/bugzilla/show_bug.cgi?id=60329

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772138 13f79535-47bb-0310-9956-ffa450edef68
2016-12-01 02:21:56 +00:00
Andreas Beeker
d9ef0efcdd #60427 - Creating pictures in PowerPoint slides requires scratchpad-jar for adding WMF images
more cases

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771974 13f79535-47bb-0310-9956-ffa450edef68
2016-11-29 22:41:26 +00:00
Andreas Beeker
cc40df42ad forbidden apis fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771850 13f79535-47bb-0310-9956-ffa450edef68
2016-11-29 08:15:49 +00:00
Andreas Beeker
11986a0492 #60427 - Creating pictures in PowerPoint slides requires scratchpad-jar for adding WMF images
more cases

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771832 13f79535-47bb-0310-9956-ffa450edef68
2016-11-29 00:46:39 +00:00
Andreas Beeker
891e684eb7 #60427 - Creating pictures in PowerPoint slides requires scratchpad-jar for adding WMF images
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771812 13f79535-47bb-0310-9956-ffa450edef68
2016-11-28 20:51:02 +00:00
Dominik Stadler
aba5d21295 Fix newly introduced Sonar issues and allow text to be null
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771563 13f79535-47bb-0310-9956-ffa450edef68
2016-11-27 11:06:57 +00:00
Dominik Stadler
be1aa45b25 Bug 60370: Encode some special characters when setting title/text for validation text-boxes, for now all characters below 32, more can be added if necessary.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771396 13f79535-47bb-0310-9956-ffa450edef68
2016-11-25 22:07:59 +00:00
Dominik Stadler
e2b22e51f7 Bug 59200: Check for actual Excel limits on data validation title/text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771254 13f79535-47bb-0310-9956-ffa450edef68
2016-11-25 08:55:52 +00:00
Javen O'Neal
52dcd75c66 bug 60416: prefer CellReference ref over String ref
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771232 13f79535-47bb-0310-9956-ffa450edef68
2016-11-24 21:25:43 +00:00
Javen O'Neal
d2f6e5c24e bug 60416: Reduce Hyperlink memory consumption in SXSSF; patch from Dmitry Katsubo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771231 13f79535-47bb-0310-9956-ffa450edef68
2016-11-24 21:14:35 +00:00
Tim Allison
52c449c65a bug 60343, return null if index is out of bounds in StylesTable's getStyleAt(idx)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1770848 13f79535-47bb-0310-9956-ffa450edef68
2016-11-22 14:47:45 +00:00
Andreas Beeker
ea63780926 Bug 60373 - TableCell.getTextHeight() returns Null pointer Exception
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1770447 13f79535-47bb-0310-9956-ffa450edef68
2016-11-18 23:29:53 +00:00
Andreas Beeker
c0dbef286b #60331 - Remove deprecated classes (POI 3.16) - remove StylesTable.getNumberFormatAt(int)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1769431 13f79535-47bb-0310-9956-ffa450edef68
2016-11-12 21:54:22 +00:00
Andreas Beeker
a6f005de81 SonarCube fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1769366 13f79535-47bb-0310-9956-ffa450edef68
2016-11-12 00:52:10 +00:00
Andreas Beeker
fc86b15f13 - SonarCube fixes
- moved SecureTempFile classes to OOXML, because of duplicated code in test and examples packages

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1769363 13f79535-47bb-0310-9956-ffa450edef68
2016-11-11 23:22:43 +00:00
Andreas Beeker
ead2cdd696 Bug 59273 - Unable to create pptx file by potx file using Apache POI
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1769220 13f79535-47bb-0310-9956-ffa450edef68
2016-11-10 22:54:07 +00:00
Dominik Stadler
64a6fb354a Adjust imports, fix some Javadoc issues and ignore deprecation warnings in tests
Exclude some more non-tests in OOXMLLite

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768589 13f79535-47bb-0310-9956-ffa450edef68
2016-11-07 21:32:12 +00:00
Dominik Stadler
76a0c6378e Add setFormattingRanges() to interface ConditionalFormatting, closes #42
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768588 13f79535-47bb-0310-9956-ffa450edef68
2016-11-07 21:32:04 +00:00
Tim Allison
0232c71e33 POI-60341, add test document (ugh, mea culpa), turn on test.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768505 13f79535-47bb-0310-9956-ffa450edef68
2016-11-07 12:10:46 +00:00
Mark Murphy
70724609b1 60337: XWPFTableRow.isRepeatHeader throws NullPointerException, setRepeatHeader does not overwrite old value
Task-Url: https://bz.apache.org/bugzilla/show_bug.cgi?id=60337


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768153 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 06:12:24 +00:00
Tim Allison
abe0740d3a POI-60342: handle missing sdtcontentcell in an sdtcell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768054 13f79535-47bb-0310-9956-ffa450edef68
2016-11-04 15:21:51 +00:00
Tim Allison
d769a03fda POI-60341: handle missing sdtpr in an sdtbody
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768048 13f79535-47bb-0310-9956-ffa450edef68
2016-11-04 15:06:17 +00:00
Nick Burch
7c9754a08d As requested on StackOverflow, expose on CellStyle QuotePrefix/123Prefix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768012 13f79535-47bb-0310-9956-ffa450edef68
2016-11-04 11:11:09 +00:00
Nick Burch
6f5a44c139 More unit testing for XWPF list numbering complex cases, and some TODOs on improving it, inspired by users@ discussions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768005 13f79535-47bb-0310-9956-ffa450edef68
2016-11-04 10:55:31 +00:00
Andreas Beeker
e620194a20 findbugs fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767457 13f79535-47bb-0310-9956-ffa450edef68
2016-11-01 09:24:50 +00:00
Andreas Beeker
6f3bb20b2e JCE policy assumption fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767456 13f79535-47bb-0310-9956-ffa450edef68
2016-11-01 09:18:55 +00:00
Andreas Beeker
457100c358 Bug 60320 - issue opening password protected xlsx
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767399 13f79535-47bb-0310-9956-ffa450edef68
2016-11-01 01:30:48 +00:00
Tim Allison
ce826bc967 remove println
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767354 13f79535-47bb-0310-9956-ffa450edef68
2016-10-31 19:03:06 +00:00
Tim Allison
2633894b39 60293 -- Handle illegal "Odd" header/footer in XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767353 13f79535-47bb-0310-9956-ffa450edef68
2016-10-31 19:02:06 +00:00
Mark Murphy
14babbb970 57366: XWPFTable to Header / Footer
Task-Url: https://bz.apache.org/bugzilla/show_bug.cgi?id=57366

This update contains a breaking change

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767175 13f79535-47bb-0310-9956-ffa450edef68
2016-10-30 18:49:16 +00:00
Dominik Stadler
ca4a7d2f27 Bug 53611: populate dimension of XSSF Worksheet when writing the document
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767096 13f79535-47bb-0310-9956-ffa450edef68
2016-10-29 07:38:46 +00:00
Dominik Stadler
d47fff6e1c Bug 59026: Add two null-checks to make exporting XLSX to XML work
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767057 13f79535-47bb-0310-9956-ffa450edef68
2016-10-28 18:24:04 +00:00
Tim Allison
1cdf883548 60315 -- allow 'yyyy-MM-dd' as a valid date format in metadata in OPCParser
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767026 13f79535-47bb-0310-9956-ffa450edef68
2016-10-28 14:11:52 +00:00
Andreas Beeker
51b4f2a365 fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766747 13f79535-47bb-0310-9956-ffa450edef68
2016-10-26 22:37:34 +00:00
Andreas Beeker
2c086c590e Bug 60059 - Deprecate xslf.usermodel.Drawing* - was: Can't change text of DrawingParagraph
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766746 13f79535-47bb-0310-9956-ffa450edef68
2016-10-26 22:32:46 +00:00
Dominik Stadler
a350f399f5 Allow more time for a unit-test when running on slow Gump VM
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766397 13f79535-47bb-0310-9956-ffa450edef68
2016-10-24 12:07:15 +00:00