Andreas Beeker
820c8f8fd3
fix forbidden-apis-check error
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776817 13f79535-47bb-0310-9956-ffa450edef68
2016-12-31 21:37:14 +00:00
Dominik Stadler
8f1eed63cc
Fix missing license-headers
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776806 13f79535-47bb-0310-9956-ffa450edef68
2016-12-31 17:55:52 +00:00
Dominik Stadler
13e4ff4553
Cover some dev-tools with a few simple tests, close resources correctly
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776798 13f79535-47bb-0310-9956-ffa450edef68
2016-12-31 16:53:33 +00:00
Dominik Stadler
102c0d2173
Bug 60219: FormulaParser can't parse external references when sheet name is quoted
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776796 13f79535-47bb-0310-9956-ffa450edef68
2016-12-31 16:53:16 +00:00
Dominik Stadler
b2a4c75665
Fix some Findbugs reports
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776714 13f79535-47bb-0310-9956-ffa450edef68
2016-12-31 09:43:08 +00:00
Dominik Stadler
36406ad3a1
Ensure streams are closed always, reformat code somewhat
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776647 13f79535-47bb-0310-9956-ffa450edef68
2016-12-30 22:12:06 +00:00
Dominik Stadler
6f616d0a51
Bug 60369: Adjust pattern to better handle non-ASCII characters in Month-names which can appear since Java 8
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776646 13f79535-47bb-0310-9956-ffa450edef68
2016-12-30 22:11:55 +00:00
Dominik Stadler
da2b7c0969
Fix some compilation warnings
...
Update Javadoc
Reformat code somewhat
Supress IntelliJ warnings in findbugs-filters.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776645 13f79535-47bb-0310-9956-ffa450edef68
2016-12-30 22:11:48 +00:00
Dominik Stadler
4d83cc8ac2
Fix an api-violations introduced in a test-case
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776633 13f79535-47bb-0310-9956-ffa450edef68
2016-12-30 20:35:08 +00:00
Dominik Stadler
800866450b
Add test provided via bug 60536 for bug 60526, remove some warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776622 13f79535-47bb-0310-9956-ffa450edef68
2016-12-30 18:54:47 +00:00
Dominik Stadler
12e2fa39fa
Bug 60512: Add missing XSSFRelation.CUSTOM_PROPERTY
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776606 13f79535-47bb-0310-9956-ffa450edef68
2016-12-30 16:55:19 +00:00
Dominik Stadler
8def7307d9
Bug 60452: WorkdayCalculator calculateWorkdays does return wrong value for same day input
...
deprecate unused method isNonWorkday
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776588 13f79535-47bb-0310-9956-ffa450edef68
2016-12-30 15:05:14 +00:00
Dominik Stadler
b573615cd0
bug 60526: Make loggers final and make throttled log actually work
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776555 13f79535-47bb-0310-9956-ffa450edef68
2016-12-30 13:09:28 +00:00
centic
25b22afebf
Add some throttling to the log for failed SAXHelper features to not spam the log on JDK 9 with restricted reflection
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776067 13f79535-47bb-0310-9956-ffa450edef68
2016-12-26 19:51:42 +00:00
centic
a150527574
Add mising @Override and other warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776065 13f79535-47bb-0310-9956-ffa450edef68
2016-12-26 19:51:32 +00:00
kiwiwings
b4728919b9
report size of entries for POIFSViewer
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1775992 13f79535-47bb-0310-9956-ffa450edef68
2016-12-25 00:06:13 +00:00
kiwiwings
3ff9eb5f0d
Fix 0-pointer on unset document
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1775565 13f79535-47bb-0310-9956-ffa450edef68
2016-12-21 22:03:54 +00:00
centic
c44cf6ab38
Sonar issues: Mark two places where we catch Error/Throwable as "On purpose"
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1775122 13f79535-47bb-0310-9956-ffa450edef68
2016-12-19 15:25:20 +00:00
centic
9a04e2dd07
Comments, Javadoc and make close() only log instead of throw an exception to not have catch inside catch
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1775118 13f79535-47bb-0310-9956-ffa450edef68
2016-12-19 15:03:58 +00:00
kiwiwings
503a63c0d4
fix eclipse warnings - close resources
...
add getter for HSLF slideshows implementation class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774974 13f79535-47bb-0310-9956-ffa450edef68
2016-12-19 01:34:24 +00:00
kiwiwings
c200faedec
SonarQube fixes - close resources
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774969 13f79535-47bb-0310-9956-ffa450edef68
2016-12-18 22:03:31 +00:00
kiwiwings
4f94969a41
sonarqube fixes - close resources
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774845 13f79535-47bb-0310-9956-ffa450edef68
2016-12-18 03:47:08 +00:00
kiwiwings
0ff9cbb0f9
#60331 - Remove deprecated classes (POI 3.16)
...
- remove orphaned classes immediately, which are quite likely not used anymore
- deprecated the rest
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774842 13f79535-47bb-0310-9956-ffa450edef68
2016-12-18 03:26:13 +00:00
Andreas Beeker
f3674c3394
various sonarqube fixes - mainly resource closing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774705 13f79535-47bb-0310-9956-ffa450edef68
2016-12-17 02:35:30 +00:00
Tim Allison
8b5f8483f4
bug 60489 -- add a file that triggered a ClassNotFoundException on TIKA-2208/elasticsearch-22077
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774638 13f79535-47bb-0310-9956-ffa450edef68
2016-12-16 16:46:00 +00:00
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
4aaef1761d
eclipse warnings - raw list access
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773909 13f79535-47bb-0310-9956-ffa450edef68
2016-12-13 00:34:30 +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
Andreas Beeker
269dd9e0af
SonarCube fix - make members private
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773907 13f79535-47bb-0310-9956-ffa450edef68
2016-12-13 00:33:08 +00:00
Andreas Beeker
6a8332a173
eclipse warnings - raw list access
...
close resources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773906 13f79535-47bb-0310-9956-ffa450edef68
2016-12-13 00:31:23 +00:00
Andreas Beeker
128001186b
eclipse warnings - raw list access
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773905 13f79535-47bb-0310-9956-ffa450edef68
2016-12-13 00:30:24 +00:00
Andreas Beeker
fae46faf29
remove unused class
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773904 13f79535-47bb-0310-9956-ffa450edef68
2016-12-13 00:29:03 +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
52f34a4cbd
Revert "Add script to run ant locally with Java 1.6/Ant 1.8.x"
...
This reverts commit ed848f2d5f02ea0b6645bc509e03c1e0c7135d96.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773714 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:17:18 +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
17311852ce
Revert "Local test to run one of the multi-file tests on only one file"
...
This reverts commit 6582ca62b000143b96823509ad7bb8d444cabee3.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773689 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:15:37 +00:00
Dominik Stadler
d4ae4b9cc6
Revert "Add more output to BiffViewer for local debugging"
...
This reverts commit b6959b0d14b001ec374f60990671ff21bbcc24ec.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773685 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:15:20 +00:00
Dominik Stadler
5cf4143fcc
Revert "Adjust local test class run with Gradle-Build as well"
...
This reverts commit 76be95541fa6ac22bf0746d864404a84868ab1c6.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773663 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:13:51 +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
8003ad78f4
Adjust local test class run with Gradle-Build as well
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773661 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:00:00 +00:00
Dominik Stadler
b2b021bc32
Add more output to BiffViewer for local debugging
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773639 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 20:58:30 +00:00
Dominik Stadler
54778bfac6
Local test to run one of the multi-file tests on only one file
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773635 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 20:58:12 +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
Dominik Stadler
f86223074e
Add script to run ant locally with Java 1.6/Ant 1.8.x
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773610 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 20:56:28 +00:00
Dominik Stadler
2e364ee85d
Exclude new BIFF5 file in some unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773605 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 20:56:03 +00:00
Andreas Beeker
6a8cb7493c
reindent code - prepare for cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773544 13f79535-47bb-0310-9956-ffa450edef68
2016-12-10 23:35:12 +00:00
Andreas Beeker
f27507244c
SonarCube fix - make members private
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773495 13f79535-47bb-0310-9956-ffa450edef68
2016-12-10 00:40:37 +00:00
Andreas Beeker
470119db95
SonarCube fix - make members private
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773315 13f79535-47bb-0310-9956-ffa450edef68
2016-12-09 00:39:49 +00:00
Andreas Beeker
3cdf699add
SonarCube fix - make members private
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773165 13f79535-47bb-0310-9956-ffa450edef68
2016-12-07 23:45:38 +00:00
Nick Burch
30d64fda8c
Recursive delete unit test based on users@ query - working fine already
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772894 13f79535-47bb-0310-9956-ffa450edef68
2016-12-06 13:52:46 +00:00
Andreas Beeker
83ff0e5ec4
Add "*" option to font_map/fallback to provide a catch-all configuration
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772816 13f79535-47bb-0310-9956-ffa450edef68
2016-12-06 00:21:22 +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
dcd8a53c64
regression #55902 - Mixed fonts issue with Chinese characters (unable to form images from ppt)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772485 13f79535-47bb-0310-9956-ffa450edef68
2016-12-03 20:32:08 +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
48ff8e5686
sonarcube fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771978 13f79535-47bb-0310-9956-ffa450edef68
2016-11-29 23:14:43 +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
Andreas Beeker
19842d1e58
javadocs fix
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771672 13f79535-47bb-0310-9956-ffa450edef68
2016-11-28 01:18:48 +00:00
Andreas Beeker
6ea58e94bc
#60331 - Remove deprecated classes - deprecate Mutable* property classes
...
sonarcube fix - make protected attributes private
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771640 13f79535-47bb-0310-9956-ffa450edef68
2016-11-27 20:19:18 +00:00
Andreas Beeker
8968b6d6b6
SonarCube fixes - visibility of member attributes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771583 13f79535-47bb-0310-9956-ffa450edef68
2016-11-27 13:12:00 +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
055630de2d
Revert deprecating a class that we still use ourselves and update error text slightly
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771395 13f79535-47bb-0310-9956-ffa450edef68
2016-11-25 22:07:52 +00:00
Dominik Stadler
ed975b0efa
Include actual entries when we do not find a Document-entry
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771394 13f79535-47bb-0310-9956-ffa450edef68
2016-11-25 22:07:45 +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
Dominik Stadler
90ce8cb096
Remove unnecessary cast and reformat some code a bit
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771247 13f79535-47bb-0310-9956-ffa450edef68
2016-11-25 05:34:58 +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
Dominik Stadler
5ec38746a1
Fix missing directory 'maven' in source release packages, adjust the related test-Ant-script to call 'assemble' instead of 'jar' to catch something like this in the future.
...
Also exclude some more intermediate files/directories from the source package.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1769684 13f79535-47bb-0310-9956-ffa450edef68
2016-11-14 19:50:39 +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
44ca7f04ba
SonarCube fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1769399 13f79535-47bb-0310-9956-ffa450edef68
2016-11-12 18:35:39 +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
3820215393
Bug 60345 - Handle corrupt PICT streams
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1769226 13f79535-47bb-0310-9956-ffa450edef68
2016-11-10 23:04:25 +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
Javen O'Neal
7b8bc917ac
bug 60321: add examples with encrypted temp data. Patch from PJ Fanning.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768744 13f79535-47bb-0310-9956-ffa450edef68
2016-11-08 17:32:38 +00:00
Dominik Stadler
57fa4c1869
Pull up one more test into BaseTestConditionalFormatting
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768590 13f79535-47bb-0310-9956-ffa450edef68
2016-11-07 21:32:18 +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
Dominik Stadler
8d083d8c64
Example AligningCells: Use int instead of short for column-index, closes Github #35
...
Also use more of the base classes where possible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768584 13f79535-47bb-0310-9956-ffa450edef68
2016-11-07 20:50:10 +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
e65baf7fc8
Move XWPF examples to new package to clean up code coverage
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768437 13f79535-47bb-0310-9956-ffa450edef68
2016-11-07 05:35:18 +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
Javen O'Neal
a3f001b7ae
bug 60331: remove deprecated FormulaShifter.createForRowShift(). Require SpreadsheetVersion.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767728 13f79535-47bb-0310-9956-ffa450edef68
2016-11-02 16:37:12 +00:00
Javen O'Neal
cbc3f8599d
bug 60331: remove deprecated EntryUtils.copyNodes( DirectoryEntry, DirectoryEntry, List<String> excepts). Use EntryUtils.copyNodes( FilteringDirectoryEntry, FilteringDirectoryEntry ) instead.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767716 13f79535-47bb-0310-9956-ffa450edef68
2016-11-02 16:25:18 +00:00
Javen O'Neal
6966eebb38
show example of equivalent EntryUtils.copyNodes using FilteringDirectoryNode instead of DirectoryNode with excepts list
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767715 13f79535-47bb-0310-9956-ffa450edef68
2016-11-02 16:22:04 +00:00
Andreas Beeker
9d3094f11f
Handle null returns of coerceValueToBoolean
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767474 13f79535-47bb-0310-9956-ffa450edef68
2016-11-01 10:52:20 +00:00
Andreas Beeker
af2d473d00
findbugs fix
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767473 13f79535-47bb-0310-9956-ffa450edef68
2016-11-01 10:29:02 +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
Tim Allison
ca8d888f83
60305 -- gracefully handle truncated images while reading pictstream
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767023 13f79535-47bb-0310-9956-ffa450edef68
2016-10-28 13:39:40 +00:00
Tim Allison
591785e2d2
whitespace clean up before fix for BUG-60305
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767021 13f79535-47bb-0310-9956-ffa450edef68
2016-10-28 13:26:49 +00:00
Tim Allison
1c2f768b8c
whitespace clean up before fix for BUG-60305
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767020 13f79535-47bb-0310-9956-ffa450edef68
2016-10-28 13:25:14 +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
Nick Burch
9ee2e06f4c
Fix close warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766503 13f79535-47bb-0310-9956-ffa450edef68
2016-10-25 10:24:48 +00:00
Nick Burch
6bbdb9c8a5
Whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766501 13f79535-47bb-0310-9956-ffa450edef68
2016-10-25 10:23:15 +00:00
Nick Burch
3e01fe6f68
v5 text extraction
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766497 13f79535-47bb-0310-9956-ffa450edef68
2016-10-25 10:21:16 +00:00
Nick Burch
cc4e525e27
Inconsistent whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766493 13f79535-47bb-0310-9956-ffa450edef68
2016-10-25 09:35:28 +00:00
Nick Burch
6816899106
Refactor child pointer logic to the factory
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766492 13f79535-47bb-0310-9956-ffa450edef68
2016-10-25 09:33:37 +00:00
Nick Burch
3f1965ea27
Work in progress - v5 pointer containers
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766487 13f79535-47bb-0310-9956-ffa450edef68
2016-10-25 09:15:02 +00:00
Nick Burch
747f5e0f40
Partial Visio v5 pointer support
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766480 13f79535-47bb-0310-9956-ffa450edef68
2016-10-25 07:37:00 +00:00
Mark Murphy
ae589d08d3
Adds an example for building headers and footers in XWPF
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766459 13f79535-47bb-0310-9956-ffa450edef68
2016-10-24 23:56:21 +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
Andreas Beeker
423a49cbab
Bug 60294 - Add "unknown" ShapeType for 4095
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766227 13f79535-47bb-0310-9956-ffa450edef68
2016-10-22 19:34:47 +00:00
Dominik Stadler
3f91e44380
Bug 60289: Fix handling of unicode escapes with lowercase hex-chars
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766065 13f79535-47bb-0310-9956-ffa450edef68
2016-10-21 16:31:51 +00:00
Dominik Stadler
04184527b4
Correctly handle all types of old files, not just word
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766064 13f79535-47bb-0310-9956-ffa450edef68
2016-10-21 16:31:43 +00:00
Dominik Stadler
0610a20d87
Fix some IDE warnings, JavaDoc, ...
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766063 13f79535-47bb-0310-9956-ffa450edef68
2016-10-21 16:31:37 +00:00
Javen O'Neal
359820ba80
bug 60288: remove defensive copy for internal relationships. Patch from Tim Helmstedt. This closes #38 .
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765935 13f79535-47bb-0310-9956-ffa450edef68
2016-10-21 07:29:40 +00:00
Andreas Beeker
f648c23daa
fix integration-tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765900 13f79535-47bb-0310-9956-ffa450edef68
2016-10-20 22:31:50 +00:00
Dominik Stadler
d0d5334386
Exclude new BIFF5 file in some unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765876 13f79535-47bb-0310-9956-ffa450edef68
2016-10-20 20:31:57 +00:00
Dominik Stadler
f2c9dbec3f
Add some missing close() calls
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765875 13f79535-47bb-0310-9956-ffa450edef68
2016-10-20 20:31:50 +00:00
Tim Allison
e9b4a17d77
BUG-60286 avoid NPE XWPFRun. Didn't add unit test or document...didn't seem to be worth it.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765863 13f79535-47bb-0310-9956-ffa450edef68
2016-10-20 18:58:47 +00:00
Tim Allison
9c455cb5c9
BUG-60285 avoid NPE if missing relationship id
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765861 13f79535-47bb-0310-9956-ffa450edef68
2016-10-20 18:45:03 +00:00
Tim Allison
9fd46e3174
BUG-60284 -- need to update dev tests <face_palm/>
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765859 13f79535-47bb-0310-9956-ffa450edef68
2016-10-20 18:39:47 +00:00
Tim Allison
d233f7c348
BUG-60284 -- throw EncryptedDocumentException for password protected OldExcel files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765829 13f79535-47bb-0310-9956-ffa450edef68
2016-10-20 15:13:16 +00:00
Javen O'Neal
0821c1e4b2
whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765741 13f79535-47bb-0310-9956-ffa450edef68
2016-10-20 02:24:50 +00:00
Javen O'Neal
ab6dd76f6a
upgrade to junit4
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765740 13f79535-47bb-0310-9956-ffa450edef68
2016-10-20 02:24:17 +00:00
Javen O'Neal
a1ec4334cf
Eclipse automated refactor/cleanup: add final modifier to private fields to unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765739 13f79535-47bb-0310-9956-ffa450edef68
2016-10-20 02:21:14 +00:00
Javen O'Neal
107d44c48e
close resource
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765737 13f79535-47bb-0310-9956-ffa450edef68
2016-10-20 02:05:42 +00:00
Javen O'Neal
96d35e0b8e
Eclipse automated refactor/cleanup: convert for loops to for-each loops
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765736 13f79535-47bb-0310-9956-ffa450edef68
2016-10-20 01:54:56 +00:00
Andreas Beeker
54122c2233
remove *_dump directory
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765734 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 23:43:42 +00:00
Andreas Beeker
3ac60f4bcc
Bug 55714 - Background image ignored on slide copy
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765733 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 23:25:51 +00:00
Javen O'Neal
eeff9989ee
StringUtil.count was renamed to StringUtil.countMatches
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765732 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 23:06:35 +00:00
Javen O'Neal
2554a46eaf
Eclipse automated refactor/cleanup: convert for loops to for-each loops
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765731 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 23:04:39 +00:00
Javen O'Neal
5d3d50b9d1
add StringUtil.count, inspired by Apache Commons Lang StringUtils#countMatches and Python's str.count(substr)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765730 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 23:04:16 +00:00
Javen O'Neal
4b01accdb3
Eclipse automated refactor/cleanup: convert for loops to for-each loops
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765728 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 22:28:07 +00:00
Javen O'Neal
c5dddf7fac
Eclipse automated refactor/cleanup: add missing @Override and @Deprecated annotations
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765726 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 21:52:31 +00:00
Tim Allison
5958cb4840
BUG-59302 --add minimal support for VBAMacro extraction to HSLF; credit to Andreas Beeker for this patch. Problems are mine.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765696 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 18:44:46 +00:00
Javen O'Neal
c0a5f568da
close pkg
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765561 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 09:04:01 +00:00
Javen O'Neal
425e04b4a4
add @Override decorators to SheetIterator, move code outside of for-loop
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765556 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 08:38:19 +00:00
Javen O'Neal
9cad5aff09
reenable unit test for bug 58648 that passes now
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765548 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 08:03:57 +00:00
Javen O'Neal
3ac3f37cbe
bug 60255: use actual number of package parts rather than hard-coding an upper-bound
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765546 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 07:47:07 +00:00
Javen O'Neal
a73df78070
remove @deprecated annotation from Enum-returning getters. These will be deprecated after the int-returning getters are removed.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765545 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 07:43:18 +00:00
Javen O'Neal
e1734cd542
disabled unit tests are now passing for bug 48703
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765544 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 07:37:47 +00:00
Dominik Stadler
ec7607e398
Fix some IDE warnings/javadoc/...
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765538 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 06:52:44 +00:00
Javen O'Neal
eada340cbd
make code more similar between default case and indexed case
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765536 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 06:44:09 +00:00
Javen O'Neal
09c13eeefa
on Windows, a directory cannot contain a file and a directory with the same name
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765531 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 05:18:48 +00:00
Javen O'Neal
55252a9fe9
findbugs: Switch statement found in org.apache.poi.sl.draw.DrawShape.applyTransform(Graphics2D) where default case is missing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765530 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 05:07:30 +00:00
Javen O'Neal
669e32e551
add data type to UTF_16LE
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765529 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 05:06:49 +00:00
Javen O'Neal
fec5613aff
remove java.nio.charset.StandardCharsets which is not available until Java 7
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765528 13f79535-47bb-0310-9956-ffa450edef68
2016-10-19 05:00:07 +00:00
Tim Allison
17d4d76f4f
BUG 60273 -- Use codepageutil to get correct charset in VBAMacroReader
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765490 13f79535-47bb-0310-9956-ffa450edef68
2016-10-18 18:24:39 +00:00
Tim Allison
ef7bbb8fe4
BUG 59858 -- avoid npe when there's a collision of record names...doh. Fix unit test.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765482 13f79535-47bb-0310-9956-ffa450edef68
2016-10-18 16:54:12 +00:00
Tim Allison
92eb3bbade
BUG 59858 -- avoid npe when there's a collision of record names
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765479 13f79535-47bb-0310-9956-ffa450edef68
2016-10-18 16:43:20 +00:00
Tim Allison
c878e39b55
BUG 59830 -- incorrect reading of unicode stream name
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765468 13f79535-47bb-0310-9956-ffa450edef68
2016-10-18 15:47:38 +00:00
Tim Allison
db79501e9f
BUG 60158 -- AIOOBE in VBAMacroReader
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765433 13f79535-47bb-0310-9956-ffa450edef68
2016-10-18 12:55:34 +00:00
Andreas Beeker
bf95861693
Bug 53191 - Problems with line style when converting ppt to png
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765196 13f79535-47bb-0310-9956-ffa450edef68
2016-10-16 22:48:25 +00:00
Dominik Stadler
e3633daac5
Bug 60259: Add missing dispose() call
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765100 13f79535-47bb-0310-9956-ffa450edef68
2016-10-15 19:07:04 +00:00
Dominik Stadler
90ef824079
Close temp-file in test to not leak file-handles and fail deleting the file on Windows
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765019 13f79535-47bb-0310-9956-ffa450edef68
2016-10-15 06:54:26 +00:00
Dominik Stadler
37116e84e5
Bug 60029: apply suggested fix and fix some IntelliJ warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765018 13f79535-47bb-0310-9956-ffa450edef68
2016-10-15 06:54:20 +00:00
Tim Allison
7f9f8e9afa
add length sanity check for length of embedded OLE10Native (BUG 60256)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764927 13f79535-47bb-0310-9956-ffa450edef68
2016-10-14 14:57:29 +00:00
Tim Allison
442815fcc5
add ignored test and triggering document for BUG 60256
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764890 13f79535-47bb-0310-9956-ffa450edef68
2016-10-14 13:22:23 +00:00
Nick Burch
b79defb983
Exclude broken hand-crafted test file
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764887 13f79535-47bb-0310-9956-ffa450edef68
2016-10-14 13:03:53 +00:00
Nick Burch
bff698c938
#60255 When creating a XSSF drawing, find the next available document part, even if another type has pinched the next number
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764863 13f79535-47bb-0310-9956-ffa450edef68
2016-10-14 10:44:03 +00:00
Javen O'Neal
1e5dc11721
bug 56781,60246: fix named range validation to match valid name rules per Excel docs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764854 13f79535-47bb-0310-9956-ffa450edef68
2016-10-14 10:11:23 +00:00
Javen O'Neal
999c6499ec
bug 60253: add helper functions to make the constructor formula1-overloading code simpler
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764831 13f79535-47bb-0310-9956-ffa450edef68
2016-10-14 08:09:39 +00:00
Javen O'Neal
ee6b1e741d
bug 60253: remove repeated check for ValidationType.ANY
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764823 13f79535-47bb-0310-9956-ffa450edef68
2016-10-14 07:07:15 +00:00
Javen O'Neal
489f632288
bug 60253: revert XSSFDataValidationConstraint#prettyPrint QUOTE change in r1749129
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764822 13f79535-47bb-0310-9956-ffa450edef68
2016-10-14 07:04:27 +00:00
Javen O'Neal
cdd3a4f0df
make cached fields transient
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764809 13f79535-47bb-0310-9956-ffa450edef68
2016-10-14 05:13:47 +00:00
Mark Murphy
f25343e18f
Add Apache license to example file
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764807 13f79535-47bb-0310-9956-ffa450edef68
2016-10-14 02:42:50 +00:00
Mark Murphy
37f9122633
53009: Problem creating header and footer
...
Task-Url: https://bz.apache.org/bugzilla/show_bug.cgi?id=53009
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764563 13f79535-47bb-0310-9956-ffa450edef68
2016-10-13 01:13:45 +00:00
Andreas Beeker
83bd292fff
Bug 60230 - Roundtrip test that encrypts XSSFWorkbook and then decrypts it fails with latest code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764008 13f79535-47bb-0310-9956-ffa450edef68
2016-10-09 20:34:35 +00:00
Javen O'Neal
95e8c4b4a2
whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763999 13f79535-47bb-0310-9956-ffa450edef68
2016-10-09 19:09:26 +00:00
Javen O'Neal
d5c20ccb0d
bug 60230: add disabled unit test from PJ Fanning for a roundtrip write/read of an encrypted XSSFWorkbook
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763998 13f79535-47bb-0310-9956-ffa450edef68
2016-10-09 19:03:49 +00:00
Javen O'Neal
c0b2d60d28
bug 60153: java.nio.charset.StandardCharsets is not available until Java 7. Use Charset.forName for Java 6 compatibility
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763997 13f79535-47bb-0310-9956-ffa450edef68
2016-10-09 18:06:46 +00:00
Javen O'Neal
02b3019f6c
bug 60153: patch from PJ Fanning to demonstrate that SXSSFWorkbook SheetDataWriter can write encrypted temporary files to disk and the workbook can be AES encrypted when written to disk for a fully secure disk environment
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763969 13f79535-47bb-0310-9956-ffa450edef68
2016-10-09 12:58:46 +00:00
Javen O'Neal
db53120ab3
fix findbugs warning BC_VACUOUS_INSTANCEOF from bug 55075
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763965 13f79535-47bb-0310-9956-ffa450edef68
2016-10-09 12:15:39 +00:00
Javen O'Neal
370aa27bf2
bug 60228: getCellTypeEnum should not be deprecated until after getCellType returns a CellType enum
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763960 13f79535-47bb-0310-9956-ffa450edef68
2016-10-09 10:59:34 +00:00
Javen O'Neal
63da9f8d19
bug 60153: findbugs OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE close opened streams if an exception is raised while decorating the stream
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763959 13f79535-47bb-0310-9956-ffa450edef68
2016-10-09 10:51:13 +00:00
Javen O'Neal
45d18d5c45
bug 55075: add missing import
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763955 13f79535-47bb-0310-9956-ffa450edef68
2016-10-09 10:26:49 +00:00
Javen O'Neal
6426f4d19e
bug 55075: remove wildcard import; previous commit contributed by Frank Ploessel
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763951 13f79535-47bb-0310-9956-ffa450edef68
2016-10-09 10:13:06 +00:00
Javen O'Neal
61f00a509f
bug 55075,51233: create drawings with correct height when rows are custom height
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763950 13f79535-47bb-0310-9956-ffa450edef68
2016-10-09 10:02:36 +00:00
Javen O'Neal
e0fd36dfb4
bug 60021: add note that EncryptionInfo may require poi-ooxml.jar to run EncryptionModes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763944 13f79535-47bb-0310-9956-ffa450edef68
2016-10-09 05:40:38 +00:00
Javen O'Neal
3e4da0cd75
bug 60153: encrypt SXSSF temporary files; patch from PJ Fanning
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763943 13f79535-47bb-0310-9956-ffa450edef68
2016-10-09 04:43:14 +00:00
Javen O'Neal
dd1ed5b840
bug 60197: Workbook#setSheetOrder should update named range sheet indices
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763939 13f79535-47bb-0310-9956-ffa450edef68
2016-10-09 03:02:13 +00:00
Javen O'Neal
13a08a408b
bug 60219: add disabled unit test for parsing formulas containing external workbook references with a quoted sheet name
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763937 13f79535-47bb-0310-9956-ffa450edef68
2016-10-08 23:41:08 +00:00
Andreas Beeker
1d38f5c329
Bug 60003 - Regression: HSLF Powerpoint text extractor from footer of master slide
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763927 13f79535-47bb-0310-9956-ffa450edef68
2016-10-08 18:08:25 +00:00
Andreas Beeker
cb03495d36
Bug 60226 - ClassLoader workaround for OSGI when processing OOXML files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763922 13f79535-47bb-0310-9956-ffa450edef68
2016-10-08 17:07:15 +00:00