aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Javadoc fixNick Burch2016-07-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754530 13f79535-47bb-0310-9956-ffa450edef68
* Introduce name-based methods for access to named ranges in a workbook, and ↵David North2016-07-2913-103/+289
| | | | | | | | | | | | deprecate the old index-based methods. Re-organise internally to use a map so that lookup is O(1) rather than O(n ranges). Add a dependency on commons collections 4, also ASL licensed so no problem. https://bz.apache.org/bugzilla/show_bug.cgi?id=59734 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754521 13f79535-47bb-0310-9956-ffa450edef68
* Bug 55384: Handle setting pre-evaluation string correctly in SXSSF as wellDominik Stadler2016-07-272-2/+89
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754328 13f79535-47bb-0310-9956-ffa450edef68
* HWPFDocument.write(File) support and tests #57919Nick Burch2016-07-262-8/+111
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754108 13f79535-47bb-0310-9956-ffa450edef68
* Bug 59634: Clarify and refine JavaDoc of various close() methods to ↵Dominik Stadler2016-07-244-14/+22
| | | | | | consistently state that close() invalidates the object git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753912 13f79535-47bb-0310-9956-ffa450edef68
* In-place write for HSLF #57919Nick Burch2016-07-213-15/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753741 13f79535-47bb-0310-9956-ffa450edef68
* Provide a createOrUpdateDocument method at the POIFS level, and use to ↵Nick Burch2016-07-214-19/+59
| | | | | | simplify writing code #57919 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753739 13f79535-47bb-0310-9956-ffa450edef68
* Javadoc updatesNick Burch2016-07-212-4/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753659 13f79535-47bb-0310-9956-ffa450edef68
* test Cell.setCellValue(false)Javen O'Neal2016-07-211-24/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753634 13f79535-47bb-0310-9956-ffa450edef68
* If doing an in-place write, update the properties tooNick Burch2016-07-203-1/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753623 13f79535-47bb-0310-9956-ffa450edef68
* #57919 HSLF writing to new FileNick Burch2016-07-202-25/+69
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753622 13f79535-47bb-0310-9956-ffa450edef68
* #57919 HPSF writing better error handling, and start prep for HSLF more ↵Nick Burch2016-07-202-14/+29
| | | | | | write methods git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753621 13f79535-47bb-0310-9956-ffa450edef68
* Whitespace / indentsNick Burch2016-07-202-350/+337
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753620 13f79535-47bb-0310-9956-ffa450edef68
* #57919 Add in-place and new-File write methods to POIDocumentNick Burch2016-07-207-16/+67
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753619 13f79535-47bb-0310-9956-ffa450edef68
* Mark some more scratchpad document types as currently being read-onlyNick Burch2016-07-203-18/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753618 13f79535-47bb-0310-9956-ffa450edef68
* Helper class for implementing extra write methods (#57919) for Scratchpad ↵Nick Burch2016-07-202-7/+61
| | | | | | classes which are read-only git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753617 13f79535-47bb-0310-9956-ffa450edef68
* Prepare for pushing write() and write(File) to POIDocumentNick Burch2016-07-202-22/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753595 13f79535-47bb-0310-9956-ffa450edef68
* Sync the file-based "past-the-end" exception to match the stream one, so ↵Nick Burch2016-07-204-7/+28
| | | | | | that extending works, then tests for HSSF writing to a new empty POIFS file #57919 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753489 13f79535-47bb-0310-9956-ffa450edef68
* Start on unit testing for HSSFWorkbook.write(File), bug in POIFS to fix firstNick Burch2016-07-202-1/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753487 13f79535-47bb-0310-9956-ffa450edef68
* #57919 Start on support for writing to a new File (faster than OutputStream)Nick Burch2016-07-202-30/+83
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753486 13f79535-47bb-0310-9956-ffa450edef68
* add test case for bug 53564Javen O'Neal2016-07-191-0/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753359 13f79535-47bb-0310-9956-ffa450edef68
* bug 59881: fix D* functions for blank cells in headers in database; patch ↵Javen O'Neal2016-07-191-0/+3
| | | | | | from Patrick Zimmermann git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753346 13f79535-47bb-0310-9956-ffa450edef68
* bug 59881: fix spelling; patch from Patrick ZimmermannJaven O'Neal2016-07-181-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753298 13f79535-47bb-0310-9956-ffa450edef68
* 52122: Excel does not handle conditional formatting based on formula ↵Dominik Stadler2016-07-183-13/+124
| | | | | | correctly unless recalculation is forced git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753199 13f79535-47bb-0310-9956-ffa450edef68
* Some warnings/improvements suggested by IntelliJDominik Stadler2016-07-183-10/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753188 13f79535-47bb-0310-9956-ffa450edef68
* 59106: WorkdayFunction does not read the area with holidays correctly to ↵Dominik Stadler2016-07-172-1/+16
| | | | | | calculate work days git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753125 13f79535-47bb-0310-9956-ffa450edef68
* Adjust unused local variables to also make FindBugs happyDominik Stadler2016-07-174-15/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753124 13f79535-47bb-0310-9956-ffa450edef68
* Fix one more place where stream were left open when an exception is thrownDominik Stadler2016-07-171-18/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753123 13f79535-47bb-0310-9956-ffa450edef68
* Fix some IntelliJ and Findbugs warnings: StringBuilder, foreach, append(), ...Dominik Stadler2016-07-1719-161/+120
| | | | | | test-updates git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753122 13f79535-47bb-0310-9956-ffa450edef68
* Enable reproducer test for bug 56880 after it was fixed.Dominik Stadler2016-07-171-9/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753121 13f79535-47bb-0310-9956-ffa450edef68
* Add commented reproducer for bug 57603Dominik Stadler2016-07-171-4/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753120 13f79535-47bb-0310-9956-ffa450edef68
* only calculate getTextHeight if it will be usedJaven O'Neal2016-07-171-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753115 13f79535-47bb-0310-9956-ffa450edef68
* reduce statement complexity in drawContent, also has fewer FLOPSJaven O'Neal2016-07-171-10/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753114 13f79535-47bb-0310-9956-ffa450edef68
* if ever combined, VerticalAlignment and HorizontalAlignment would likely end ↵Javen O'Neal2016-07-172-2/+4
| | | | | | up at org.apache.poi.common.usermodel git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753113 13f79535-47bb-0310-9956-ffa450edef68
* bug 57919: add performance note to javadocs about using ↵Javen O'Neal2016-07-174-1/+21
| | | | | | BufferedOutputStreams on Document.write(OutputStream) if underlying resource is high latency git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753112 13f79535-47bb-0310-9956-ffa450edef68
* make instance variables final where possibleJaven O'Neal2016-07-171-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753111 13f79535-47bb-0310-9956-ffa450edef68
* #57919 Provide an initial in-place write method for HSSFWorkbookNick Burch2016-07-173-1/+118
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753103 13f79535-47bb-0310-9956-ffa450edef68
* bug 58190: push down XMLSlideShow tests to BaseTestSlideShow, add coverage ↵Javen O'Neal2016-07-176-89/+183
| | | | | | | | for HSLFSlideShow add tests for SlideShow.findPicture and SlideShow.addPicture git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753073 13f79535-47bb-0310-9956-ffa450edef68
* bug 59170: remove deprecated TableSprmUncompressor#uncompressTAP(byte[] ↵Javen O'Neal2016-07-171-28/+0
| | | | | | grpprl, int offset) method git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753070 13f79535-47bb-0310-9956-ffa450edef68
* bug 59170: fix compile error from r1753052 when removing deprecated TAP_TYPE ↵Javen O'Neal2016-07-171-3/+3
| | | | | | constant git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753069 13f79535-47bb-0310-9956-ffa450edef68
* bug 58190: add unit tests for XMLSlideShow#addPicture and ↵Javen O'Neal2016-07-171-0/+46
| | | | | | XMLSlideShow#findPicture git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753065 13f79535-47bb-0310-9956-ffa450edef68
* bug 59873: add @Internal and @Deprecated decorators to HyperlinkType enumJaven O'Neal2016-07-172-0/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753062 13f79535-47bb-0310-9956-ffa450edef68
* bug 59264,59833,59837: upgrade deprecated methods in examples and testcasesJaven O'Neal2016-07-171-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753061 13f79535-47bb-0310-9956-ffa450edef68
* bug 59264,59833,59837: upgrade deprecated methods in examples and testcasesJaven O'Neal2016-07-1714-241/+287
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753060 13f79535-47bb-0310-9956-ffa450edef68
* close workbook to avoid resource leakJaven O'Neal2016-07-171-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753053 13f79535-47bb-0310-9956-ffa450edef68
* bug 59170: remove deprecated constants, make private variables final, whitespaceJaven O'Neal2016-07-171-16/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753052 13f79535-47bb-0310-9956-ffa450edef68
* HexDump.writeHex is similar to Long#toHexString. Consider consolidating.Javen O'Neal2016-07-171-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753050 13f79535-47bb-0310-9956-ffa450edef68
* log on unsupported Sprm operation, save operand to variable to reduce ↵Javen O'Neal2016-07-171-48/+56
| | | | | | duplicated code git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753048 13f79535-47bb-0310-9956-ffa450edef68
* whitespace (tabs to spaces)Javen O'Neal2016-07-171-18/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753047 13f79535-47bb-0310-9956-ffa450edef68
* HWPF SectionProperties implements CloneableJaven O'Neal2016-07-171-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753046 13f79535-47bb-0310-9956-ffa450edef68