]> source.dussan.org Git - poi.git/log
poi.git
18 years agoAdd an Environment record, and make the code simpler
Nick Burch [Sun, 19 Mar 2006 16:09:51 +0000 (16:09 +0000)]
Add an Environment record, and make the code simpler

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386986 13f79535-47bb-0310-9956-ffa450edef68

18 years agoTest for new Document record class
Nick Burch [Sun, 19 Mar 2006 15:59:43 +0000 (15:59 +0000)]
Test for new Document record class

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386982 13f79535-47bb-0310-9956-ffa450edef68

18 years agoCreate a Document record class, to do a lot of the common Document stuff for us
Nick Burch [Sun, 19 Mar 2006 15:59:23 +0000 (15:59 +0000)]
Create a Document record class, to do a lot of the common Document stuff for us

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386981 13f79535-47bb-0310-9956-ffa450edef68

18 years agoTests to ensure we create empty StyleTextPropAtoms correctly
Nick Burch [Sun, 19 Mar 2006 14:52:41 +0000 (14:52 +0000)]
Tests to ensure we create empty StyleTextPropAtoms correctly

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386976 13f79535-47bb-0310-9956-ffa450edef68

18 years agoCreate empty StyleTextPropAtoms correctly
Nick Burch [Sun, 19 Mar 2006 14:52:23 +0000 (14:52 +0000)]
Create empty StyleTextPropAtoms correctly

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386975 13f79535-47bb-0310-9956-ffa450edef68

18 years agoTests for getting and changing the font of a rich text run
Nick Burch [Sat, 18 Mar 2006 18:56:38 +0000 (18:56 +0000)]
Tests for getting and changing the font of a rich text run

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386873 13f79535-47bb-0310-9956-ffa450edef68

18 years agoSupport for getting and changing the font of a rich text run
Nick Burch [Sat, 18 Mar 2006 18:56:26 +0000 (18:56 +0000)]
Support for getting and changing the font of a rich text run

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386872 13f79535-47bb-0310-9956-ffa450edef68

18 years agoTests for creating a new Comment2000 record
Nick Burch [Sun, 12 Mar 2006 19:19:18 +0000 (19:19 +0000)]
Tests for creating a new Comment2000 record

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@385356 13f79535-47bb-0310-9956-ffa450edef68

18 years agoSupport for creating a new Comment2000 record
Nick Burch [Sun, 12 Mar 2006 19:18:59 +0000 (19:18 +0000)]
Support for creating a new Comment2000 record

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@385355 13f79535-47bb-0310-9956-ffa450edef68

18 years ago* Writing support added to the SummaryInformation and DocumentSummaryInformation...
Rainer Klute [Fri, 3 Mar 2006 16:57:55 +0000 (16:57 +0000)]
* Writing support added to the SummaryInformation and DocumentSummaryInformation classes. These classes now have methods for setting and removing properties. Coherent extensions are:
** Documentation section about writing standard properties added to the HPSF HOW-TO.
** Example application added showing how to modify the document summary information.
** Testcases added for testing modifying summary information and document summary information.
** PropertySetFactory extended to create SummaryInformation and DocumentSummaryInformation instances.

* Added MutablePropertySet.write(DirectoryEntry, String) to ease writing a property set to a POI filesystem document.

* Improved codepage handling.

* Bug fixed: Integral values were read and written as unsigned instead of signed.

* Reworked the mapping between variant types and Java types: Variant.VT_I4 is mapped to Integer now and Variant.VT_I8 to Long. This might cause incompatibilities if you are doing low-level HPSF programming.

* Changed SectionIDMap.DOCUMENT_SUMMARY_INFORMATION_ID from a byte[] to a byte[][] in order to contain the format ID of the first and the second section. This is an incompatible change!

* Added PropertySet.getFirstSection(). This method is similar to getSingleSection() won't choke if the property set has more than one section.

* Support for low-level reading and writing of Variant.VT_I8 type properties added.

* Unnecessary casts removed.

