Commit Graph

3824 Commits

Author SHA1 Message Date
Yegor Kozlov
7fe7a28ff3 updated status of the fixed bug #46033
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@710136 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 19:23:52 +00:00
Yegor Kozlov
07a1e55859 fixed bug #46033: table cells had incorrect text type resulting in corrupted style info
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@710134 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 19:19:39 +00:00
Yegor Kozlov
78d8fcc80b fixed #46122: Picture#getEscherBSERecord threw NullPointerException if EscherContainerRecord.BSTORE_CONTAINER was not found
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@710114 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 17:54:01 +00:00
Josh Micich
faf0c46fc1 Simplified multiple record expansion logic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@709598 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 23:24:41 +00:00
Josh Micich
07baa5e966 made DrawingSelectionRecord into a plain BIFF record (not an escher holder aggregate). Added some interpretation of fields
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@709570 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 21:17:08 +00:00
Josh Micich
99b3eba292 Merged revisions 709263-709264,709317 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk

........
  r709263 | josh | 2008-10-30 15:07:26 -0700 (Thu, 30 Oct 2008) | 1 line
  
  Removed dodgy superlcass implementation of Record.getRecordSize()
........
  r709264 | josh | 2008-10-30 15:13:56 -0700 (Thu, 30 Oct 2008) | 1 line
  
  Introduced Record.getDataSize() method
........
  r709317 | josh | 2008-10-30 18:02:55 -0700 (Thu, 30 Oct 2008) | 1 line
  
  converted getRecordSize methods to getDataSize
........


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@709526 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 18:37:16 +00:00
Josh Micich
10d25fb0fd converted getRecordSize methods to getDataSize
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@709317 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 01:02:55 +00:00
Josh Micich
3b262ac93e Introduced Record.getDataSize() method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@709264 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 22:13:56 +00:00
Josh Micich
0fff7ab2d2 Removed dodgy superlcass implementation of Record.getRecordSize()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@709263 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 22:07:26 +00:00
Josh Micich
e1e017ddee Merged revisions 708385,708996,709054,709217,709221,709235 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk

........
  r708385 | josh | 2008-10-27 16:44:44 -0700 (Mon, 27 Oct 2008) | 1 line
  
  Small fix for bug in RecordInputStream.readAllContinuedRemainder()  introduced in r707778.  It seems like only BiffViewer was affected.
........
  r708996 | josh | 2008-10-29 13:13:58 -0700 (Wed, 29 Oct 2008) | 1 line
  
  Allowed for quad-byte padding alignment on ObjRecord
........
  r709054 | josh | 2008-10-29 17:21:24 -0700 (Wed, 29 Oct 2008) | 1 line
  
  removed obsolete methods
........
  r709217 | josh | 2008-10-30 10:56:34 -0700 (Thu, 30 Oct 2008) | 1 line
  
  Fixed compiler warnings / simplified code
........
  r709221 | josh | 2008-10-30 11:33:35 -0700 (Thu, 30 Oct 2008) | 1 line
  
  Optimised slow test case (after reviewing original purpose)
........
  r709235 | josh | 2008-10-30 13:17:04 -0700 (Thu, 30 Oct 2008) | 1 line
  
  Fix for bug 15716 - - converted Ptg arrays into Formula objects to optimise memory usage
