Bug 39110 - [PATCH] expose SummaryInformation and DocumentSummaryInformation from HWPFDocument
Summary: [PATCH] expose SummaryInformation and DocumentSummaryInformation from HWPFDoc...
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HWPF (show other bugs)
Version: unspecified
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-26 23:42 UTC by Matthew Daniel
Modified: 2006-04-04 11:06 UTC (History)
0 users



Attachments
Patch against trunk to expose SummaryInformation from HWPFDocument (2.69 KB, patch)
2006-03-26 23:43 UTC, Matthew Daniel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Daniel 2006-03-26 23:42:51 UTC
The attached patch exposes the information in \u0005SummaryInformation and
\u0005DocumentSummaryInformation as their HPSF value objects.

I have tested this against 196 real-world Word Documents with great success, and
it passes all the "ant clean-dist" unit tests.

I didn't know what the Right Thing to Do(tm) was for the numerous exceptions
that PropertySetFactory throws, so that's an Apache TODO.
Comment 1 Matthew Daniel 2006-03-26 23:43:34 UTC
Created attachment 17990 [details]
Patch against trunk to expose SummaryInformation from HWPFDocument
Comment 2 Nick Burch 2006-04-04 18:06:45 UTC
I've created a new parent for HSLFSlideShow and HWPFDocument, POIDocument, which
exposes the DocumentSummaryInformation and SummaryInformation (in the way that
HSLFSlideShow did).

If you grab the latest svn, you should be able to get hold of the Summary
Information nice and easily.