poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <n...@torchbox.com>
Subject Document properties, HPSF and POIFileSystems
Date Tue, 04 Nov 2003 17:15:21 GMT
I'm trying to write some code to pull the information out of the 
SummaryInformation HPSF block in an Excel spreadsheet

Since I'm also getting information from the spreadsheet itself via the 
hssf.usermodel stuff, which accepts a POIFSFileSystem object, I thought 
I'd do something similar (rather than the eventfilesystem route described 
in docs/POI/hpsf/how-to.html)

Writing the code to go walk through the POI Filesystem was nice and easy, 
and I've got my DocumentNode corresponding to the \005SummaryInformation 
block.

My problem now is how to get this (or one of it's children) into a HPSF 
PropertySet

My DocumentNode has two children:
org.apache.poi.poifs.property.DocumentProperty, which contains a few children:
        -> Name          = "SummaryInformation"
        -> Property Type = 2
        -> Node Color    = 1
        -> Time 1        = 0
        -> Time 2        = 0

Found org.apache.poi.poifs.filesystem.POIFSDocument, which contains a 
string, which is a nicely formatted representation of the data, looking like
  00000000 FE FF 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................
  00000010 00 00 00 00 00 00 00 00 01 00 00 00 E0 85 9F F2 ................


So, does anyone know which of the above (or their children) I can use to 
build myself a HPSF PropertySet?

Thanks
Nick


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-user-help@jakarta.apache.org


Mime
View raw message