On Mon, 27 Mar 2006, Budi Darmawan wrote:
I am investigating how to automatically creates OLE links from a
PowerPoint presentation into a ADOBE FrameMaker document. The slides are
created as OLE objects. When I extract the OLE object, it is a POI fs
with 3 streams: \003FrameMakerSiteData, \001Ole and \002OlePres000; The
\001Ole streams contains the monikers and other information on accessing
the slide. While I have been able to understand some of the contents, I
am still confused with most of them :).
The two things I'd suggest trying (though I suspect you might've done both
of these!)
1) Pass the OLE object through org.apache.poi.poifs.dev.POIFSViewer, and
take a look at what's in there
2) Change org.apache.poi.hslf.dev.SlideShowDumper, so it points to
the stream of interest, instead of the normal PowerPoint stream
(~line 130)
If the contents are record based, this will give you the record tree
If it does contain any normal PPT records, then you should be fine to use
the normal PPT record code to create handlers for them. I suspect though
that you'll need to code up support for some new kinds of records (do
contribute them back if we don't support them yet!)
Nick
---------------------------------------------------------------------
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/