summaryrefslogtreecommitdiffstats
path: root/src/java
Commit message (Collapse)AuthorAgeFilesLines
...
* Start to support formula parsing of sheet-specified named ranges, required ↵Nick Burch2014-07-185-51/+137
| | | | | | for a full fix to bug #56737 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611753 13f79535-47bb-0310-9956-ffa450edef68
* Have WorkbookEvaluator process NameXPtgs, rather than returning a NameXEval ↵Nick Burch2014-07-183-21/+75
| | | | | | which later places didn't handle. Largely allows us to process the .xls version of the test file for #56737 (but filenames aren't quite the same as in Excel) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611711 13f79535-47bb-0310-9956-ffa450edef68
* #56737 Sometimes Excel writes an internal reference to a local name in an ↵Nick Burch2014-07-183-15/+104
| | | | | | odd way, without an ExternalNameRecord, try to detect and work around those git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611681 13f79535-47bb-0310-9956-ffa450edef68
* When throwing an exception during formula evaluation, if this is due to an ↵Nick Burch2014-07-036-24/+91
| | | | | | unimplemented function, have a more specific exception type git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1607588 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56537: Update javadoc to reflect the addition of Closeable to WorkbookDominik Stadler2014-07-021-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1607390 13f79535-47bb-0310-9956-ffa450edef68
* Add missing @Overrides, reformat some files, increase coverage slightly,Dominik Stadler2014-06-111-0/+1
| | | | | | | comments, fix Eclipse warnings and add close() calls in some tests and in HMEFMessage() to close files during tests correctly. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1602008 13f79535-47bb-0310-9956-ffa450edef68
* Partial fix for #56537 - Have Workbook offer a close() method, which in turn ↵Nick Burch2014-06-112-3/+40
| | | | | | closes the NPOIFS or OPC resource from which it was loaded git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1601901 13f79535-47bb-0310-9956-ffa450edef68
* HSSFCell should follow XSSF, and allow setting a null-style to return to the ↵Nick Burch2014-05-291-1/+7
| | | | | | default style, fixes bug #56572 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1598258 13f79535-47bb-0310-9956-ffa450edef68
* Fix for 56563 - Multithreading bug when reading 2 similar filesDominik Stadler2014-05-261-15/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1597637 13f79535-47bb-0310-9956-ffa450edef68
* If a NoteRecord has no author tag, it seems it can sometimes be double ↵Nick Burch2014-05-231-1/+5
| | | | | | padded. Fixes #47251 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1597098 13f79535-47bb-0310-9956-ffa450edef68
* Handle date format strings in an iso8601 style format, with a T in them. ↵Nick Burch2014-05-232-4/+3
| | | | | | Fixes bug #54034 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1597038 13f79535-47bb-0310-9956-ffa450edef68
* Bug 53691: Fix a copy/paste error in CFRuleRecord.clone()Dominik Stadler2014-05-201-17/+20
| | | | | | | also make CFRuleRecord.toString() print out more information which caused the bug to be much harder to find Add unit tests to verify/reproduce this git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1596251 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56325: fix Exception when removing sheets with named ranges in the workbookDominik Stadler2014-05-153-10/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1595048 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 56486 - Add XOR obfuscation/decryption support to HSSFAndreas Beeker2014-05-0511-354/+792
| | | | 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-042-13/+65
| | | | 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-042-16/+41
| | | | | | | | | | | 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-041-2/+5
| | | | 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-021-11/+20
| | | | | | 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-281-9/+38
| | | | 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-282-0/+10
| | | | | | 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-282-14/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590556 13f79535-47bb-0310-9956-ffa450edef68
* More on the HPFS in-place NPOIFS write tests, and a note about what is still ↵Nick Burch2014-04-261-0/+4
| | | | | | 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-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