* Poibrowser's display format changed slightly.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@382887 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFinish Comment2000Atom support
Nick Burch [Sun, 26 Feb 2006 20:52:54 +0000 (20:52 +0000)]
Finish Comment2000Atom support

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381168 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFinish Comment2000Atom support
Nick Burch [Sun, 26 Feb 2006 20:52:42 +0000 (20:52 +0000)]
Finish Comment2000Atom support

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381167 13f79535-47bb-0310-9956-ffa450edef68

18 years agoTests for Atom for 2000/XP style comments
Nick Burch [Sun, 26 Feb 2006 20:10:29 +0000 (20:10 +0000)]
Tests for Atom for 2000/XP style comments

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381153 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAtom for 2000/XP style comments
Nick Burch [Sun, 26 Feb 2006 20:10:05 +0000 (20:10 +0000)]
Atom for 2000/XP style comments

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381152 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd support for converting to/from SYSTEMTIME dates
Nick Burch [Sun, 26 Feb 2006 19:54:12 +0000 (19:54 +0000)]
Add support for converting to/from SYSTEMTIME dates

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381144 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd support for converting to/from SYSTEMTIME dates
Nick Burch [Sun, 26 Feb 2006 19:54:02 +0000 (19:54 +0000)]
Add support for converting to/from SYSTEMTIME dates

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381143 13f79535-47bb-0310-9956-ffa450edef68

18 years agoDo the javadoc comment correctly
Nick Burch [Mon, 13 Feb 2006 18:22:55 +0000 (18:22 +0000)]
Do the javadoc comment correctly

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377448 13f79535-47bb-0310-9956-ffa450edef68

18 years agoUpdate scratchpad link, and mention extractor for hwpf
Nick Burch [Mon, 13 Feb 2006 14:09:03 +0000 (14:09 +0000)]
Update scratchpad link, and mention extractor for hwpf

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377382 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFriendly wrapper on HWPF for extracting text from Word Documents
Nick Burch [Mon, 13 Feb 2006 12:59:00 +0000 (12:59 +0000)]
Friendly wrapper on HWPF for extracting text from Word Documents

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377372 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFriendly wrapper on HWPF for extracting text from Word Documents
Nick Burch [Mon, 13 Feb 2006 12:58:52 +0000 (12:58 +0000)]
Friendly wrapper on HWPF for extracting text from Word Documents

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377371 13f79535-47bb-0310-9956-ffa450edef68

18 years agoStart to support friendly usermodel interface to rich text character properties
Nick Burch [Sun, 12 Feb 2006 19:01:16 +0000 (19:01 +0000)]
Start to support friendly usermodel interface to rich text character properties

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377216 13f79535-47bb-0310-9956-ffa450edef68

18 years agoStart to support friendly usermodel interface to rich text character properties
Nick Burch [Sun, 12 Feb 2006 19:01:07 +0000 (19:01 +0000)]
Start to support friendly usermodel interface to rich text character properties

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377215 13f79535-47bb-0310-9956-ffa450edef68

18 years agoMore rich text work
Nick Burch [Sun, 12 Feb 2006 12:56:33 +0000 (12:56 +0000)]
More rich text work

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377170 13f79535-47bb-0310-9956-ffa450edef68

18 years agoMore rich text work
Nick Burch [Sun, 12 Feb 2006 12:56:26 +0000 (12:56 +0000)]
More rich text work

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377169 13f79535-47bb-0310-9956-ffa450edef68

18 years agoReplaced "CVS" in the top-lvel files by "Subversion".
Rainer Klute [Wed, 8 Feb 2006 20:50:58 +0000 (20:50 +0000)]
Replaced "CVS" in the top-lvel files by "Subversion".

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@376062 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFix for bug 38526 - If the record claims to be longer than the remaining data, just...
Nick Burch [Mon, 6 Feb 2006 13:12:02 +0000 (13:12 +0000)]
Fix for bug 38526 - If the record claims to be longer than the remaining data, just return null and ignore it

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375274 13f79535-47bb-0310-9956-ffa450edef68

18 years agoRecord level support for PPT 2000/XP comments (but not yet comment summaries or details)
Nick Burch [Mon, 6 Feb 2006 09:25:48 +0000 (09:25 +0000)]
Record level support for PPT 2000/XP comments (but not yet comment summaries or details)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375233 13f79535-47bb-0310-9956-ffa450edef68

