Commit Graph

1435 Commits

Author SHA1 Message Date
Rainer Klute ff008b3ae9 HPSF-related beautification
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391555 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 07:26:52 +00:00
Nick Burch 4850277501 Convert HWPFDocument to having POIDocument as its parent
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391365 13f79535-47bb-0310-9956-ffa450edef68
2006-04-04 17:02:14 +00:00
Nick Burch 7fa4feb4bb Create a new Superclass, POIDocument, which handles the property (hpsf) stuff which was previously done by HSLFSlideShow. Add tests for this, and convert HSLFSlideShow to using it
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391363 13f79535-47bb-0310-9956-ffa450edef68
2006-04-04 16:50:04 +00:00
Nick Burch 59121bead0 Prevent infinite recursion (leading to stack overflow) on broken documents where a PAP claims to be its own parent
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391084 13f79535-47bb-0310-9956-ffa450edef68
2006-04-03 16:46:01 +00:00
Nick Burch b57714f465 Add more tests to ensure the IDs are still correct after writing out and reading back in again
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389292 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 21:42:13 +00:00
Nick Burch 2dde4d5774 Fixes/Updates to tests to go with big change in how slides/notes are tied to their text
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389287 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 21:36:00 +00:00
Nick Burch 5d1dd22d12 Big change in how we tie slides, notes, and their text together. Now make use of the RefID and SlideIndentifier values to pull everything together
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389286 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 21:35:37 +00:00
Nick Burch 19ff07c8a6 Have more useful information on how the different IDs are used
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389284 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 21:34:29 +00:00
Nick Burch 15eb02e851 From Bug 38544 - example ppt file where paragraph styles run out before char styles
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389282 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 21:31:31 +00:00
Nick Burch f2acaed7d3 Developer helper program to try to help match Slide IDs between SlidePersistAtoms and Slides
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389234 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 19:42:13 +00:00
Nick Burch b07df66836 More slide related tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388942 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 19:08:10 +00:00
Nick Burch 446971f3f4 Start to do more useful/sensible things with Slide IDs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388941 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 19:07:52 +00:00
Nick Burch 903bbb2ba6 Tests for adding multiple slides
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388930 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 17:37:36 +00:00
Nick Burch 85b8807855 Fix for adding multiple slides
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388929 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 17:37:04 +00:00
Nick Burch 29a5b2b56b Tests for patches from Yegor (Bug #39097)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388921 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 16:21:08 +00:00
Nick Burch 7067a15892 Patches from Yegor (Bug #39097), along with some sorting out of indenting, method positioning etc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388920 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 16:20:08 +00:00
Rainer Klute f213a74d5a Added a reference to Wotsit's Format.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388403 13f79535-47bb-0310-9956-ffa450edef68
2006-03-24 06:18:45 +00:00
Nick Burch 32740c0bb7 Also grab text from CStrings, which will get Comments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@387016 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 18:44:10 +00:00
Nick Burch 30cfb74730 Update docs with info on new code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@387014 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 18:43:40 +00:00
Nick Burch 624aaabf09 Fix for adding slides to sheets which already have some - get the SlidePersistAtom correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@387010 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 18:09:20 +00:00
Nick Burch 71eda449e6 Add Yegor's new slide functionality (see bug 38954), with a bit of refactoring
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@387009 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 17:54:17 +00:00
Nick Burch a193016805 Add Yegor's new slide functionality (see bug 38954), with a bit of refactoring
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@387008 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 17:53:49 +00:00
Nick Burch 9cf5b40189 Tests for improved child record adding code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386997 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 16:29:50 +00:00
Nick Burch 7222245b33 Improve the child record adding code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386996 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 16:29:31 +00:00
Nick Burch 7cfd0162a7 Test for new Environment record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386987 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 16:10:07 +00:00
Nick Burch eb53534020 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
2006-03-19 16:09:51 +00:00
Nick Burch b7827f2687 Test for new Document record class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386982 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 15:59:43 +00:00
Nick Burch e76e2d8526 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
2006-03-19 15:59:23 +00:00
Nick Burch 00011b1c8e 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
2006-03-19 14:52:41 +00:00
Nick Burch 40dc76c0cf Create empty StyleTextPropAtoms correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386975 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 14:52:23 +00:00
Nick Burch 8b1721c749 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
2006-03-18 18:56:38 +00:00
Nick Burch 7ce58ff9d1 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
2006-03-18 18:56:26 +00:00
Nick Burch d3a66fae07 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
2006-03-12 19:19:18 +00:00
Nick Burch 637078aca3 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
2006-03-12 19:18:59 +00:00
Rainer Klute bb7ebd3492 * 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
2006-03-03 16:57:55 +00:00
Nick Burch a7f8720bad Finish Comment2000Atom support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381168 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 20:52:54 +00:00
Nick Burch cf9efc65f2 Finish Comment2000Atom support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381167 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 20:52:42 +00:00
Nick Burch e27f1f5e98 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
2006-02-26 20:10:29 +00:00
Nick Burch 3d326684a4 Atom for 2000/XP style comments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381152 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 20:10:05 +00:00
Nick Burch c0f9638b82 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
2006-02-26 19:54:12 +00:00
Nick Burch 150ebbe994 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
2006-02-26 19:54:02 +00:00
Nick Burch 66e8e1b165 Do the javadoc comment correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377448 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 18:22:55 +00:00
Nick Burch 85610bdb25 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
2006-02-13 14:09:03 +00:00
Nick Burch 1e6596b0e0 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
2006-02-13 12:59:00 +00:00
Nick Burch c7793b1b6d 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
2006-02-13 12:58:52 +00:00
Nick Burch dde8b84f03 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
2006-02-12 19:01:16 +00:00
Nick Burch 4554ecffdf 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
2006-02-12 19:01:07 +00:00
Nick Burch 8d1355745b More rich text work
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377170 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 12:56:33 +00:00
Nick Burch 93cac8b323 More rich text work
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377169 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 12:56:26 +00:00
Rainer Klute 3dae9ee8ef 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
2006-02-08 20:50:58 +00:00
Nick Burch 3258401397 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
2006-02-06 13:12:02 +00:00
Nick Burch 64fc6d5410 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
2006-02-06 09:25:48 +00:00
Nick Burch 8579775f16 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
2006-02-06 09:25:24 +00:00
Nick Burch 11ddcf5db3 Enable CString records
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375076 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 18:38:29 +00:00
Nick Burch 33cc22eea2 CString support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375075 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 18:37:18 +00:00
Nick Burch 90f5ba6546 CString support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375074 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 18:36:59 +00:00
Nick Burch 7ec90fc228 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
2006-02-05 18:15:45 +00:00
Rainer Klute c6108bfa64 Minor API doc changes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@374728 13f79535-47bb-0310-9956-ffa450edef68
2006-02-03 19:08:14 +00:00
Nick Burch f0ce2543b1 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
2006-01-24 15:23:52 +00:00
Nick Burch c7b02dda46 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
2006-01-24 11:10:49 +00:00
Shawn Laubach a81ec9f00f 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
2006-01-22 21:16:27 +00:00
Nick Burch d8d15c3e20 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
2006-01-22 18:53:29 +00:00
Shawn Laubach aab09332e7 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
2006-01-21 16:36:18 +00:00
Jason Height 84e47bd7bb 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
2006-01-21 05:40:07 +00:00
Jason Height 1d00be095e 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
2006-01-17 09:08:23 +00:00
Nick Burch 4fb1a3e4fe 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
2006-01-16 18:27:51 +00:00
Nick Burch c2a41112ab 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
2006-01-16 18:27:37 +00:00
Nick Burch 3ab6d6c4a8 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
2006-01-16 18:19:05 +00:00
Jason Height 7758ae37db BUG 37056 & BUG 37058 fixed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@368554 13f79535-47bb-0310-9956-ffa450edef68
2006-01-13 02:19:36 +00:00
Jason Height 8e822e3baf 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
2006-01-05 07:29:36 +00:00
Nick Burch 7ce353785a 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
2006-01-03 11:59:43 +00:00
Nick Burch 427c2619da 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
2006-01-03 11:57:15 +00:00
Nick Burch 730cbcd0d3 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
2006-01-03 11:54:38 +00:00
Jason Height b57336834b 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
2006-01-03 11:41:36 +00:00
Jason Height b55089d607 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
2006-01-03 07:24:01 +00:00
Nick Burch ffb888bc9e More rich text related tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353801 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 22:23:28 +00:00
Nick Burch e805a38c10 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
2005-11-29 22:22:13 +00:00
Nick Burch d875a88d28 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
2005-11-29 21:18:59 +00:00
Nick Burch f3b0f86095 Simple rich text sample PPT file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353798 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 20:35:46 +00:00
Nick Burch f7a9a1ca7b 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
2005-11-24 10:46:45 +00:00
Nick Burch efbf7f9f5d 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
2005-11-13 17:01:54 +00:00
Nick Burch b132e8d562 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
2005-11-13 17:01:21 +00:00
Nick Burch ab08265082 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
2005-11-13 13:33:10 +00:00
Nick Burch d70b1efce3 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
2005-11-13 13:29:27 +00:00
Nick Burch cf4e00a052 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
2005-11-13 13:28:34 +00:00
Nick Burch 67901ee8f9 Tests for updated RecordContainer
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353791 13f79535-47bb-0310-9956-ffa450edef68
2005-11-07 23:03:24 +00:00
Nick Burch dc06a38d0a 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
2005-11-07 23:03:05 +00:00
Nick Burch 8e1d29cd39 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
2005-11-07 22:26:44 +00:00
Nick Burch 3b6297c63f 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
2005-11-07 22:24:15 +00:00
Nick Burch aa0705ea2e 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
2005-09-17 16:44:00 +00:00
Nick Burch a5d4a16967 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
2005-09-17 15:40:15 +00:00
Nick Burch c508058158 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
2005-09-05 09:34:09 +00:00
Nick Burch d4add2e368 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
2005-09-05 09:34:07 +00:00
Nick Burch 08276ffe43 NCB: Updated documentation on StyleTextPropAtom
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353783 13f79535-47bb-0310-9956-ffa450edef68
2005-09-04 20:09:11 +00:00
Nick Burch 66eba605c6 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
2005-09-04 19:26:40 +00:00
Nick Burch c0eac52cd9 Handle internal representation duplication correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353781 13f79535-47bb-0310-9956-ffa450edef68
2005-09-04 19:25:02 +00:00
Jason Height 977c73b07a BitfieldFactory update
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353780 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 03:50:24 +00:00
Jason Height fabc6ef583 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
2005-09-02 03:49:41 +00:00
Jason Height b0f692b92c 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
2005-09-02 03:48:31 +00:00
Jason Height d462aa3f80 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
2005-09-02 03:41:40 +00:00