Nick Burch
f9f12c6926
Tidy up some duplicated code, now that openxml4j has RelationshipSource
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@614872 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 13:14:58 +00:00
Nick Burch
4b4973dcd7
Update to use a newer openxml4j jar file, which contains patches from myself and Ugo
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@614871 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 13:09:16 +00:00
Ugo Cei
e378439912
Make HSSF* classes compile with JDK 1.4 interfaces.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@614838 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 10:53:39 +00:00
Ugo Cei
8488dfe816
Merged revisions 614274 via svnmerge from
...
https://svn.apache.org/repos/asf/poi/trunk
........
r614274 | yegor | 2008-01-22 18:59:27 +0100 (Tue, 22 Jan 2008) | 1 line
extra whitespace caused the test fail on win xp. Strange, but it worked fine on *nix
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@614832 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 10:18:21 +00:00
Ugo Cei
05863eecef
Merged revisions 614211 via svnmerge from
...
https://svn.apache.org/repos/asf/poi/trunk
........
r614211 | nick | 2008-01-22 15:48:51 +0100 (Tue, 22 Jan 2008) | 1 line
Fix from bug #41726 - support signed offsets from relative areas and references
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@614831 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 10:16:35 +00:00
Ugo Cei
1dda0ecda1
HSSF* classes implement same interfaces as XSSF* classes.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@614830 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 10:10:55 +00:00
Ugo Cei
e06533f54f
Fix implementation of XSSFWorkbook#cloneSheet and provide unit test.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@614571 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 15:52:59 +00:00
Ugo Cei
3e88323d26
Implementation of XSSFRow#{get,set}Height and other methods.
Patch contributed by Paolo Mottadelli <paolo.moz@gmail.com>.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@614205 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 14:26:10 +00:00
Ugo Cei
f58b850b97
Tests for XSSFWorkbook.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@614199 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 13:28:48 +00:00
Ugo Cei
d0ccd710d9
Tests for XSSFSheet, contributed by Paolo Mottadelli <p.mottadelli@sourcesense.com>.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@614178 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 11:26:27 +00:00
Nick Burch
f4b03fa348
[ooxml-branch] Add in a jdk 1.4 jar task too
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@613953 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 18:04:14 +00:00
Nick Burch
4bce8dfcd0
[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
f9814d58e6
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
1ddcefa55e
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
daba1ef6ef
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
55095d1ccb
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
0ccdcda9bd
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
5dd70ba532
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
41e38d3196
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
5e43dae404
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
df83e5be83
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
b550e43d41
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
7618be0d35
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
0034e00a5c
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
83107c9dae
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
b38caa4cee
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
8accff6c6c
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
f13f164e72
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
7ad3075881
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
fbbd6523ba
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
5e043ff231
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
80cf60500a
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
715329aa5e
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
e1b5e01f8b
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
1767f6cf9b
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
e27090859f
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
4d4b3081ff
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
9093d91658
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
6957c755c0
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
7469cf5c4c
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
a01b3372a3
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
7b605f32e1
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
f97d12c2d5
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
df4c00f034
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
45618f3754
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
411dda71c1
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
b38da1edcd
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
56b73eddb9
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
e84bc3efb3
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
7a2005043a
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