18 years agoRecord level support for PPT 2000/XP comments (but not yet comment summaries or details)
Nick Burch [Mon, 6 Feb 2006 09:25:24 +0000 (09:25 +0000)]
Record level support for PPT 2000/XP comments (but not yet comment summaries or details)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375232 13f79535-47bb-0310-9956-ffa450edef68

18 years agoEnable CString records
Nick Burch [Sun, 5 Feb 2006 18:38:29 +0000 (18:38 +0000)]
Enable CString records

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375076 13f79535-47bb-0310-9956-ffa450edef68

18 years agoCString support
Nick Burch [Sun, 5 Feb 2006 18:37:18 +0000 (18:37 +0000)]
CString support

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375075 13f79535-47bb-0310-9956-ffa450edef68

18 years agoCString support
Nick Burch [Sun, 5 Feb 2006 18:36:59 +0000 (18:36 +0000)]
CString support

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375074 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd placeholder definitions for 2000/XP Comments
Nick Burch [Sun, 5 Feb 2006 18:15:45 +0000 (18:15 +0000)]
Add placeholder definitions for 2000/XP Comments

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375069 13f79535-47bb-0310-9956-ffa450edef68

18 years agoMinor API doc changes
Rainer Klute [Fri, 3 Feb 2006 19:08:14 +0000 (19:08 +0000)]
Minor API doc changes

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@374728 13f79535-47bb-0310-9956-ffa450edef68

18 years agodoap file for POI for projects.apache.org
Henri Yandell [Thu, 26 Jan 2006 14:59:32 +0000 (14:59 +0000)]
doap file for POI for projects.apache.org

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@372536 13f79535-47bb-0310-9956-ffa450edef68

18 years agoExpose the POIFSFileSystem constructor, so people who already have one find life...
Nick Burch [Tue, 24 Jan 2006 15:23:52 +0000 (15:23 +0000)]
Expose the POIFSFileSystem constructor, so people who already have one find life easier

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371938 13f79535-47bb-0310-9956-ffa450edef68

18 years agoBinaryTagData seems to contain records, but it isn't tagged as doing so. Try stepping...
Nick Burch [Tue, 24 Jan 2006 11:10:49 +0000 (11:10 +0000)]
BinaryTagData seems to contain records, but it isn't tagged as doing so. Try stepping in anyway

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371892 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFixed an issue with it not compiling.
Shawn Laubach [Sun, 22 Jan 2006 21:16:27 +0000 (21:16 +0000)]
Fixed an issue with it not compiling.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371390 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFix from CVS import - ensure PPT test files are stored as binary
Nick Burch [Sun, 22 Jan 2006 18:53:29 +0000 (18:53 +0000)]
Fix from CVS import - ensure PPT test files are stored as binary

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371348 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdded the ability to set the default style for an individual column in a sheet.
Shawn Laubach [Sat, 21 Jan 2006 16:36:18 +0000 (16:36 +0000)]
Added the ability to set the default style for an individual column in a sheet.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371080 13f79535-47bb-0310-9956-ffa450edef68

