Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Win32 Strustured Storage via File - Properties - Summary

by traveler (Parson)
on Sep 07, 2001 at 18:46 UTC ( #110902=note: print w/replies, xml ) Need Help??


in reply to Win32 Strustured Storage via File - Properties - Summary

Here are two potentially useful sources. Not perl, but maybe "just" in need of some .xs files.

xlHtml This project displays Excel ss as html docs. It works pretty well. There is also a pptHtml -- not so great. It uses the (open source) Cole library to read the files and comes with some utilites to read and analyze the files and their internal filesystems.

wotsit seems to have some info on file formats that might be useful.

HTH, --traveler

  • Comment on Re: Win32 Strustured Storage via File - Properties - Summary

Replies are listed 'Best First'.
Re: Re: Win32 Strustured Storage via File - Properties - Summary
by zebedee (Pilgrim) on Sep 07, 2001 at 19:05 UTC
    I was reading about the Summary info only the other night in a Delphi COM Programming book. Something about Property Sheets. In a DocFile, there are streams directly off the root (where the stream name starts with, I think, 0x05). The stream you want is <0x05>SummaryInformation. If you've got Visual Studio, you can use the DocFile Viewer to look at these streams. You *should* be able to use OLE::Storage or OLE::Storage_Lite to get into these (but I've never tried it myself). I'm not sure if you are trying for a pure Perl i.e. platform-independent solution or a Windows-only one (in which case you could write a helper DLL). The underlying API calls you need are StgOpenStorage and then using the returned IStorage interface, OpenStream (dunno if you could use Win32::API with these calls?).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://110902]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2021-10-20 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (81 votes). Check out past polls.

    Notices?