Commit Graph

1818 Commits

Author SHA1 Message Date
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 4043f63b47 Copy HSLF resources over when compiling scratchpad
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388922 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 16:22:16 +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