18 years agoBug37630: SQUASHED! Array Ptgs now implemented (at least the read and write functiona...
Jason Height [Sat, 21 Jan 2006 05:40:07 +0000 (05:40 +0000)]
Bug37630: SQUASHED! Array Ptgs now implemented (at least the read and write functionality. No means to modify (yet!))

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@370987 13f79535-47bb-0310-9956-ffa450edef68

18 years agoBUG 38230 Fixed. Confirmed that the typecast from byte to char caused errors. Added...
Jason Height [Tue, 17 Jan 2006 09:08:23 +0000 (09:08 +0000)]
BUG 38230 Fixed. Confirmed that the typecast from byte to char caused errors. Added testcase.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@369729 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFrom Bug 38289: Yegor's support for pictures embeded in PPT files
Nick Burch [Mon, 16 Jan 2006 18:27:51 +0000 (18:27 +0000)]
From Bug 38289: Yegor's support for pictures embeded in PPT files

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@369541 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFrom Bug 38289: Yegor's support for pictures embeded in PPT files
Nick Burch [Mon, 16 Jan 2006 18:27:37 +0000 (18:27 +0000)]
From Bug 38289: Yegor's support for pictures embeded in PPT files

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@369540 13f79535-47bb-0310-9956-ffa450edef68

18 years agoSample data from bug 38283, for a PPT file with an embeded picture in it
Nick Burch [Mon, 16 Jan 2006 18:19:05 +0000 (18:19 +0000)]
Sample data from bug 38283, for a PPT file with an embeded picture in it

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@369539 13f79535-47bb-0310-9956-ffa450edef68

18 years agoBUG 37056 & BUG 37058 fixed
Jason Height [Fri, 13 Jan 2006 02:19:36 +0000 (02:19 +0000)]
BUG 37056 & BUG 37058 fixed

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@368554 13f79535-47bb-0310-9956-ffa450edef68

18 years agoMultiple clone of same sheet now generates unique sheet name BUG 37416 fixed.
Jason Height [Thu, 5 Jan 2006 07:29:36 +0000 (07:29 +0000)]
Multiple clone of same sheet now generates unique sheet name BUG 37416 fixed.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@366110 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd (and throw) an exception if the powerpoint file is corrupt in a way that some...
Nick Burch [Tue, 3 Jan 2006 11:59:43 +0000 (11:59 +0000)]
Add (and throw) an exception if the powerpoint file is corrupt in a way that some seem to be (first record is of type 0000, and length is 0xFFFF)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@365617 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd (and throw) an exception if the powerpoint file is corrupt in a way that some...
Nick Burch [Tue, 3 Jan 2006 11:57:15 +0000 (11:57 +0000)]
Add (and throw) an exception if the powerpoint file is corrupt in a way that some seem to be (first record is of type 0000, and length is 0xFFFF)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@365616 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdd (and throw) an exception if the powerpoint file is corrupt in a way that some...
Nick Burch [Tue, 3 Jan 2006 11:54:38 +0000 (11:54 +0000)]
Add (and throw) an exception if the powerpoint file is corrupt in a way that some seem to be (first record is of type 0000, and length is 0xFFFF)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@365615 13f79535-47bb-0310-9956-ffa450edef68

18 years agoFixes to Unicode support. Believe that most unicode issues are now fixed. Bug 37622...
Jason Height [Tue, 3 Jan 2006 11:41:36 +0000 (11:41 +0000)]
Fixes to Unicode support.  Believe that most unicode issues are now fixed. Bug 37622 & Bug 22873 squashed.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@365609 13f79535-47bb-0310-9956-ffa450edef68

18 years agoAdded patch (along with fixes to it so that the unit tests work) for bug 37637
Jason Height [Tue, 3 Jan 2006 07:24:01 +0000 (07:24 +0000)]
Added patch (along with fixes to it so that the unit tests work) for bug 37637

Bug 37622 and 30319 should be fixed. Tested that Euro DataFormat now works.

Ill provide a euro symbol/unicode unit test shortly.

Numerous minor changes so eclipse doesnt give so many warnings (incomplete)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@365561 13f79535-47bb-0310-9956-ffa450edef68

18 years agoremoved line in the file to test svn commiting
Henri Yandell [Mon, 2 Jan 2006 14:43:34 +0000 (14:43 +0000)]
removed line in the file to test svn commiting

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@365352 13f79535-47bb-0310-9956-ffa450edef68

18 years agoMore rich text related tests
Nick Burch [Tue, 29 Nov 2005 22:23:28 +0000 (22:23 +0000)]
More rich text related tests

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353801 13f79535-47bb-0310-9956-ffa450edef68

18 years agoSome support for changing text in Rich text runs
Nick Burch [Tue, 29 Nov 2005 22:22:13 +0000 (22:22 +0000)]
Some support for changing text in Rich text runs

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353800 13f79535-47bb-0310-9956-ffa450edef68

18 years agoGet a bit further with building up RichTextRuns
Nick Burch [Tue, 29 Nov 2005 21:18:59 +0000 (21:18 +0000)]
Get a bit further with building up RichTextRuns

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353799 13f79535-47bb-0310-9956-ffa450edef68

18 years agoSimple rich text sample PPT file
Nick Burch [Tue, 29 Nov 2005 20:35:46 +0000 (20:35 +0000)]
Simple rich text sample PPT file

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353798 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix NPE in case when we can't find the Document atom: throw an IllegalState instead
Nick Burch [Thu, 24 Nov 2005 10:46:45 +0000 (10:46 +0000)]
Fix NPE in case when we can't find the Document atom: throw an IllegalState instead

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353797 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTest for extracting text from slide PPDrawings (to ensure bug 37451 is really fixed)
Nick Burch [Sun, 13 Nov 2005 17:01:54 +0000 (17:01 +0000)]
Test for extracting text from slide PPDrawings (to ensure bug 37451 is really fixed)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353796 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix for text runs from PPDrawings (bug 37451), as suggested by Yegor
Nick Burch [Sun, 13 Nov 2005 17:01:21 +0000 (17:01 +0000)]
Fix for text runs from PPDrawings (bug 37451), as suggested by Yegor

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353795 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTest data from Yegor Kozlov from bug 37451 - PPT file with text from a text box
Nick Burch [Sun, 13 Nov 2005 13:33:10 +0000 (13:33 +0000)]
Test data from Yegor Kozlov from bug 37451 - PPT file with text from a text box

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353794 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBasic tests for model.TextRun, and notes on what tests still need to
Nick Burch [Sun, 13 Nov 2005 13:29:27 +0000 (13:29 +0000)]
Basic tests for model.TextRun, and notes on what tests still need to
 be written for it

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353793 13f79535-47bb-0310-9956-ffa450edef68

19 years agoHandle saving unicode text where the underlying record was byte based, by
Nick Burch [Sun, 13 Nov 2005 13:28:34 +0000 (13:28 +0000)]
Handle saving unicode text where the underlying record was byte based, by
 swapping the record

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353792 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTests for updated RecordContainer
Nick Burch [Mon, 7 Nov 2005 23:03:24 +0000 (23:03 +0000)]
Tests for updated RecordContainer

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353791 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBit of refactoring - move child records into parent RecordContainer
Nick Burch [Mon, 7 Nov 2005 23:03:05 +0000 (23:03 +0000)]
Bit of refactoring - move child records into parent RecordContainer
 class, so we can then have more generic child record modification code

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353790 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSome further tests for rich text supporting code
Nick Burch [Mon, 7 Nov 2005 22:26:44 +0000 (22:26 +0000)]
Some further tests for rich text supporting code
(No tests as yet for rich text code, as that's still being worked on)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353789 13f79535-47bb-0310-9956-ffa450edef68

19 years agoLay some of the groundwork for model/usermodel support for rich text
Nick Burch [Mon, 7 Nov 2005 22:24:15 +0000 (22:24 +0000)]
Lay some of the groundwork for model/usermodel support for rich text
(note - RichTextRun is not fixed, and method signatures might well change)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353788 13f79535-47bb-0310-9956-ffa450edef68

19 years agoPass font details + character styling up to the model
Nick Burch [Sat, 17 Sep 2005 16:44:00 +0000 (16:44 +0000)]
Pass font details + character styling up to the model

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353787 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdded information from Yegor on font storage
Nick Burch [Sat, 17 Sep 2005 15:40:15 +0000 (15:40 +0000)]
Added information from Yegor on font storage

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353786 13f79535-47bb-0310-9956-ffa450edef68

19 years agoList Yegor as co-author on file, since his code contribution was used in the
Nick Burch [Mon, 5 Sep 2005 09:34:09 +0000 (09:34 +0000)]
List Yegor as co-author on file, since his code contribution was used in the
latest version fo the file

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353785 13f79535-47bb-0310-9956-ffa450edef68

19 years agoList Yegor as co-author on file, since his information on Font and Text
Nick Burch [Mon, 5 Sep 2005 09:34:07 +0000 (09:34 +0000)]
List Yegor as co-author on file, since his information on Font and Text
Styling is now included

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353784 13f79535-47bb-0310-9956-ffa450edef68

19 years agoNCB: Updated documentation on StyleTextPropAtom
Nick Burch [Sun, 4 Sep 2005 20:09:11 +0000 (20:09 +0000)]
NCB: Updated documentation on StyleTextPropAtom

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353783 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFinish off character style tests, and add paragraph style tests
Nick Burch [Sun, 4 Sep 2005 19:26:40 +0000 (19:26 +0000)]
Finish off character style tests, and add paragraph style tests

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353782 13f79535-47bb-0310-9956-ffa450edef68

19 years agoHandle internal representation duplication correctly
Nick Burch [Sun, 4 Sep 2005 19:25:02 +0000 (19:25 +0000)]
Handle internal representation duplication correctly

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353781 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBitfieldFactory update
Jason Height [Fri, 2 Sep 2005 03:50:24 +0000 (03:50 +0000)]
BitfieldFactory update

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353780 13f79535-47bb-0310-9956-ffa450edef68

19 years agoUpdated to use BitFieldFactory. Appologies for stepping outside my HSSF domain (wont...
Jason Height [Fri, 2 Sep 2005 03:49:41 +0000 (03:49 +0000)]
Updated to use BitFieldFactory. Appologies for stepping outside my HSSF domain (wont happen again ;-)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353779 13f79535-47bb-0310-9956-ffa450edef68

19 years agoPerformance and memory improvements:
Jason Height [Fri, 2 Sep 2005 03:48:31 +0000 (03:48 +0000)]
Performance and memory improvements:
1) using BitFieldFactory
2) HSSFCell doesnt hold onto stale UnicodeString values (gets latest from SST)
3) Default for Encoding in HSSFCell is "do nothing". This will mean duplicate copies of the UnicodeString will not be required, just to change the encoding. The default "string" encoding will be used.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353778 13f79535-47bb-0310-9956-ffa450edef68

