summaryrefslogtreecommitdiffstats
path: root/src/scratchpad
Commit message (Collapse)AuthorAgeFilesLines
* cleaned up module name, use classifier (tests) for exporting test classes ↵Cédric Walter2014-04-081-0/+0
| | | | | | and resources to any module, remove empty directories git-svn-id: https://svn.apache.org/repos/asf/poi/branches/maven@1585837 13f79535-47bb-0310-9956-ffa450edef68
* moved poi scratchpad test to module poi-scratchpadCédric Walter2014-04-02181-25536/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/maven@1583971 13f79535-47bb-0310-9956-ffa450edef68
* moved scratchpad code to moduleCédric Walter2014-04-01528-123305/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/branches/maven@1583654 13f79535-47bb-0310-9956-ffa450edef68
* performance issue: removed instantiation of new String object by copying an ↵Cédric Walter2014-03-312-2/+2
| | | | | | existing string. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1583366 13f79535-47bb-0310-9956-ffa450edef68
* performance issue logging calls are expensive because of the objects created ↵Cédric Walter2014-03-316-29/+74
| | | | | | when assembling the log messages. Using the check() method of the logging sub-system can prevent object creation git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1583357 13f79535-47bb-0310-9956-ffa450edef68
* Avoid an IndexOutOfBoundsException if there are no property nodes when ↵Nick Burch2014-03-181-2/+3
| | | | | | searching for the start index, return -1 instead git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1578929 13f79535-47bb-0310-9956-ffa450edef68
* When looking for text run related records after a TextHeaderAtom, provide a ↵Nick Burch2014-03-152-28/+40
| | | | | | 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
* Implement MasterTextPropAtom, which provides the indents for a run of text, ↵Nick Burch2014-03-154-8/+226
| | | | | | needed for #56260 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1577802 13f79535-47bb-0310-9956-ffa450edef68
* #56260 Partial fix for a slide with a TextHeaderAtom but no other atoms ↵Nick Burch2014-03-143-7/+89
| | | | | | 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
* More helpful visio v5 exception, see bug #56171Nick Burch2014-02-202-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1570388 13f79535-47bb-0310-9956-ffa450edef68
* The junit test failed with the original test-file ↵Andreas Beeker2014-02-201-3/+3
| | | | | | (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
* Bug 55732 - PPT can't open, fails with "Couldn't instantiate .... ↵Andreas Beeker2014-02-192-29/+54
| | | | | | StyleTextProp9Atom : java.lang.ArrayIndexOutOfBoundsException: 56" git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1569984 13f79535-47bb-0310-9956-ffa450edef68
* upgraded to junit4 (before other changes)Andreas Beeker2014-02-191-27/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1569972 13f79535-47bb-0310-9956-ffa450edef68
* FindBugs fixAndreas Beeker2014-02-163-6/+3
| | | | | | | - 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
* FindBugs fixAndreas Beeker2014-02-1613-91/+60
| | | | | | | - 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
* FindBugs fixAndreas Beeker2014-02-163-3/+5
| | | | | | | | | - 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
* Fix unit tests broken by newly added test-file, ignore TestFontRendering as ↵Dominik Stadler2014-02-161-0/+2
| | | | | | it is inherently unstable currently git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568744 13f79535-47bb-0310-9956-ffa450edef68
* Adjust test to write the failing PNG in case expected and actual do not matchDominik Stadler2014-02-161-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568740 13f79535-47bb-0310-9956-ffa450edef68
* Provide more output on test that failed for me locallyDominik Stadler2014-02-151-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568558 13f79535-47bb-0310-9956-ffa450edef68
* FindBugs fixAndreas Beeker2014-02-143-6/+7
| | | | | | | | - fixed "Should be a static inner class" - see http://findbugs.sourceforge.net/bugDescriptions.html#SIC_INNER_SHOULD_BE_STATIC git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568178 13f79535-47bb-0310-9956-ffa450edef68
* FindBugs fixAndreas Beeker2014-02-1313-51/+88
| | | | | | | | - fixed "Field isn't final but should be" - see http://findbugs.sourceforge.net/bugDescriptions.html#MS_SHOULD_BE_FINAL git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568145 13f79535-47bb-0310-9956-ffa450edef68
* Bug 55902 - Mixed fonts issue with Chinese characters (unable to form images ↵Andreas Beeker2014-02-114-46/+223
| | | | | | from ppt) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1567455 13f79535-47bb-0310-9956-ffa450edef68
* FindBugs fixAndreas Beeker2014-02-0915-5/+108
| | | | | | | | - fixed "Class defines equals() and uses Object.hashCode()" - see http://findbugs.sourceforge.net/bugDescriptions.html#HE_EQUALS_USE_HASHCODE - implemented UnicodeString.ExtRst.hashCode() + junit-test git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1566427 13f79535-47bb-0310-9956-ffa450edef68
* Fix up whitespace / indents to be consistentNick Burch2014-02-012-409/+406
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563491 13f79535-47bb-0310-9956-ffa450edef68
* Fix javadoc formattingNick Burch2014-02-011-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563489 13f79535-47bb-0310-9956-ffa450edef68
* Expose the StyleIndex of CharacterRuns, and expand the range style tests to ↵Nick Burch2014-02-013-10/+59
| | | | | | cover this + related git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563486 13f79535-47bb-0310-9956-ffa450edef68
* Added license headersAndreas Beeker2014-01-181-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1559297 13f79535-47bb-0310-9956-ffa450edef68
* javadoc fixAndreas Beeker2014-01-114-16/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1557290 13f79535-47bb-0310-9956-ffa450edef68
* remove some unused imports and some useless TODOs, slightly moreDominik Stadler2013-12-311-0/+2
| | | | | | | coverage, @Overrides, more info on failing test, fix some Eclipse warnings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1554535 13f79535-47bb-0310-9956-ffa450edef68
* Bug 45776 - Fix corrupt file problem using TextRun.setTextAndreas Beeker2013-12-292-12/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1554077 13f79535-47bb-0310-9956-ffa450edef68
* Bug 41246 - AIOOBE with missing notes entriesAndreas Beeker2013-12-273-35/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553760 13f79535-47bb-0310-9956-ffa450edef68
* Bug 48593 - [PATCH] Multiple Saves Causes Slide CorruptionAndreas Beeker2013-12-275-166/+301
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553610 13f79535-47bb-0310-9956-ffa450edef68
* Bug 55579 - [PATCH] Patch for add/embed OLE objects into HSLFAndreas Beeker2013-12-264-89/+270
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553435 13f79535-47bb-0310-9956-ffa450edef68
* javadoc and compiler warning house-keepingAndreas Beeker2013-12-252-10/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553428 13f79535-47bb-0310-9956-ffa450edef68
* Fix some JavaDoc items that are reported in the build-outputDominik Stadler2013-12-251-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553404 13f79535-47bb-0310-9956-ffa450edef68
* removed pictureFileZero.ppt from svn as requested by the owner, see ↵Yegor Kozlov2013-12-181-2/+9
| | | | | | discussion on @poi-dev from Dec 12, 2013 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1551845 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 55560 : Patch for hiding slides in HSLFYegor Kozlov2013-11-094-3/+333
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1540295 13f79535-47bb-0310-9956-ffa450edef68
* Bug 52400: fix handling some types of TNEF files, make ↵Dominik Stadler2013-11-034-34/+178
| | | | | | HMEFMessage.HEADER_SIGNATURE int as it is handled as int everywhere, move .dat files to HMEF sample dir, cover some border cases in HMEFMessage, add another .dat sample file git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1538353 13f79535-47bb-0310-9956-ffa450edef68
* Add more output to assertion in test-case that is sometimes failing, see ↵Dominik Stadler2013-11-031-4/+3
| | | | | | e.g. Jenkins build #170... git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1538330 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug #55733 - XWPFWordExtractor needNick Burch2013-11-011-1/+0
| | | | | | s to handle .docx files with neither headers nor footers git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1538044 13f79535-47bb-0310-9956-ffa450edef68
* Potential NPE in PPExtractor; found while working on TIKA-1171Tim Allison2013-09-271-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1527041 13f79535-47bb-0310-9956-ffa450edef68
* POI-54722 table text in ppt filesTim Allison2013-09-272-0/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1526960 13f79535-47bb-0310-9956-ffa450edef68
* Adjust build.xml to run JaCoCo coverage when running unit tests whenDominik Stadler2013-08-041-0/+9
| | | | | | | | flag coverage.enabled is set to true, download necessary jars, add jacoco:coverage to junit targets and a testcoveragereport target which produces the coverage report. Also fix a test that is affected by JaCoCo and add slightly more coverage in another test. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1510243 13f79535-47bb-0310-9956-ffa450edef68
* Have MAPIMessage try the codepage properties to get the ascii encoding, ↵Nick Burch2013-06-262-12/+40
| | | | | | before falling back to the existing logic around content type parsing git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1497038 13f79535-47bb-0310-9956-ffa450edef68
* More unit tests for the HSMF fixed sized property values (a few still remain ↵Nick Burch2013-06-261-7/+63
| | | | | | to be fixed though) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1497023 13f79535-47bb-0310-9956-ffa450edef68
* Make the fixed sized properties parser more flexible in the face of slightly ↵Nick Burch2013-06-262-4/+32
| | | | | | duff data git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1497006 13f79535-47bb-0310-9956-ffa450edef68
* Dig out the normal type for some more common propertiesNick Burch2013-06-261-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1497004 13f79535-47bb-0310-9956-ffa450edef68
* Support decoding a few more property typesNick Burch2013-06-262-1/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496988 13f79535-47bb-0310-9956-ffa450edef68
* More friendly output of byte arrays for property values in HSMFDumpNick Burch2013-06-262-1/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496982 13f79535-47bb-0310-9956-ffa450edef68
* Fix inconsistent whitespace in HSMF test filesNick Burch2013-06-265-432/+420
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496969 13f79535-47bb-0310-9956-ffa450edef68