aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Apache POI - Use assertArrayEquals() instead of assertTrue(Arrays.equals()), ↵Dominik Stadler2014-05-1656-427/+435
| | | | | | this way we get better information on failure git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1595190 13f79535-47bb-0310-9956-ffa450edef68
* Fix Bug 56514, add missing null-check if simple shape does not have any textDominik Stadler2014-05-163-27/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1595127 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56325: fix Exception when removing sheets with named ranges in the workbookDominik Stadler2014-05-155-10/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1595048 13f79535-47bb-0310-9956-ffa450edef68
* Avoid unnecessary string creation/concatination for numeric conversion, use ↵Dominik Stadler2014-05-151-1/+1
| | | | | | Double.toString() instead git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1595047 13f79535-47bb-0310-9956-ffa450edef68
* Add a HSSF print paper size constant for "printer default" for bug #56509Nick Burch2014-05-152-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1594848 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56468 - Writing a workbook more than once corrupts the fileAndreas Beeker2014-05-145-12/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1594721 13f79535-47bb-0310-9956-ffa450edef68
* fix some Eclipse warnings, unnecessary null-check and missing close() in testsDominik Stadler2014-05-132-59/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1594201 13f79535-47bb-0310-9956-ffa450edef68
* Based on reading of the new file format docs, start to tweak how fixed ↵Nick Burch2014-05-113-44/+88
| | | | | | length vs variable length / multi-valued properties are handled git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1593861 13f79535-47bb-0310-9956-ffa450edef68
* Outlook sometimes stores a codepage of ANSI when it means 1252, detect and ↵Nick Burch2014-05-081-0/+6
| | | | | | alias, fixes bug #53983 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1593306 13f79535-47bb-0310-9956-ffa450edef68
* Implement a few more MAPI property typesNick Burch2014-05-082-2/+105
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1593298 13f79535-47bb-0310-9956-ffa450edef68
* Fix inconsistent indentsNick Burch2014-05-081-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1593297 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56486 - Add XOR obfuscation/decryption support to HSSFAndreas Beeker2014-05-0518-513/+960
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1592636 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56269 - DateFormat - Rounding of fractionalsAndreas Beeker2014-05-043-34/+118
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1592419 13f79535-47bb-0310-9956-ffa450edef68
* The NPOIFS-classes result currently in left-over memory mapped buffers.Andreas Beeker2014-05-043-189/+227
| | | | | | | | | | | These are actually hard to workaround, so for Windows the test is ignored, if this error happens. http://stackoverflow.com/questions/3602783/file-access-synchronized-on-java-object Apart of that, the RandomFileAccess instance is saved in the FileBackedDataSource as it needs to be closed instead of the Channel. http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4796385 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1592418 13f79535-47bb-0310-9956-ffa450edef68
* File leak detector: Close streams in some testsDominik Stadler2014-05-043-18/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1592315 13f79535-47bb-0310-9956-ffa450edef68
* Excel 2007 and later allows for more than 3 Conditional Formatting rules per ↵Nick Burch2014-05-023-11/+34
| | | | | | sheet, so change our hard limit to logging a compatibility warning. Test file from Pau Coma Ramirez from bug #56482 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1591959 13f79535-47bb-0310-9956-ffa450edef68
* Generics warnings fixesNick Burch2014-05-021-12/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1591838 13f79535-47bb-0310-9956-ffa450edef68
* Provide a convenience method for creating a PropertySet from a Directory + EntryNick Burch2014-04-282-26/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590650 13f79535-47bb-0310-9956-ffa450edef68
* Fix generics warningsNick Burch2014-04-281-10/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590642 13f79535-47bb-0310-9956-ffa450edef68
* Update the HPSF change properties example to use NPOIFS + in-place writes, ↵Nick Burch2014-04-283-14/+18
| | | | | | and have NPOIFS give a helpful error if you try to in-place write on a read only open git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590577 13f79535-47bb-0310-9956-ffa450edef68
* Get NPOIFS in-place-write working!Nick Burch2014-04-284-18/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590556 13f79535-47bb-0310-9956-ffa450edef68
* junit4 fixAndreas Beeker2014-04-261-15/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590327 13f79535-47bb-0310-9956-ffa450edef68
* More on the HPFS in-place NPOIFS write tests, and a note about what is still ↵Nick Burch2014-04-263-4/+54
| | | | | | to do for them git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590319 13f79535-47bb-0310-9956-ffa450edef68
* Fix javadoc layoutNick Burch2014-04-261-15/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590317 13f79535-47bb-0310-9956-ffa450edef68
* Convert the HPSF test to JUnit 4, and add a bit more testing for NPOIFSNick Burch2014-04-262-37/+87
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590309 13f79535-47bb-0310-9956-ffa450edef68
* Stream tests for NDocumentOutputStreamNick Burch2014-04-261-0/+194
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590303 13f79535-47bb-0310-9956-ffa450edef68
* NDocumentOutputStream write logicNick Burch2014-04-255-14/+88
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590191 13f79535-47bb-0310-9956-ffa450edef68
* Fix inconsistent whitespaceNick Burch2014-04-251-141/+141
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590190 13f79535-47bb-0310-9956-ffa450edef68
* Begin to support and test in-place changes to documents within a NPOIFS streamNick Burch2014-04-255-3/+270
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590185 13f79535-47bb-0310-9956-ffa450edef68
* Support for replacing the contents of a Document in a NPOIFSFileSytem, in placeNick Burch2014-04-251-24/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590177 13f79535-47bb-0310-9956-ffa450edef68
* Complete NPOIFS write testsNick Burch2014-04-251-7/+122
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590162 13f79535-47bb-0310-9956-ffa450edef68
* When deleting a document in NPOIFS, free the underlying blocksNick Burch2014-04-253-10/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590160 13f79535-47bb-0310-9956-ffa450edef68
* More progress with the write/read npoifs tests, but one bug still to go....Nick Burch2014-04-251-9/+71
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590153 13f79535-47bb-0310-9956-ffa450edef68
* Refactor some of the NPOIFS write tests, and begin on the last missing write ↵Nick Burch2014-04-251-78/+89
| | | | | | test git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590149 13f79535-47bb-0310-9956-ffa450edef68
* Add a getEntryNames() method to POIFS/NPOIFS directory entries, to make ↵Nick Burch2014-04-253-0/+37
| | | | | | listing easier git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590148 13f79535-47bb-0310-9956-ffa450edef68
* Finish off the next NPOIFS write textNick Burch2014-04-251-11/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590133 13f79535-47bb-0310-9956-ffa450edef68
* More NPOIFS mini stream improvements, and more tests for it allNick Burch2014-04-252-38/+110
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590098 13f79535-47bb-0310-9956-ffa450edef68
* Correct mini stream initialisation, and enable more npoifs write testsNick Burch2014-04-252-120/+95
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590088 13f79535-47bb-0310-9956-ffa450edef68
* More NPOIFS tests, and a partial mini-stream fixNick Burch2014-04-252-19/+77
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590083 13f79535-47bb-0310-9956-ffa450edef68
* More npoifs write tests, some disabled as failingNick Burch2014-04-251-3/+74
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589987 13f79535-47bb-0310-9956-ffa450edef68
* Add common code for writing out and reading NPOIFS again, and add a disabled ↵Nick Burch2014-04-241-6/+57
| | | | | | roundtrip test (currently failing...) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589895 13f79535-47bb-0310-9956-ffa450edef68
* Correct NPOIFS mini stream first write bug, and add more NPOIFS stream write ↵Nick Burch2014-04-242-4/+140
| | | | | | tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589881 13f79535-47bb-0310-9956-ffa450edef68
* Add TODOs for the next set of NPOIFS write tests we needNick Burch2014-04-241-14/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589868 13f79535-47bb-0310-9956-ffa450edef68
* More NPOIFS write testing, and fix a problem with writing xbat details outNick Burch2014-04-242-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589806 13f79535-47bb-0310-9956-ffa450edef68
* Update a test to use the existing EntryUtils to copy with, rather than ↵Nick Burch2014-04-241-30/+6
| | | | | | duplciating the logic, and tweak naming/javadocs to clarify what the test does git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589802 13f79535-47bb-0310-9956-ffa450edef68
* More unit tests for NPOIFS writing, and correct a bug in how bats get ↵Nick Burch2014-04-242-34/+81
| | | | | | allocated in xbats. (Some issues still remain) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589800 13f79535-47bb-0310-9956-ffa450edef68
* More int/long sizing fixes for >2gb NPOIFS files, see bug #56447Nick Burch2014-04-243-8/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589783 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug #56450 - Avoid a NPE if a comment has no associated NoteRecord (but ↵Nick Burch2014-04-244-4/+52
| | | | | | we still don't know where it belongs) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589770 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Eclipse identified warningsNick Burch2014-04-244-9/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589765 13f79535-47bb-0310-9956-ffa450edef68
* Two more test files from Stefan Kopf for bug #56164, and unit tests which ↵Nick Burch2014-04-244-3/+75
| | | | | | use them git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589759 13f79535-47bb-0310-9956-ffa450edef68