19 years agoUnicodeString now does not do the peculiar new String(getBytes("Unicode"),"Unicode...
Jason Height [Fri, 2 Sep 2005 03:41:40 +0000 (03:41 +0000)]
UnicodeString now does not do the peculiar new String(getBytes("Unicode"),"Unicode") when serializing.

I doubt that this will have an effect on the serialization on non UTF8 platforms, but not having one of these to test on i dont know for 100%.

Please if anyone can try this with their code with a non-8bit character set please do and let us know of any issues

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353777 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdded a factory implementation for BitFields. Will save a bit of memory.
Jason Height [Fri, 2 Sep 2005 03:27:43 +0000 (03:27 +0000)]
Added a factory implementation for BitFields. Will save a bit of memory.

Patch to change all fields to use the factory comming soon.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353776 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemoved the containsLabels variable
Jason Height [Fri, 26 Aug 2005 03:45:55 +0000 (03:45 +0000)]
Removed the containsLabels variable

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353775 13f79535-47bb-0310-9956-ffa450edef68

19 years agoApplied patch to convert LabelRecords to LabelSSTRecords from bug19053
Jason Height [Fri, 26 Aug 2005 03:40:34 +0000 (03:40 +0000)]
Applied patch to convert LabelRecords to LabelSSTRecords from bug19053

Modified slightly so that not all of the records are checked.

Jason

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353774 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix for Bug#28328
Amol S. Deshmukh [Wed, 24 Aug 2005 16:26:20 +0000 (16:26 +0000)]
Fix for Bug#28328

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353773 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMinor javadoc update
Jason Height [Tue, 23 Aug 2005 03:44:59 +0000 (03:44 +0000)]
Minor javadoc update

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353772 13f79535-47bb-0310-9956-ffa450edef68

19 years agoWhy is there always one file that gets missed??
Jason Height [Thu, 18 Aug 2005 07:13:15 +0000 (07:13 +0000)]
Why is there always one file that gets missed??

Minor fix to correct testcase asd a result of Unicode patch

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353771 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMajor landing of the following changes: tags/AFTER_RICHTEXT@353769
Jason Height [Thu, 18 Aug 2005 07:06:44 +0000 (07:06 +0000)]
Major landing of the following changes:
1) Full implementation of UnicodeStrings
2) exposure of RichText strings to the usermodel
3) Modification to SSTRecord to support duplicates. Fixes a few bugs
4) RecordInputStream *smart* ?? handeling of continue records!

