Rainer Klute schrieb:
Am Mittwoch, den 03.08.2005, 10:12 +0200 schrieb Sven Billen:
No, it didn't work. I guess something is missing. I compared two
documents with the same properties. The first one created with MS
Word, the second with POI. The section created with MS Word
contains four properties, the other one just three. The fourth
property is displayed as
Property ID: -2147483648, type: 19, value: [EMAIL PROTECTED]
That's not a valid property ID or at least not a usual one. How did
you create that property?
I opened MS Word 2000, created a new document, saved it to disk and then
used the Windows Explorer to add the property (File -> Properties ->
Custom. Name of the property is "info" and value is "Hello World".
ReadCustomPropertySet displays
Section 1:
Format ID: 00000000 D5 CD D5 05 2E 9C 10 1B 93 97 08 00 2B 2C F9
AE ............+,..
No. of properties: 4
Property ID: 0, type: 0, value: {2=info}
Property ID: 1, type: 2, value: 65001
Property ID: -2147483648, type: 19, value: [EMAIL PROTECTED]
Property ID: 2, type: 30, value: Hello World
When I create the property with HPFS I get
Section 1:
Format ID: 00000000 D5 CD D5 02 2E 9C 10 1B 93 97 08 00 2B 2C F9
AE ............+,..
No. of properties: 3
Property ID: 0, type: 0, value: {2=info}
Property ID: 1, type: 2, value: 1252
Property ID: 2, type: 30, value: Hello Welt
Regards,
Sven
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/