........


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@709262 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 22:06:10 +00:00
Josh Micich
b79412c217 Fixed compilation error introduced in r708982
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@709260 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 21:55:50 +00:00
Josh Micich
bbfd402f8a Fix for bug 15716 - - converted Ptg arrays into Formula objects to optimise memory usage
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@709235 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 20:17:04 +00:00
Josh Micich
49b3d998a8 Optimised slow test case (after reviewing original purpose)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@709221 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 18:33:35 +00:00
Josh Micich
eb933eeb8f Fixed compiler warnings / simplified code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@709217 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 17:56:34 +00:00
Yegor Kozlov
62a4298292 applied patches #46119, #46120 and #46078 by Gizella Bronzetti
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@709126 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 09:42:53 +00:00
Josh Micich
4fb4965629 removed obsolete methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@709054 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 00:21:24 +00:00
Josh Micich
1edc1638cd Allowed for quad-byte padding alignment on ObjRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@708996 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 20:13:58 +00:00
Yegor Kozlov
2eadc79202 more cleanup and refactoring of ooxml code,added more unit test and 3 rich examples: LoanCalculator, CalendarDemo and TimesheetDemo, numerous odds and ends improvements
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@708982 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 19:12:47 +00:00
Yegor Kozlov
c47d81f2af belongs to r708506
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@708509 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 10:23:15 +00:00
Yegor Kozlov
3e6278bdb2 moved FontUnderline to interfaces-jdk15
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@708506 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 10:18:02 +00:00
Yegor Kozlov
9148feb877 1. moved ooxml enums into interfaces-jdk15, they are common and should be in the place as the interfaces 2. removed obsolete and deprecated classes 3. Fixed XSSFWorkbook.cloneSheet. Now it makes a 'true' deep copy of a sheet 4. ooxml has a compile-time dependency on scratchpad, fixed build.xml to reflect that
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@708497 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 10:03:51 +00:00
Josh Micich
0a912203ab Small fix for bug in RecordInputStream.readAllContinuedRemainder() introduced in r707778. It seems like only BiffViewer was affected.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@708385 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 23:44:44 +00:00
Josh Micich
8a6625a237 Merged revisions 707953,708242,708252,708260,708262,708286 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk

........
  r707953 | josh | 2008-10-26 01:17:06 -0700 (Sun, 26 Oct 2008) | 1 line
  
  Bugzilla 45966 - added implementation for FIND function (patch from Torstein Tauno Svendsen).
........
  r708242 | nick | 2008-10-27 10:26:52 -0700 (Mon, 27 Oct 2008) | 1 line
  
  Link typo fix
........
  r708252 | nick | 2008-10-27 10:59:39 -0700 (Mon, 27 Oct 2008) | 1 line
  
  Patch from bug #46092 - fix hssf dev utility
........
  r708260 | josh | 2008-10-27 11:12:09 -0700 (Mon, 27 Oct 2008) | 1 line
  
  Removed obsolete class
........
  r708262 | josh | 2008-10-27 11:16:44 -0700 (Mon, 27 Oct 2008) | 1 line
  
  Bugzilla 46065 - added implementation for VALUE function
........
  r708286 | josh | 2008-10-27 12:24:42 -0700 (Mon, 27 Oct 2008) | 1 line
  
  Preparation for fix for bug 46009.  (Bug visible on ooxml branch, but this change will expose the problem)
........


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@708325 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 21:30:02 +00:00
Yegor Kozlov
6175b9b1fb improved XSSFName:check for name uniqueness, validate name name, more unit tests and javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@708306 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 20:28:44 +00:00
Josh Micich
007bc16d69 Preparation for fix for bug 46009. (Bug visible on ooxml branch, but this change will expose the problem)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@708286 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 19:24:42 +00:00
Josh Micich
e11be8a729 Bugzilla 46065 - added implementation for VALUE function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@708262 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 18:16:44 +00:00
Josh Micich
d8650576fb Removed obsolete class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@708260 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 18:12:09 +00:00
Nick Burch
8c00f57775 Patch from bug #46092 - fix hssf dev utility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@708252 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 17:59:39 +00:00
Nick Burch
9ab8e8bd0e Link typo fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@708242 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 17:26:52 +00:00
Yegor Kozlov
9276e99d9d 1. support for the ooxml maven dependencies:
added pom templates for openxml4j and ooxml-schemas, the maven-ooxml-dependencies task generates m1 distrib for both 2. excluded jar-14 and compile-14 from the main distrib cycle \n


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@708030 13f79535-47bb-0310-9956-ffa450edef68
2008-10-26 20:08:58 +00:00
Josh Micich
73f66de5ba Bugzilla 45966 - added implementation for FIND function (patch from Torstein Tauno Svendsen).
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707953 13f79535-47bb-0310-9956-ffa450edef68
2008-10-26 08:17:06 +00:00
Josh Micich
5965d73fd1 Merged revisions 707486,707519,707525,707534,707541-707542,707551,707585,707729,707778,707780,707802 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk

