DO NOT REPLY [Bug 36111] New: - HPFS does not properly write custom properties to documents

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

DO NOT REPLY [Bug 36111] New: - HPFS does not properly write custom properties to documents

Bugzilla from bugzilla@apache.org
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG?
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36111>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND?
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36111

           Summary: HPFS does not properly write custom properties to
                    documents
           Product: POI
           Version: 3.0-dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HPFS
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


When adding custom properties to a MS Word 2000 document, the properties are not
displayed within Word nor the Windows Explorer. Custom means the properties
displayed on the "Custom" tab in the documents properties.

Comparing properties created with MS Word to HPFS with the
ReadCustomPropertySets demo results in some differences shown below.

HPFS created properties:

Property set stream "\DocumentSummaryInformation":
(Section 0 does not differ)

 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 World


MS Word created properties:

Property set stream "\DocumentSummaryInformation":

   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: [B@b6ece5
      Property ID: 2, type: 30, value: Hello World

This only occurs if the document has never had any custom properties before.

Sample documents can be found under

http://www.mathematik.uni-marburg.de/~billen/hpfsSample.zip

For more information see the thread "Problem adding custom information to
documents" on the POI users mailinglist.

--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/