Nick Burch
219b26ac3e
Patch from bug #44336 - correctly escape sheet names in formula references, including tests for this, and fixes to old tests that were expecting the un-escaped sheet names
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@617491 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 13:02:06 +00:00
Nick Burch
7f134a31f4
Improvements to how SystemOutLogger and CommonsLogger log messages with exceptions, and avoid an infinite loop with certain log messages with exceptions - triggered by bug #44326
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@617487 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 12:29:38 +00:00
Nick Burch
46d6231413
Tweak the javadoc so it's clearer on the overview what the getFormat method does
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@617483 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 12:13:08 +00:00
Nick Burch
21b5c6d8cd
Convert HSSFEventFactory to using the new HSSFRecordStream, which returns fully-formed HSSFRecords. HSSFRecordStream allows for pull-style eventusermodel processing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@617167 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 17:30:16 +00:00
Nick Burch
22d8a53710
Lots of documentation updates, to make it clearer how the code actually works
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@617156 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 16:41:53 +00:00
Ugo Cei
0d29a56d2d
Fix test so it loads data file from the correct place.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@616314 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 13:48:17 +00:00
Ugo Cei
9ce000ac3a
Commit patch from Paolo <p.mottadelli@sourcesense.com> attached to bug #44319 .
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@616303 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 13:32:48 +00:00
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