........
  r707486 | josh | 2008-10-23 15:28:05 -0700 (Thu, 23 Oct 2008) | 1 line
  
  Converted Ptgs to use LittleEndianOutput
........
  r707519 | josh | 2008-10-23 17:58:49 -0700 (Thu, 23 Oct 2008) | 1 line
  
  Fix for unicode string bug in StyleRecord.  Improvements to WriteAccessRecord.
........
  r707525 | josh | 2008-10-23 19:08:47 -0700 (Thu, 23 Oct 2008) | 1 line
  
  Further conversion of Ptg classes to use LittleEndian input/output interfaces
........
  r707534 | josh | 2008-10-23 20:47:42 -0700 (Thu, 23 Oct 2008) | 1 line
  
  added LittleEndianByteArrayInputStream
........
  r707541 | josh | 2008-10-23 21:30:38 -0700 (Thu, 23 Oct 2008) | 1 line
  
  Removed String methods from LittleEndianInput
........
  r707542 | josh | 2008-10-23 21:40:37 -0700 (Thu, 23 Oct 2008) | 1 line
  
  removing unused code
........
  r707551 | josh | 2008-10-23 22:46:29 -0700 (Thu, 23 Oct 2008) | 1 line
  
  Simplification and code clean-up
........
  r707585 | josh | 2008-10-24 01:58:00 -0700 (Fri, 24 Oct 2008) | 1 line
  
  General clean-up in LittleEndian util class. (Some optimization, some obsolete code removal)
........
  r707729 | josh | 2008-10-24 12:25:11 -0700 (Fri, 24 Oct 2008) | 1 line
  
  Fixed test suite name
........
  r707778 | josh | 2008-10-24 16:13:44 -0700 (Fri, 24 Oct 2008) | 1 line
  
  Optimisation of RecordInputStream - removed intermediate 8K byte buffer.  Expected performance gain was not realised immediately, so LittleEndianInput stuff has been pushed down into DocumentInputStream to help.
........
  r707780 | josh | 2008-10-24 16:19:26 -0700 (Fri, 24 Oct 2008) | 1 line
  
  should have been submitted with c707778
........
  r707802 | josh | 2008-10-24 18:02:37 -0700 (Fri, 24 Oct 2008) | 1 line
  
  Further simplification to RecordInputStream.  Mostly regarding Strings, ContinueRecords and LittleEndianInput
........


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@707945 13f79535-47bb-0310-9956-ffa450edef68
2008-10-26 07:18:17 +00:00
Josh Micich
2ccdeeaee6 Merged revisions 706772,707450,707481 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk

........
  r706772 | josh | 2008-10-21 14:25:50 -0700 (Tue, 21 Oct 2008) | 1 line
  
  Fix for bug 46053 - fixed evaluation cache dependency analysis when changing blank cells
........
  r707450 | josh | 2008-10-23 12:08:42 -0700 (Thu, 23 Oct 2008) | 1 line
  
  Fix for bug 45778 - made ObjRecord read sub-record ftLbsData properly
........
  r707481 | josh | 2008-10-23 14:42:05 -0700 (Thu, 23 Oct 2008) | 1 line
  
  fixed re-serialization of tAttrChoose
........


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@707942 13f79535-47bb-0310-9956-ffa450edef68
2008-10-26 06:40:36 +00:00
Yegor Kozlov
b09c6e3031 applied patches #46079, #46080 and #46081 by Gisella Bronzetti
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@707843 13f79535-47bb-0310-9956-ffa450edef68
2008-10-25 13:39:43 +00:00
Yegor Kozlov
97ceedbbf7 more cleanup and refactoring of the ooxml code:1. removed deprecated methods from xssf and interfaces
2. minimized the accessibility of internal constructors
3. more javadocs


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@707839 13f79535-47bb-0310-9956-ffa450edef68
2008-10-25 11:48:50 +00:00
Josh Micich
18e5d2d0db Merged revisions 703100,703197,703302,703596,703620,703645,703651,706540 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk

