Commit Graph

161 Commits

Author SHA1 Message Date
Dominik Stadler 0216a881f7 Bug 56017: fix shifting comments with shifted rows and move some more tests into the base classes to run them against XSSF, SXSSF and HSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666843 13f79535-47bb-0310-9956-ffa450edef68
2015-03-15 20:52:55 +00:00
Nick Burch df20c0a69b For XSSFSheet, add a getDrawingPatriarch() method alongside the existing createDrawingPatriarch() one
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1652876 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 23:45:04 +00:00
Dominik Stadler 12edcc5ed2 Bug 46192: Add methods to query outline level for HSSF and XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1649107 13f79535-47bb-0310-9956-ffa450edef68
2015-01-02 20:03:28 +00:00
Dominik Stadler 213aa1559b Adjust typos in Javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1647210 13f79535-47bb-0310-9956-ffa450edef68
2014-12-21 21:07:06 +00:00
Dominik Stadler 66de3ced8b Remove unused members,
Fix an Eclipse warning

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1646736 13f79535-47bb-0310-9956-ffa450edef68
2014-12-19 14:36:41 +00:00
Dominik Stadler 51308cd422 Bug 57355: Fix ArrayIndexOutOfBoundsException by removing two unnecessary lines in XSSFSheet.getColumnWidthInPixels()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1645900 13f79535-47bb-0310-9956-ffa450edef68
2014-12-16 10:40:02 +00:00
Andreas Beeker 45fb6c5b18 Picture method to resize with different scales in width and height
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1638623 13f79535-47bb-0310-9956-ffa450edef68
2014-11-12 00:19:00 +00:00
Nick Burch 82ee923858 Patch from hishidama to add Cell.removeHyperlink(). This closes #13 from github
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637562 13f79535-47bb-0310-9956-ffa450edef68
2014-11-08 13:46:30 +00:00
Andreas Beeker 21f01ab737 Bug 56854 - XMLBeans performance when using getXXXList() and other proxy methods
+ modification to XSSFSheet.removeMergedRegion

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1624922 13f79535-47bb-0310-9956-ffa450edef68
2014-09-14 22:57:38 +00:00
Andreas Beeker ff053aa4cd Bug 51483 - XSSF locking of specific features not working
Added some documentation to the crypto functions and adapted xor1verifier code to the OFFCrypto-Docs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1622577 13f79535-47bb-0310-9956-ffa450edef68
2014-09-04 22:50:28 +00:00
Dominik Stadler a8f284d5f5 Bug 55280: Implement a method XSSFSheet.removeMergedRegions() to bulk remove merged regions and thus speed up shifting rows with many merged regions greatly.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1621633 13f79535-47bb-0310-9956-ffa450edef68
2014-08-31 20:24:42 +00:00
Dominik Stadler 3eec314719 Bug 55280: Don't repeatedely fetch the size of the CTMergeCells object as this is a costly operation with XMLBeans
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1621631 13f79535-47bb-0310-9956-ffa450edef68
2014-08-31 19:53:53 +00:00
Andreas Beeker a82d67a2dd Bug 56854 - XMLBeans performance when using getXXXList() and other proxy methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1620997 13f79535-47bb-0310-9956-ffa450edef68
2014-08-28 00:08:41 +00:00
Nick Burch 797f3368d6 Patch from Sofia Larsson and Martin Andersson from bug #56020 - XSSF support for creating Pivot tables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614684 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 15:27:09 +00:00
Nick Burch 42cd819573 Update the formula evaluator to support XSSF style external named ranges too
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1612133 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 17:51:51 +00:00
Dominik Stadler 9d1d93b88f Add missing @Overrides, reformat some files, increase coverage slightly,
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
2014-06-11 20:36:30 +00:00
Dominik Stadler cdb915a279 Bug 56017: Fix comment-ref when shiftig rows with comments, this probably does not fix the bug itself, though
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563587 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 10:34:42 +00:00
Andreas Beeker 30d9106d9a - Bug 51585 - WorkbookFactory.create() hangs when creating a workbook
- adapted relevant test-classes to Junit4 to support timeout handling
- tab / space cleanup

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1561435 13f79535-47bb-0310-9956-ffa450edef68
2014-01-26 02:18:53 +00:00
Dominik Stadler d714d0da65 Bug 55723: Make HSSFSheet.setAutoFilter() behave equal to XSSF, also make 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
2014-01-01 22:15:44 +00:00
Dominik Stadler 18f9a3e88e Bug 55640, added reproducer, a fix for the Exception cases and some verify-tests to ensure future
changes are checked via unit tests. There might be more work pending to
make grouping fully work the same way as Excel does.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1547153 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 19:14:03 +00:00
Dominik Stadler 6618473e64 Bug 55745: fix handling of tables in XSSF if there are comments as well, there is not much sense in leaving the loop on the first instance of comment table and skipping all the other tables.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1546385 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 15:15:59 +00:00
Dominik Stadler e6ed66a126 Bug 53798: Add fix for XmlValueDisconnectException during shifting rows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1521012 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 09:24:05 +00:00
Nick Burch 75a56dcf22 Push the fix for bug #55248 up to the Sheet interface (was XSSF only before)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1516124 13f79535-47bb-0310-9956-ffa450edef68
2013-08-21 09:41:15 +00:00
Dominik Stadler 9e62269eef Bug 52233: try to fix this without breaking the format of xlsx-files.
The set to null is necessary to not have an empty <cols/> element in the
xlsx, however later on stuff breaks if no colsArray is availalbe,
therefore we now re-create the empty cols array if we did remove it
before.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1515916 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 18:44:44 +00:00
Dominik Stadler 4a675204cb Revert changes from rev. 1513916 as it severly broke writing valid xlsx files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1515842 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 15:03:18 +00:00
Dominik Stadler 17f3b2cb26 Bug 52233: Do not make the XSSFSheet invalid during write(), I could not find out why the ColsArray was set to null in the write() method. By removing this the writing of the sheet does not invalidate the Workbook any more and makes the test case work fine.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1513916 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 14:57:44 +00:00
Tim Allison 44824082c3 POI-55294 and 52186
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1510587 13f79535-47bb-0310-9956-ffa450edef68
2013-08-05 16:17:17 +00:00
Dominik Stadler 59455c36a1 Bug 55248: Add methods for showInPane() using int and unit test to verify it can handle more than 32767 rows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1502749 13f79535-47bb-0310-9956-ffa450edef68
2013-07-13 05:37:41 +00:00
Dominik Stadler 426a6f3451 Bug 54607: Add unit test and fix NPE for getTopRow() and getLeftCol()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1493686 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 09:06:39 +00:00
Yegor Kozlov 7d6b730202 Bug 54206: ValueRecordsAggregate.updateFormulasAfterRowShift doesn't update shared formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1416917 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 12:44:33 +00:00
Yegor Kozlov 141294063d Bugzilla 53950 - fixed setForceFormulaRecalculation to reset workbook-level manual flag<
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1394059 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 13:26:44 +00:00
Yegor Kozlov 37507ff4a3 removed #Override from interfaces to keep javac on JDK 1.5 happy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1369733 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 06:48:51 +00:00
Yegor Kozlov 8394c58b15 Bug 53500: split setRepatingRowsAndColumns into setRepeatingRows and setRepeatingColumns
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1369290 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 08:51:49 +00:00
Yegor Kozlov 3132801d2c fixed compilation errors on JDK 1.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1364926 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 07:32:47 +00:00
Yegor Kozlov d619711ea4 Bugzilla 53500 - Getter for repeating rows and columns
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1364061 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 10:33:00 +00:00
Yegor Kozlov e9d31e7b3e support for setting color of sheet tab in XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1295079 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 12:53:48 +00:00
Yegor Kozlov be4f4d11a8 Bugzilla 52574 - support setting header / footer page margins in HSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294181 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 15:22:22 +00:00
Yegor Kozlov a03a39fd54 Bugzilla 51790: fixed reading shared formulas in XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294127 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 12:18:45 +00:00
Yegor Kozlov 39edd2fe62 Bugzilla 52626: fixed setting default row height in HSSF and XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1243240 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 11:14:23 +00:00
Nick Burch 959ab00472 Patch from bug #52190 - null check on XWPF setFontFamily
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1202620 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 10:33:05 +00:00
Nick Burch 837c5a90f1 Fix bug #51850 - support creating comments in XSSF on an earlier slide when later ones already have them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1174048 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 10:37:54 +00:00
Yegor Kozlov 53769d29ad Bug 51635 - Improved performance of XSSFSheet#write
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156272 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 17:32:38 +00:00
Yegor Kozlov d7fa3d56ee fixed compilation errors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1152103 13f79535-47bb-0310-9956-ffa450edef68
2011-07-29 04:54:34 +00:00
Yegor Kozlov 3e56ba2b90 support for conditional formatting in XSSF including docs and examples
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1152099 13f79535-47bb-0310-9956-ffa450edef68
2011-07-29 04:47:25 +00:00
Nick Burch c891006d5e Based on Yegor's investigating, Support isRightToLeft and setRightToLeft on the common spreadsheet Sheet interface, as per existing HSSF support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1152031 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 22:53:46 +00:00
Yegor Kozlov 5d0668da8d support for hyperlinks in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145629 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 15:18:29 +00:00
Yegor Kozlov 19a6ad2abd Bug 51422 - Support using RecalcIdRecord to trigger a full formula recalculation on load
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1140210 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 15:40:48 +00:00
Yegor Kozlov af650e26a0 Bug 51431 - Avoid IndexOutOfBoundException when removing freeze panes in XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139533 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 12:19:49 +00:00
Yegor Kozlov e4cd5a5b00 cleanup sxxsf temp files after tests, remove non-ascii characters from source code, polished test output
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139518 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 10:56:46 +00:00
Yegor Kozlov 55fc57347a Bug 48314 - Fixed setting column and row breaks in XSSF, also updated javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139266 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 12:15:16 +00:00