Commit Graph

15 Commits

Author SHA1 Message Date
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
Rainer Klute
f94bad29e3 Some code and documentation cleanup.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353584 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 15:20:08 +00:00
Glen Stampoultzis
a4047ad573 New licence changes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353545 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 13:05:39 +00:00
Rainer Klute
e237bc3edd - Added Robert Flaherty's method getCustomProperties() (refactored)
- Got rid of the PropertySet instance variable sectionCount. Use getSectionCount() instead!
- Minor fixes


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353409 13f79535-47bb-0310-9956-ffa450edef68
2003-10-23 20:44:24 +00:00
Rainer Klute
f85ef3c94e HPSF writing capability added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353321 13f79535-47bb-0310-9956-ffa450edef68
2003-08-30 09:13:53 +00:00
Rainer Klute
7e303c76c2 Javadoc, formatting and style improvements
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353280 13f79535-47bb-0310-9956-ffa450edef68
2003-08-02 19:02:28 +00:00
Rainer Klute
9ccba56e8e First preparations for HPSF writing functionality.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353013 13f79535-47bb-0310-9956-ffa450edef68
2003-02-22 14:27:16 +00:00
Rainer Klute
d9ef0d47cf HPSF: Reading Unicode properties are supported now.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352933 13f79535-47bb-0310-9956-ffa450edef68
2002-12-10 06:15:20 +00:00
Andrew C. Oliver
46a9bd9bff surgery
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352612 13f79535-47bb-0310-9956-ffa450edef68
2002-05-11 14:47:24 +00:00
Rainer Klute
2ac503512a Enhancements from Drew for boolean properties. Plus doc change for DWord.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352594 13f79535-47bb-0310-9956-ffa450edef68
2002-05-03 07:29:09 +00:00
Rainer Klute
fcd67c04e8 Return type of getScale() fixed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352585 13f79535-47bb-0310-9956-ffa450edef68
2002-05-02 16:03:41 +00:00
Rainer Klute
54a2c116c0 Correct return type for getLinksDirty() - but it is still unimplemented.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352582 13f79535-47bb-0310-9956-ffa450edef68
2002-05-02 08:11:10 +00:00
Rainer Klute
8961539973 Added Drew's thumbnail enhancements.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352578 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 09:31:52 +00:00
Andrew C. Oliver
416f094bdd applied 8632
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352567 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 03:51:03 +00:00
mjohnson
66ab90f0db Added Rainer Klute's poibrowser utility and hpsf packages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352095 13f79535-47bb-0310-9956-ffa450edef68
2002-02-14 04:00:59 +00:00