Am Mittwoch, den 29.12.2004, 14:49 -0600 schrieb Abhay Chaudhary:
> The way I was trying to do this was to convert extract the contents of
> the document by using POI. I am able to get the contents out by using
> POI but I am not able to get the name of the file out (e.g. "My
> Profile.pdf"). I traversed thorugh the various parts of the compound
> document format (by using DocFile Viewer tool of visual studio and
> POIBrowser tool that comes with POI) and found that the OlePres000
> section contains the name of the file stored for non office documents
> (i.e. everything except word, excel and powerpoint files). I have seen
> classes in POI to extract SummaryInformation and
> DocumentSummaryInformation. I believe the OlePress000 pat contains
> information in a similar format. So I was wondering is there a class
> already present or under development which I can use to extract this
> information and get the title of the file.

Unfortunately the OlePress000 entry is not a property set stream like
SummaryInformation or DocumentSummaryInformation. So you cannot process
it with POI's HPSF. You should try to get information about OlePress000
from the vendor of the application that wrote the OlePress000 entry or
try to reverse engineer the format.

Best regards
Rainer Klute

                           Rainer Klute IT-Consulting GmbH
  Dipl.-Inform.
  Rainer Klute             E-Mail:  [EMAIL PROTECTED]
  K�rner Grund 24          Telefon: +49 172 2324824
D-44143 Dortmund           Telefax: +49 231 5349423

Softwarepatente verhindern: http://www.nosoftwarepatents.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to