Nick Burch
bf493e3b88
[ooxml-branch] Split the common ss interfaces into two sets - one that works with jdk 1.5 and has the full functionality, and another that works with jdk 1.4 and only has dummy functionality. Update build.xml to spit out two versions of the main classes, one for jdk 1.5 with the full interfaces, and one for jdk 1.4 with the dummy ones (but which is otherwise like the current behaviour). Also add readme explaining all this
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@613951 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 18:00:30 +00:00
Ugo Cei
e421eadd57
Merged revisions 613395-613401 via svnmerge from
...
https://svn.apache.org/repos/asf/poi/trunk
........
r613395 | yegor | 2008-01-19 15:27:02 +0100 (Sat, 19 Jan 2008) | 1 line
use JDK 1.4 compatible constructor for IllegalStateException
........
r613396 | yegor | 2008-01-19 15:28:10 +0100 (Sat, 19 Jan 2008) | 1 line
add a check to prevent NPE in HSSFSheet.autoSizeColumn(). See Bug 44246
........
r613400 | yegor | 2008-01-19 15:44:07 +0100 (Sat, 19 Jan 2008) | 1 line
added unit tests for closed Bug 37684: Unhandled Continue Record Error
........
r613401 | yegor | 2008-01-19 15:54:06 +0100 (Sat, 19 Jan 2008) | 1 line
added a unit test for fixed bug 41139: Constructing HSSFWorkbook is failed,threw threw ArrayIndexOutOfBoundsException for creating UnknownRecord
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@613822 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 09:56:56 +00:00
Ugo Cei
a0a4d90dfa
Merged revisions 612520 via svnmerge from
...
https://svn.apache.org/repos/asf/poi/trunk
........
r612520 | nick | 2008-01-16 18:12:52 +0100 (Wed, 16 Jan 2008) | 1 line
Add a missing bit to the compile-ooxml ant task
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@613819 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 09:46:20 +00:00
Ugo Cei
89baed7c99
Merged revisions 612512 via svnmerge from
...
https://svn.apache.org/repos/asf/poi/trunk
........
r612512 | nick | 2008-01-16 17:59:14 +0100 (Wed, 16 Jan 2008) | 1 line
Tidy up the imports, remove accidental link to xmlbeans
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@613817 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 09:44:37 +00:00
Nick Burch
f00ecf8056
Add a missing bit to the compile-ooxml ant task
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@612519 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 17:12:41 +00:00
Ugo Cei
1c2880f937
Changed location of OOXML sources and testcases.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@612515 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 16:59:35 +00:00
Ugo Cei
1ae2752357
Fix imports, removing a dependency on XMLBeans.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@612509 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 16:55:12 +00:00
Ugo Cei
537dcb7c77
Replace implementation with interface in return value declaration.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@612503 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 16:39:21 +00:00
Ugo Cei
0859571ede
Some OOXML implementation and interface code, just some basic Row and Cell-level functionality.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@612495 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 16:08:22 +00:00
Ugo Cei
290aa0c9f4
Initialized merge tracking via "svnmerge" with revisions "1-612483" from
...
https://svn.apache.org/repos/asf/poi/trunk
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@612484 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 15:27:45 +00:00
Ugo Cei
2bd3244364
Creating branch for OOXML-enabled version
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@612477 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 15:18:09 +00:00
Nick Burch
33602b0c80
Patch to support UncalcedRecord and usermodel code for it, to indicate formulas on a sheet need recalculating (from bug #44233 )
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@612445 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 13:14:31 +00:00
Nick Burch
18a4647b24
Add methods to check to see if a given InputStream has a OOXML file header, or a OLE2 file header, so that a future factory method could figure out which class to instantiate for a given InputStraeam
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@612438 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 12:46:43 +00:00
Nick Burch
32a7c6ac86
Fix bug #44201 - support cloning of DVRecord, so validation enabled sheets can be cloned
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@612152 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 16:42:44 +00:00
Nick Burch
d29590b7ab
Some more updates to the records->usermodel support for hssf shapes. Still not enough there to be useful to pretty much anyone, but at least there's now a framework in place that people can use if they want to support more, and some tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@612148 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 16:31:29 +00:00
Yegor Kozlov
6a9531c36a
update status of the latest release on the index page
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@611434 13f79535-47bb-0310-9956-ffa450edef68
2008-01-12 15:11:10 +00:00
Yegor Kozlov
ffe9ba52c1
fixed bug 44200: Sheet not cloneable when Note added to excel cell
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610855 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 18:04:38 +00:00
Nick Burch
ae4a40d8ba
Make a start on processing shapes on a sheet out of a record. For now, doesn't actually manage to do this, but has much of the infrastructure that'll be needed. Includes ability to get an existing HSSFPatriarch for a sheet, if there are the required records, and for the HSSFPatriarch to be in a position to be given the shapes that make it up (but this isn't done yet)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610608 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 23:21:35 +00:00
Nick Burch
cacf0c4fc3
Add several more test files, charting related
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610606 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 23:14:32 +00:00
Nick Burch
6560cfb80f
Put the anchors where forrest wants them
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610560 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 20:50:00 +00:00
Nick Burch
fcf2ab6a94
Update documentation, and add section on whole-workbook recalculating
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610553 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 20:37:06 +00:00
Nick Burch
ab0a81f75a
Fix for SharedStringsTable in ooxml excel support, and related test updates now we have more to test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610506 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 18:46:30 +00:00
Nick Burch
e9107b8aca
Further font size tweaks for autosizing test (macs are even odder...)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610496 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 18:38:44 +00:00
Nick Burch
a4caea39b5
Font sizes can vary slightly between machines, so use small ranges not absolute numbers when testing column autosizing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610481 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 17:47:00 +00:00
Nick Burch
400bfacc62
Tweak comments, layout and exceptions in IOUtils and RawDataBlock. It should now be clearer exactly what they do, and when they become unhappy. Also include a test that ensures that when reading from a slow inputstream (as per bug #42834 ), we really are ok with the data dribbling in, and do not require it to all come in in blocksize chunks at one
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610439 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 16:31:25 +00:00
Nick Burch
1558c1472f
Properly set the values when calling the boolean sets
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610435 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 16:24:28 +00:00
Nick Burch
1f691642c3
Fix bug #43008 , by deprecating setCellNum() on HSSFCell, and adding moveCell() to HSSFRow, which correctly updates all the references
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610392 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 14:27:51 +00:00
Nick Burch
0f4d8d90ed
Fix for bug #43058 - handle setting row grouping for sheets that lacked gutsrecords at that point
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610384 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 13:37:06 +00:00
Nick Burch
9726aea084
Add a xlsx sample file with boolean formulas and values in it, as none of the official samples include any booleans!
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610376 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 13:04:18 +00:00
Nick Burch
dc0a0b867a
Add a further test to TestHSSFRow which verifies that bug #43901 is invalid
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610340 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 11:12:16 +00:00
Nick Burch
f9e5145d9c
Add clone methods to DrawingRecord and AbstractEscherHolderRecord, which allows cloning of some sheets with drawing objects on them. Fixes bug #31795
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610336 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 10:59:04 +00:00
Nick Burch
50e62c9bcf
Update changelog again
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610329 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 10:05:03 +00:00
Nick Burch
9c2787efb4
Have autoSizeColumn skip over merged regions - bug #43902 . Patch from Paolo
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610328 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 09:55:20 +00:00
Nick Burch
c0bab46840
Shuffle some bits of TestFormulaParser into scratchpad, so it can find HSSFFormulaEvaluator
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610313 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 09:22:20 +00:00
Nick Burch
1a6f87e035
Finally fix bug #42464 - Expected ExpPtg to be converted from Shared to Non-Shared Formula - tracked down to a signed vs unsigned byte issue!
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610216 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 23:01:12 +00:00
Nick Burch
5471fcbdce
Make the code for adding a new RichTextRun to a TextRun a bit nicer
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610169 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 21:35:53 +00:00
Nick Burch
f06b3921bd
Make a start on supporting adding new text to a hslf textrun
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610160 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 21:19:51 +00:00
Nick Burch
39b91d3a6c
Tiny bit more ooxml stuff from Ugo (missed in last commit)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610158 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 21:17:48 +00:00
Nick Burch
26f6e5a716
Add un-fixable testcase for bug 43493
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610097 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 19:11:22 +00:00
Nick Burch
852964d9d3
Support for unicode named named ranges (patch and test from bug #42033 )
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610082 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 17:49:08 +00:00
Nick Burch
7096e660c3
Patch from Ugo from bug #44185 - support getting shared strings for ooxml excel files, and further tests for the ooxml excel text extraction
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610074 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 17:28:39 +00:00
Nick Burch
d6a4075aa7
Fix bug #34023 - when shifting rows, update the any formula references to those rows to point to their new location
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610072 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 17:18:38 +00:00
Nick Burch
7cd8941f43
Add a new method onto AreaReference to get all the cells referenced, not just the corners. Includes tests for this
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610048 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 16:20:48 +00:00
Nick Burch
808d3ad9eb
Extend named range support in formulas to include non-contiguous named ranges
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610026 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 15:47:00 +00:00
Nick Burch
b67b9cb0ce
Fix from bug #43510 - support named ranges in formulas
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610016 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 15:08:51 +00:00
Nick Burch
a4ae0c47c7
New tests for setLandscape, which seems to indicate that the problem reported in bug #43693 is incorrect
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@609968 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 13:28:19 +00:00
Nick Burch
32e42753ab
Patch from Ugo to get and set the sheet hidden flag (bug #43937 )
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@609942 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 11:59:26 +00:00
Nick Burch
033dfb4f0c
Add a (disabled, as broken) test to show that HXFExcelExtractor and ExcelExtractor basically agree on extracting text from the same file (which they do not quite do yet!)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@609941 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 11:54:26 +00:00
Nick Burch
426659fee3
Fix a few little bits of documentation xml
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@609936 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 11:28:07 +00:00
Nick Burch
eae7142499
Fix for bug #44167 - patch from Paolo Mottadelli
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@609924 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 10:36:36 +00:00