Phew This took 6 months on and off to put together. Just happy to commit somethig

Report any problems!

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353769 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd a few more tests tags/BEFORE_RICHTEXT@353767
Nick Burch [Sun, 14 Aug 2005 19:27:45 +0000 (19:27 +0000)]
Add a few more tests

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353767 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFor listing the contents of StyleTextPropAtom entries
Nick Burch [Sun, 14 Aug 2005 19:27:22 +0000 (19:27 +0000)]
For listing the contents of StyleTextPropAtom entries

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353766 13f79535-47bb-0310-9956-ffa450edef68

19 years agoImproved handling of BitMask TextProp entries
Nick Burch [Sun, 14 Aug 2005 19:26:48 +0000 (19:26 +0000)]
Improved handling of BitMask TextProp entries

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353765 13f79535-47bb-0310-9956-ffa450edef68

19 years agoUpdate tests to track updates in StyleTextPropAtom
Nick Burch [Sun, 14 Aug 2005 17:52:43 +0000 (17:52 +0000)]
Update tests to track updates in StyleTextPropAtom

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353764 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBig overhaul, with lots of help from Yegor
Nick Burch [Sun, 14 Aug 2005 17:51:46 +0000 (17:51 +0000)]
Big overhaul, with lots of help from Yegor

Now correctly handle all the different kinds of stylings, in their twin list format

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353763 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBetter handle the case of there not being enough data in the record to form
Nick Burch [Sun, 7 Aug 2005 15:26:26 +0000 (15:26 +0000)]
Better handle the case of there not being enough data in the record to form
a final CharacterStyle

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353762 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd some information on fonts, paragraph stylings etc. (Holds the latest
Nick Burch [Sun, 7 Aug 2005 15:04:46 +0000 (15:04 +0000)]
Add some information on fonts, paragraph stylings etc. (Holds the latest
knowledge as encapsulated in StyleTextPropAtom.java)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353761 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTests for Font support from Yegor, from Bug #35972
Nick Burch [Tue, 2 Aug 2005 17:16:46 +0000 (17:16 +0000)]
Tests for Font support from Yegor, from Bug #35972

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353760 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFont support from Yegor, from Bug #35972
Nick Burch [Tue, 2 Aug 2005 17:16:20 +0000 (17:16 +0000)]
Font support from Yegor, from Bug #35972

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353759 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd a partial test for changing style properties
Nick Burch [Mon, 1 Aug 2005 17:37:15 +0000 (17:37 +0000)]
Add a partial test for changing style properties

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353758 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd support for setting some of the style properties
Nick Burch [Mon, 1 Aug 2005 17:36:52 +0000 (17:36 +0000)]
Add support for setting some of the style properties

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353757 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTest code for the new Text Styling record class
Nick Burch [Sun, 31 Jul 2005 18:06:48 +0000 (18:06 +0000)]
Test code for the new Text Styling record class

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353756 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRead only support for paragraph styling, and the stylings of the text within it
Nick Burch [Sun, 31 Jul 2005 18:06:26 +0000 (18:06 +0000)]
Read only support for paragraph styling, and the stylings of the text within it

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353755 13f79535-47bb-0310-9956-ffa450edef68

19 years ago[35799] Added testXFIndexForColumn
Amol S. Deshmukh [Wed, 20 Jul 2005 14:12:51 +0000 (14:12 +0000)]
[35799] Added testXFIndexForColumn

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353754 13f79535-47bb-0310-9956-ffa450edef68

19 years ago[35799] Used getXFIndexForColAt(short ) to get the default ExtendedFormatRecord for...
Amol S. Deshmukh [Wed, 20 Jul 2005 14:12:24 +0000 (14:12 +0000)]
[35799] Used getXFIndexForColAt(short ) to get the default ExtendedFormatRecord for the cell

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353753 13f79535-47bb-0310-9956-ffa450edef68

19 years ago[35799] getXFIndexForColAt(short ) added
Amol S. Deshmukh [Wed, 20 Jul 2005 14:11:38 +0000 (14:11 +0000)]
[35799] getXFIndexForColAt(short ) added

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353752 13f79535-47bb-0310-9956-ffa450edef68