........
  r703100 | josh | 2008-10-09 01:33:54 -0700 (Thu, 09 Oct 2008) | 1 line
  
  Removed last occurrences of storing Ptg arrays in Stacks.  Some related clean-up.
........
  r703197 | josh | 2008-10-09 09:10:39 -0700 (Thu, 09 Oct 2008) | 1 line
  
  Should have been submitted with r703100 (changes to Ptg)
........
  r703302 | josh | 2008-10-09 17:40:58 -0700 (Thu, 09 Oct 2008) | 1 line
  
  Fix for bug 45964 - support for link formulas in Text Objects
........
  r703596 | josh | 2008-10-10 15:59:14 -0700 (Fri, 10 Oct 2008) | 1 line
  
  Made RecordInputStream final (major clean-up in test cases and BiffViewer)
........
  r703620 | josh | 2008-10-10 18:11:05 -0700 (Fri, 10 Oct 2008) | 2 lines
  
  fix for bug 45866 - allowed for change of unicode compression across Continue records
........
  r703645 | yegor | 2008-10-11 03:31:24 -0700 (Sat, 11 Oct 2008) | 1 line
  
  fixed error in eval.xml: use &lt; instead of '<'
........
  r703651 | yegor | 2008-10-11 05:01:42 -0700 (Sat, 11 Oct 2008) | 1 line
  
  set trunk version.id=3.3-alpha1
........
  r706540 | yegor | 2008-10-20 23:47:35 -0700 (Mon, 20 Oct 2008) | 1 line
  
  updated release version on the index page, started a new section in the change log
........


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@707807 13f79535-47bb-0310-9956-ffa450edef68
2008-10-25 01:47:25 +00:00
Josh Micich
8f89964d1d Further simplification to RecordInputStream. Mostly regarding Strings, ContinueRecords and LittleEndianInput
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707802 13f79535-47bb-0310-9956-ffa450edef68
2008-10-25 01:02:37 +00:00
Josh Micich
a55f5b5aaa should have been submitted with c707778
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707780 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 23:19:26 +00:00
Josh Micich
ffd6eab0da Optimisation of RecordInputStream - removed intermediate 8K byte buffer. Expected performance gain was not realised immediately, so LittleEndianInput stuff has been pushed down into DocumentInputStream to help.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707778 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 23:13:44 +00:00
Josh Micich
56a142c735 Fixed test suite name
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707729 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 19:25:11 +00:00
Josh Micich
70f4ca4e9c General clean-up in LittleEndian util class. (Some optimization, some obsolete code removal)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707585 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 08:58:00 +00:00
Josh Micich
f175e62e37 Simplification and code clean-up
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707551 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 05:46:29 +00:00
Josh Micich
9d306f26d0 removing unused code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707542 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 04:40:37 +00:00
Josh Micich
a09b170ad4 Removed String methods from LittleEndianInput
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707541 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 04:30:38 +00:00
Josh Micich
21a68aae0e added LittleEndianByteArrayInputStream
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707534 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 03:47:42 +00:00
Josh Micich
326cf2c32d Further conversion of Ptg classes to use LittleEndian input/output interfaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707525 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 02:08:47 +00:00
Josh Micich
09fead1ca6 Fix for unicode string bug in StyleRecord. Improvements to WriteAccessRecord.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707519 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 00:58:49 +00:00
Josh Micich
812aded595 Converted Ptgs to use LittleEndianOutput
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707486 13f79535-47bb-0310-9956-ffa450edef68
2008-10-23 22:28:05 +00:00
Josh Micich
1369bb9314 fixed re-serialization of tAttrChoose
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707481 13f79535-47bb-0310-9956-ffa450edef68
2008-10-23 21:42:05 +00:00
Josh Micich
9f1ad85e0e Fix for bug 45778 - made ObjRecord read sub-record ftLbsData properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707450 13f79535-47bb-0310-9956-ffa450edef68
2008-10-23 19:08:42 +00:00