summaryrefslogtreecommitdiffstats
path: root/src/scratchpad
Commit message (Collapse)AuthorAgeFilesLines
* @Ignore("requires an internet connection to a 3rd party site"Javen O'Neal2017-06-201-1/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1799326 13f79535-47bb-0310-9956-ffa450edef68
* #61169 - Text with Japanese characters overflows textbox Andreas Beeker2017-06-171-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1798986 13f79535-47bb-0310-9956-ffa450edef68
* #61162 - En-/decryption support for HWPFAndreas Beeker2017-06-146-342/+264
| | | | | | | | - encryption support for HWPF - refactor/unify EncryptionInfo handling in H**F classes - remove Iterable interface from WorkbookRecordList - use getRecords() instead, to prevent modifications over the Iterator git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1798722 13f79535-47bb-0310-9956-ffa450edef68
* Move one testcase with incorrect source locationDominik Stadler2017-06-091-112/+91
| | | | | | | | remove some junit dependencies in example-code build: do not pass junit-jar to normal compile targets to avoid introducing it as dependency again Reformat code, fix warnings, ... git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1798202 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60374: Add test for ArrayIndexOutOfBounds on old Word Documents due to ↵Dominik Stadler2017-06-091-2/+18
| | | | | | Non-Unicode git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1798200 13f79535-47bb-0310-9956-ffa450edef68
* Replace HWPFOutputStream with ByteArrayOutputStream - it doesn't add any new ↵Andreas Beeker2017-06-0627-225/+156
| | | | | | features git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1797838 13f79535-47bb-0310-9956-ffa450edef68
* #61162 - En-/decryption support for HWPFAndreas Beeker2017-06-063-215/+378
| | | | | | Decryption for Binary RC4 and CryptoAPI (... XOR is missing) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1797837 13f79535-47bb-0310-9956-ffa450edef68
* fix eclipse resource leak warningsAndreas Beeker2017-05-3121-261/+264
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1797043 13f79535-47bb-0310-9956-ffa450edef68
* SonarQube fixes - close resourcesAndreas Beeker2017-05-311-7/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796962 13f79535-47bb-0310-9956-ffa450edef68
* replace "String.indexOf(String) >= 1" with "String.contains(String)"Javen O'Neal2017-05-164-14/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795296 13f79535-47bb-0310-9956-ffa450edef68
* Javadoc fixesNick Burch2017-05-161-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795261 13f79535-47bb-0310-9956-ffa450edef68
* github-52: add ExcelToHtmlConverter method that works on InputStreams. ↵Javen O'Neal2017-05-161-2/+39
| | | | | | | | Thanks to Tony Zeng! This closes #52. https://github.com/apache/poi/pull/52 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795256 13f79535-47bb-0310-9956-ffa450edef68
* #52117 - Invalid "last printed" summary field value - added helper method to ↵Andreas Beeker2017-05-142-4/+4
| | | | | | | | | | identify undefined dates HPSF: fixed uid listing in Section.toString() HPSF: moved timestamp based "utility" methods to Filetime class HPSF: preserve original datastream for unchanged property sets git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795123 13f79535-47bb-0310-9956-ffa450edef68
* SonarQube fixesAndreas Beeker2017-05-034-23/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793727 13f79535-47bb-0310-9956-ffa450edef68
* Reverted DocumentSummary hack in codepage guessing codeAndreas Beeker2017-05-021-30/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793601 13f79535-47bb-0310-9956-ffa450edef68
* Use assertContains instead of assertTrue(text.contains) for better error ↵Javen O'Neal2017-04-206-22/+25
| | | | | | messages on failure git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1792009 13f79535-47bb-0310-9956-ffa450edef68
* Use assertContains instead of assertTrue(text.contains) for better error ↵Javen O'Neal2017-04-194-69/+61
| | | | | | messages on failure git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1792007 13f79535-47bb-0310-9956-ffa450edef68
* Let IntelliJ cleanup some code-warnings across the whole code-base: ↵Dominik Stadler2017-04-1722-32/+32
| | | | | | unnecessary toString or semicolon git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791720 13f79535-47bb-0310-9956-ffa450edef68
* #60998 - HSLFTable.setRowHeight sets row height incorrect Andreas Beeker2017-04-172-12/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791696 13f79535-47bb-0310-9956-ffa450edef68
* findbugs fixesAndreas Beeker2017-04-171-13/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791679 13f79535-47bb-0310-9956-ffa450edef68
* #60993 - HSLF: Grid and rowspan calculation in table cells is wrongAndreas Beeker2017-04-151-8/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791500 13f79535-47bb-0310-9956-ffa450edef68
* bug 50955 - add logging per Javen's recommendation. Thank you!Tim Allison2017-04-111-15/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791021 13f79535-47bb-0310-9956-ffa450edef68
* bug 50955 - incorporate info from the DocumentSummaryInformation forTim Allison2017-04-111-1/+30
| | | | | | | guessing the encoding. Back off to the old method if DocSummInfo is not available. Thanks to Andreas Beeker for recommending this direction. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791002 13f79535-47bb-0310-9956-ffa450edef68
* bug 50955 - try originally guessed codepoint, backoff to 1252 if that failsTim Allison2017-04-111-18/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1790904 13f79535-47bb-0310-9956-ffa450edef68
* Javadoc fixesNick Burch2017-04-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1790239 13f79535-47bb-0310-9956-ffa450edef68
* bug 50955 convert Set to Singleton per Javen's code reviewTim Allison2017-04-051-8/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1790215 13f79535-47bb-0310-9956-ffa450edef68
* bug 50955 and bug 60953 improve Big5 reader; ensure one characterTim Allison2017-04-056-27/+10
| | | | | | per byte pair git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1790172 13f79535-47bb-0310-9956-ffa450edef68
* bug 50955 -- turn off test that now passes in Java 1.8 and 1.7 Tim Allison2017-04-041-2/+3
| | | | | | but not 1.6 until we can fix it git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1790136 13f79535-47bb-0310-9956-ffa450edef68
* bug 50955 -- fix for java 7Tim Allison2017-04-043-6/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1790130 13f79535-47bb-0310-9956-ffa450edef68
* bug 50955 -- word 6.0 charset fixTim Allison2017-04-0417-62/+821
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1790061 13f79535-47bb-0310-9956-ffa450edef68
* Fix typo to "length", closes #51Dominik Stadler2017-03-191-8/+8
| | | | | | Fix a few IntelliJ warnings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1787659 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60795 -- fixed deprecation, thanks to Javen.Tim Allison2017-03-011-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1784989 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60795 -- add enum for message class in MAPIMessage; deprecate ↵Tim Allison2017-03-012-5/+70
| | | | | | getMessageClass() git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1784978 13f79535-47bb-0310-9956-ffa450edef68
* Metro shapes: integration test regression on empty paragraphsAndreas Beeker2017-02-141-3/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782897 13f79535-47bb-0310-9956-ffa450edef68
* Generics fix for metro shapesAndreas Beeker2017-02-132-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782722 13f79535-47bb-0310-9956-ffa450edef68
* #60625 - Rendering issue with background and shape overlayed by imageAndreas Beeker2017-02-132-3/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782712 13f79535-47bb-0310-9956-ffa450edef68
* #60625 - Rendering issue with background and shape overlayed by imageAndreas Beeker2017-02-121-20/+157
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782706 13f79535-47bb-0310-9956-ffa450edef68
* SonarQube fixes and removed redundant logger level checks, for simple String ↵Andreas Beeker2017-02-111-61/+76
| | | | | | messages git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782548 13f79535-47bb-0310-9956-ffa450edef68
* Convert all *.java files to use native end of line character(s)Javen O'Neal2017-02-0871-17765/+17765
| | | | | | | | $ dos2unix `find -name *.java` $ svn propset svn:eol-style native `find -name *.java` git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782114 13f79535-47bb-0310-9956-ffa450edef68
* #60625 - Rendering issue with background and shape overlayed by imageAndreas Beeker2017-02-0819-535/+634
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782096 13f79535-47bb-0310-9956-ffa450edef68
* Revert previous changes enough to restore the case in the commoncrawl-corpus ↵Dominik Stadler2017-02-051-0/+7
| | | | | | which is failing now, add a unit-test for this case, enable one disabled unit-test git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1781822 13f79535-47bb-0310-9956-ffa450edef68
* Adjust for JDK 9 ea152 and newer: certain whitespaces in XML may now be trimmedDominik Stadler2017-02-051-58/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1781821 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60677 -- handle multibyte encodings correctly in HwmfGraphics' ↵Tim Allison2017-02-032-3/+60
| | | | | | drawString. Thanks to Dominik Stadler for finding this bug and a triggering doc via large scale regression testing. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1781593 13f79535-47bb-0310-9956-ffa450edef68
* Finally enable test for bug 44937, we got the requested missing ↵Dominik Stadler2017-01-261-2/+3
| | | | | | test-documents a long time ago already. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780456 13f79535-47bb-0310-9956-ffa450edef68
* Don't wrap RuntimeExceptionDominik Stadler2017-01-261-93/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780455 13f79535-47bb-0310-9956-ffa450edef68
* IntelliJ warnings, Javadoc, FormattingDominik Stadler2017-01-266-13/+12
| | | | | | Changes for the RecordFormatException deprecation git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780453 13f79535-47bb-0310-9956-ffa450edef68
* Cover some dev-tools with a few simple tests, close resources correctlyDominik Stadler2017-01-261-0/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780451 13f79535-47bb-0310-9956-ffa450edef68
* fix eclipse warnings - close resourcesAndreas Beeker2017-01-237-155/+197
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1779869 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60608 -- improve charset handling in Hwmf -- remove deprecated ↵Tim Allison2017-01-201-20/+0
| | | | | | drawString(String... git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1779613 13f79535-47bb-0310-9956-ffa450edef68
* javadocsJaven O'Neal2017-01-202-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1779557 13f79535-47bb-0310-9956-ffa450edef68