Dominik Stadler
78665403c5
Exclude some generated classes from coverage measurements, now instruction coverage is at around 72%, also update JaCoCo to latest version 0.6.5
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1578146 13f79535-47bb-0310-9956-ffa450edef68
2014-03-16 19:46:46 +00:00
Dominik Stadler
24fdb260bc
Remove two files added inadvertedely
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1577909 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 17:31:43 +00:00
Dominik Stadler
01ae06cc94
Add missing test-file for bug 56169
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1577908 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 17:31:25 +00:00
Dominik Stadler
7c3f1a926b
Bug 56169: Fix NPE during export to XML with xs:all
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1577907 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 17:29:17 +00:00
Dominik Stadler
f597633624
Bug 56114: Add testcase to verify that the flag is correctly stored in the XLS
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1577901 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 17:00:22 +00:00
Nick Burch
1e03ded992
When looking for text run related records after a TextHeaderAtom, provide a cleaner way to skip ones we don't care about, and a cleaner way to find the StyleTextPropAtom. Should fix #56260
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1577803 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 08:16:43 +00:00
Nick Burch
488647cb43
Implement MasterTextPropAtom, which provides the indents for a run of text, needed for #56260
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1577802 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 08:14:36 +00:00
Nick Burch
adb98e1073
#56260 Partial fix for a slide with a TextHeaderAtom but no other atoms related to it, which is followed by another TextHeaderAtom straight away
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1577537 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 13:59:24 +00:00
Nick Burch
32c5314e25
Sample file for #56260 , provided by Atlassian in CONF-18721
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1577536 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 13:59:08 +00:00
Andreas Beeker
c5527db88a
Bug 56075 - Add Change Tracking support to XWPF
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1577010 13f79535-47bb-0310-9956-ffa450edef68
2014-03-13 00:16:56 +00:00
Dominik Stadler
d30236c873
Try one more way of excluding generated sources in the Maven pom.xml files for Sonar analysis
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1576063 13f79535-47bb-0310-9956-ffa450edef68
2014-03-10 19:35:25 +00:00
Nick Burch
f63b47b8f6
Fix inconsistent whitespace, and add a close call in the main method to avoid a resource-leak warning
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575684 13f79535-47bb-0310-9956-ffa450edef68
2014-03-09 09:53:25 +00:00
Nick Burch
2a7cebf8c0
Patch from Shaun Kalley from bug #56023 - On CellReference, implement hashCode, fix the equals(Object) logic, and fix inconsistent whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575683 13f79535-47bb-0310-9956-ffa450edef68
2014-03-09 09:49:06 +00:00
Nick Burch
434f05058e
Fix the inconsistent indents in the test file
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575600 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 20:03:40 +00:00
Nick Burch
09adb72510
Add more unit tests for XWPF Headers and Footers
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575599 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 20:01:38 +00:00
Nick Burch
d5c8510750
When adding a new XPWFRun to a paragraph, update both the Runs and IRuns lists with it
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575597 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 19:52:09 +00:00
Nick Burch
70e1b5edeb
Add some javadocs for the XWPF Header/Footer creation methods
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575594 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 19:33:07 +00:00
Dominik Stadler
7e21a14172
Adjust for JDK 8 where an empty locale is added to the array returned by DateFormat.getAvailableLocales()
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575563 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 16:46:59 +00:00
Dominik Stadler
8c5115aeb1
Fix Sonar issues about finalize() usage
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575501 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 08:41:25 +00:00
Dominik Stadler
a128bcd5e2
Enhance test to print out more information, it seems to fail on Apache Jenkins JDK8 build
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575500 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 08:41:08 +00:00
Dominik Stadler
382be9f312
Adjust TestExtractorFactory to provide more output to see why it fails on Maven builds on nemo.sonarsource.org
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575497 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 08:22:03 +00:00
Andreas Beeker
3fe86eca24
Added MD4-option and some cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1574732 13f79535-47bb-0310-9956-ffa450edef68
2014-03-06 00:53:09 +00:00
Andreas Beeker
51863e5267
disable font downloading, because of Jenkins connection (download) problems
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1574226 13f79535-47bb-0310-9956-ffa450edef68
2014-03-04 22:23:29 +00:00
Nick Burch
f6a5959788
POI is now on JDK 1.6, so remove 1.5 workaround
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1574049 13f79535-47bb-0310-9956-ffa450edef68
2014-03-04 11:57:44 +00:00
Dominik Stadler
d54e65c94e
Try to set the Sonar-Exclusion property differently to see if that makes the exclusions work
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1573741 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 20:43:09 +00:00
Dominik Stadler
95bf999782
Sonar-pom: Add some metadata, try to add Sonar exclusions for generated sources
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1572979 13f79535-47bb-0310-9956-ffa450edef68
2014-02-28 16:10:22 +00:00
Dominik Stadler
a926d50986
Try to improve Maven files for Sonar: Copy in (test)sources instead of linking to sources outside the sonar-directory which confuses Sonar, remove source-dir setting for ooxml-schema and ooxml-schema-encryption as both have generate sources and not actual ones, scratchpad is not needed for ooxml
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1572580 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 14:03:27 +00:00
Nick Burch
6d8a78a373
Report how long the CSV conversion took, helpful for a quick read performance test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1572555 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 13:32:27 +00:00
Andreas Beeker
833ae007f8
Bug 56076 - Add document protection with password support to XWPF
...
Bug 56077 - Add password hash function to HWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1570750 13f79535-47bb-0310-9956-ffa450edef68
2014-02-21 23:19:57 +00:00
Nick Burch
31493632ea
Zero length code page fix has been committed, so this file can once again be included in the overall test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1570390 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 23:37:20 +00:00
Nick Burch
7984a1ec3f
More helpful visio v5 exception, see bug #56171
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1570388 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 23:20:19 +00:00
Nick Burch
32290bd2bf
Another content types test, for #55026
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1570002 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 00:06:34 +00:00
Andreas Beeker
49c69f0eed
The junit test failed with the original test-file (CDT_Data_Retention-PPT.ppt), so another check was necessary
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1569999 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 00:03:42 +00:00
Nick Burch
d72bd78c19
Fix bug #56164 - Tidy up the OPC SAX setup code with a new common Helper
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1569991 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 23:54:46 +00:00
Andreas Beeker
8afdb7a9ce
Bug 55732 - PPT can't open, fails with "Couldn't instantiate .... StyleTextProp9Atom : java.lang.ArrayIndexOutOfBoundsException: 56"
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1569984 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 23:45:07 +00:00
Nick Burch
56d6f0342a
Complete support for OOXML content types with parameters, including parts of the patch from Sebastien Schneider from bug #55026
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1569976 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 23:34:53 +00:00
Andreas Beeker
edf1ffd89b
upgraded to junit4 (before other changes)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1569972 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 23:30:12 +00:00
Nick Burch
6e933cb242
Begin to implement some of the tests and logic for content types with parameters, based on the test file for bug #55026
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1569965 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 23:12:56 +00:00
Andreas Beeker
657bf56393
link forrest.properties from https://svn.apache.org/repos/asf/poi/site/forrest.properties
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1569947 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 22:51:08 +00:00
Dominik Stadler
e446581fc7
Downgrade the replacer plugin to 1.5.1, otherwise replacing does not find any files sometimes
...
Also svn-ignore the maven-target directories
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1569118 13f79535-47bb-0310-9956-ffa450edef68
2014-02-17 22:11:57 +00:00
Andreas Beeker
2cfc8dbf17
FindBugs fix
...
- fixed "Equals method should not assume anything about the type of its argument"
- see http://findbugs.sourceforge.net/bugDescriptions.html#BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568861 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 23:36:32 +00:00
Nick Burch
c144310a15
Patch and test from Jon Iles from bug #56138 - HPSF code page strings can be zero length
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568813 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 19:35:55 +00:00
Andreas Beeker
53c90692ee
FindBugs fix
...
- fixed "equals() method does not check for null argument"
- see http://findbugs.sourceforge.net/bugDescriptions.html#NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568812 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 19:35:16 +00:00
Andreas Beeker
8689458854
Sweeping is also needed for empty column-list ...
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568791 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 17:00:53 +00:00
Andreas Beeker
2a14920cdd
FindBugs fix
...
- fixed/checked various null pointer related entries
- see http://findbugs.sourceforge.net/bugDescriptions.html#NP_NULL_PARAM_DEREF
- ... NP_NULL_ON_SOME_PATH, NP_NULL_ON_SOME_PATH_EXCEPTION
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568789 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 16:30:24 +00:00
Andreas Beeker
929f938b3c
- Changed status/changes xdocs/xslt, to link to the bug entry
...
todo at the bottom of status was out of date anyway
- references to changes-v13.dtd results in a processing error in forest 0.5, so removed it and any references to it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568757 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 13:04:47 +00:00
Dominik Stadler
dcad3624dc
Fix unit tests broken by newly added test-file, ignore TestFontRendering as it is inherently unstable currently
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568744 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 09:11:28 +00:00
Dominik Stadler
7e63803aa9
Fix unit test which failed after new corrupted file was added.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568741 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 08:39:47 +00:00
Dominik Stadler
2414998aac
Adjust test to write the failing PNG in case expected and actual do not match
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568740 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 08:39:17 +00:00
Nick Burch
5dcd70db76
Test file from bug #56138 from Jon Iles, with a zero length codepage string
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568634 13f79535-47bb-0310-9956-ffa450edef68
2014-02-15 13:29:32 +00:00