aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
Commit message (Collapse)AuthorAgeFilesLines
* 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-261-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590309 13f79535-47bb-0310-9956-ffa450edef68
* NDocumentOutputStream write logicNick Burch2014-04-254-12/+87
| | | | 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-253-1/+99
| | | | 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
* 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
* 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
* More NPOIFS mini stream improvements, and more tests for it allNick Burch2014-04-251-33/+39
| | | | 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-251-4/+7
| | | | 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-251-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590083 13f79535-47bb-0310-9956-ffa450edef68
* Correct NPOIFS mini stream first write bug, and add more NPOIFS stream write ↵Nick Burch2014-04-241-1/+7
| | | | | | tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589881 13f79535-47bb-0310-9956-ffa450edef68
* More NPOIFS write testing, and fix a problem with writing xbat details outNick Burch2014-04-241-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589806 13f79535-47bb-0310-9956-ffa450edef68
* More unit tests for NPOIFS writing, and correct a bug in how bats get ↵Nick Burch2014-04-241-6/+14
| | | | | | 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-242-6/+12
| | | | 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-242-4/+36
| | | | | | 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
* Bug 56437 - [PATCH] Streaming write support in NPOIFSAndreas Beeker2014-04-215-96/+181
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1588887 13f79535-47bb-0310-9956-ffa450edef68
* Some encryption fixes:Andreas Beeker2014-04-211-5/+6
| | | | | | | | | - don't rely on SecretKey object having the right algorithm set - leave encryption-description parsing of string/stream to xmlbeans and refactor it to one location - use namespaces of schema instead of hard-coded strings - use CryptoFunctions.getMessageDigest() instead of code duplication git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1588874 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56315: Make rounding in MathX.round() behave equal to Excel, ↵Dominik Stadler2014-04-181-1/+2
| | | | | | adjust/enhance some more tests in MathX git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1588538 13f79535-47bb-0310-9956-ffa450edef68
* Rather than having lots of classes all create their own XML ↵Nick Burch2014-04-152-2/+50
| | | | | | DocumentBuilderFactory instance, push that logic to a helper which sets all the right defaults git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1587739 13f79535-47bb-0310-9956-ffa450edef68
* performance issue: call toString() on a String object. This is entirely ↵Cédric Walter2014-03-311-1/+1
| | | | | | redundant. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1583358 13f79535-47bb-0310-9956-ffa450edef68
* performance issue logging calls are expensive because of the objects created ↵Cédric Walter2014-03-313-28/+34
| | | | | | 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
* Patch from bug #56328 from David North - the maximum row number in a formula ↵Nick Burch2014-03-281-1/+1
| | | | | | depends on HSSF vs XSSF git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1582892 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Shaun Kalley from bug #56023 - On CellReference, implement ↵Nick Burch2014-03-091-23/+30
| | | | | | 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
* Adjust for JDK 8 where an empty locale is added to the array returned by ↵Dominik Stadler2014-03-081-0/+4
| | | | | | DateFormat.getAvailableLocales() git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575563 13f79535-47bb-0310-9956-ffa450edef68
* Fix Sonar issues about finalize() usageDominik Stadler2014-03-081-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575501 13f79535-47bb-0310-9956-ffa450edef68
* Added MD4-option and some cleanupsAndreas Beeker2014-03-063-9/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1574732 13f79535-47bb-0310-9956-ffa450edef68
* POI is now on JDK 1.6, so remove 1.5 workaroundNick Burch2014-03-041-22/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1574049 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56076 - Add document protection with password support to XWPFAndreas Beeker2014-02-211-8/+151
| | | | | | 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
* FindBugs fixAndreas Beeker2014-02-163-6/+6
| | | | | | | - 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
* Patch and test from Jon Iles from bug #56138 - HPSF code page strings can be ↵Nick Burch2014-02-161-1/+1
| | | | | | zero length git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568813 13f79535-47bb-0310-9956-ffa450edef68
* FindBugs fixAndreas Beeker2014-02-162-4/+4
| | | | | | | | | - 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
* Instead of using initCause() when re-throwing exceptions, it leads to better ↵Dominik Stadler2014-02-151-1/+1
| | | | | | stacktraces if a simple constructor-argument is used git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568614 13f79535-47bb-0310-9956-ffa450edef68
* Update Javadoc somewhatDominik Stadler2014-02-151-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568555 13f79535-47bb-0310-9956-ffa450edef68
* FindBugs fixAndreas Beeker2014-02-142-2/+2
| | | | | | | | - 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-135-29/+32
| | | | | | | | - 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
* FindBugs fixAndreas Beeker2014-02-098-10/+86
| | | | | | | | - 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 whitespaceNick Burch2014-02-022-199/+199
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563660 13f79535-47bb-0310-9956-ffa450edef68
* Add setIncludeHeadersFooters(boolean) to the ExcelExtractor common ↵Nick Burch2014-02-022-3/+18
| | | | | | interface, as all implementations now have the method git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563658 13f79535-47bb-0310-9956-ffa450edef68
* Have the Excel text extractors all implement the same interface, as best as ↵Nick Burch2014-02-021-4/+12
| | | | | | they can git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563650 13f79535-47bb-0310-9956-ffa450edef68
* Bug 51891 - Fix StringIndexOutOfBoundsException : Ole10Native.<init> ↵Andreas Beeker2014-02-012-327/+364
| | | | | | (parsing word file) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563483 13f79535-47bb-0310-9956-ffa450edef68
* jdk 5 compiler doesn't support overwrite for interfaces ...Andreas Beeker2014-01-251-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1561406 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Detlef Brendle from bug #55873 - Support for COUNTIFS functionNick Burch2014-01-232-0/+57
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1560736 13f79535-47bb-0310-9956-ffa450edef68
* Added license headersAndreas Beeker2014-01-182-2/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1559297 13f79535-47bb-0310-9956-ffa450edef68
* Bug 35897 - Password protected filesAndreas Beeker2014-01-102-7/+45
| | | | | | + Junit4 modifications, needed for expected exceptions git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1557281 13f79535-47bb-0310-9956-ffa450edef68
* Ensure our package html files have consistent line endings, and the right ↵Nick Burch2014-01-101-44/+44
| | | | | | svn properties set on them git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1557156 13f79535-47bb-0310-9956-ffa450edef68
* Bug 55723: Make HSSFSheet.setAutoFilter() behave equal to XSSF, also make ↵Dominik Stadler2014-01-011-4/+9
| | | | | | XSSF work when setAutoFilter is called multiple times git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1554688 13f79535-47bb-0310-9956-ffa450edef68
* remove some unused imports and some useless TODOs, slightly moreDominik Stadler2013-12-312-7/+9
| | | | | | | 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
* Don't unnecessarily convert from ArrayList to array, use the ArrayList ↵Dominik Stadler2013-12-311-9/+7
| | | | | | directly instead, this speeds up BiffViewer and related unit tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1554534 13f79535-47bb-0310-9956-ffa450edef68
* Print out which actual value was out of rangeDominik Stadler2013-12-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1554533 13f79535-47bb-0310-9956-ffa450edef68