Nick Burch
bfd5ebe008
Mostly fix bug 42618 (really this time...) - can now open the file properly, but getCellFormula() is still playing up (bug #44306 opened for this)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@615859 13f79535-47bb-0310-9956-ffa450edef68
2008-01-28 12:18:12 +00:00
Yegor Kozlov
01fc557873
start a new POI 3.1 section in the change log
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@615769 13f79535-47bb-0310-9956-ffa450edef68
2008-01-28 08:53:19 +00:00
Yegor Kozlov
bcfa5a7efc
fix bug #44297 : IntPtg must operate with unsigned short. Reading signed short results in incorrect formula calculation.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@615610 13f79535-47bb-0310-9956-ffa450edef68
2008-01-27 14:55:32 +00:00
Yegor Kozlov
caffc08d65
fix bug #44296 : HSLF Not Extracting Slide Background Image
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@615315 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 19:37:22 +00:00
Yegor Kozlov
6ae2ba2e85
commented failing test42618()
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@615310 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 19:27:56 +00:00
Ugo Cei
2d33f4190a
Initial support for loading workbooks off files.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@615275 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 17:16:14 +00:00
Nick Burch
fdcd7c3fb8
Add a test to show the bug #42618 appears to be incorrect
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@615259 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 16:33:59 +00:00
Nick Burch
c2d4b8b736
[ooxml branch] XSSFSheet get/setColumnWidth methods and tests, patch from Paolo
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@615258 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 16:25:14 +00:00
Nick Burch
f57fda3af5
Don't swap AreaPtg references from relative to absolute, by correctly processing the fields. Patch from bug #44293
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@615255 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 16:15:49 +00:00
Ugo Cei
985bbe1696
Use new version of OpenXML4J that allows saving straight to an OutputStream without going through a file.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@615206 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 12:34:33 +00:00
Nick Burch
159a3b3bcb
Correctly handle the last paragraph via a fix to TableCell - patch from bug #44292
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@615190 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 11:52:39 +00:00
Ugo Cei
86a0e470b9
Merged revisions 614878-614909 via svnmerge from
...
https://svn.apache.org/repos/asf/poi/trunk
........
r614878 | nick | 2008-01-24 15:13:05 +0100 (Thu, 24 Jan 2008) | 1 line
Add another formula evaluation method, evaluateFormulaCell(cell), which will re-calculate the value for a formula, without affecting the formula itself. Add tests too, and update the documentation
........
r614909 | nick | 2008-01-24 17:05:27 +0100 (Thu, 24 Jan 2008) | 1 line
From bug #44254 - avoid some unread bytes warnings, and process the contents of DVALRecord
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@615185 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 11:39:29 +00:00
Ugo Cei
66c126f70c
Recorded merge of revisions 614870 via svnmerge from
...
https://svn.apache.org/repos/asf/poi/trunk
........
r614870 | nick | 2008-01-24 14:08:57 +0100 (Thu, 24 Jan 2008) | 1 line
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@615184 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 11:35:24 +00:00
Nick Burch
7c0d830822
From bug #44254 - avoid some unread bytes warnings, and process the contents of DVALRecord
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@614909 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 16:05:27 +00:00
Nick Burch
dee42e72c1
Add another formula evaluation method, evaluateFormulaCell(cell), which will re-calculate the value for a formula, without affecting the formula itself. Add tests too, and update the documentation
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@614878 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 14:13:05 +00:00
Ugo Cei
2150018bac
Implementation of XSSFWorkbook#getSheet(String name).
...
Implementation of XSSFWorkbook#removeSheet.
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@614877 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 14:09:34 +00:00
Nick Burch
0caa21e82b
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
eca9f853a3
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
Nick Burch
b0a9c6b8e8
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/trunk@614870 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 13:08:57 +00:00
Ugo Cei
0fe7355e0b
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
bcceae13f0
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
ceb863a1d1
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
45cb22b13a
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
936e16ac26
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
Yegor Kozlov
03b66d051c
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/trunk@614274 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 17:59:27 +00:00
Nick Burch
022aa1ad69
Fix from bug #41726 - support signed offsets from relative areas and references
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@614211 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 14:48:51 +00:00
Ugo Cei
9db93d7661
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
bd8185c485
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
5faf83a911
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
d17e6cc4cd
[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
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
Yegor Kozlov
2d0c2e049d
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/trunk@613401 13f79535-47bb-0310-9956-ffa450edef68
2008-01-19 14:54:06 +00:00
Yegor Kozlov
2c46d2a3f7
added unit tests for closed Bug 37684: Unhandled Continue Record Error
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@613400 13f79535-47bb-0310-9956-ffa450edef68
2008-01-19 14:44:07 +00:00
Yegor Kozlov
f6cd038ce3
add a check to prevent NPE in HSSFSheet.autoSizeColumn(). See Bug 44246
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@613396 13f79535-47bb-0310-9956-ffa450edef68
2008-01-19 14:28:10 +00:00
Yegor Kozlov
47f369643a
use JDK 1.4 compatible constructor for IllegalStateException
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@613395 13f79535-47bb-0310-9956-ffa450edef68
2008-01-19 14:27:02 +00:00
Nick Burch
c618a3fc4e
Add a missing bit to the compile-ooxml ant task
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@612520 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 17:12:52 +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
Nick Burch
5e33c540a2
Tidy up the imports, remove accidental link to xmlbeans
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@612512 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 16:59:14 +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