
"Israel Fdez. Cabrera" <israel@segurmatica.com> wrote in message news:416D3069.2000407@segurmatica.com...
Hi, I'm working with the boost's IOStream library adding compression/decompression methods others than zip, gzip and bzip2.
Great! Please note that the officially released version will contain some small changes to the interfaces.
I'm working too adding support to OLE Compound Documents to the same library, I'd like to "extract" a containt
contained?
OLE Document using boost::io stream interface. The problem is I'm not sure how to "return or extract" more than one document or compressed file from a stream.
All boost examples boost::io::copy() a whole stream to another but not just part of it. I'll appreciate any help, best regards and thank you for such a helpful
If I understand you correctly, with the current library you need to use the COM interface to get an instance of IStream which can then be easily wrapped as a seekable resource. library I wrote another library with direct support for hierarchical filesystems such as zip files or OLE Compound Documents. A modified version might be a candidate for includion in Boost at some future date. I haven't looked at it in a while, but I believe it supported the following usage: datastream io("ole:C:/file.ole!/directory/hello_word.txt, mode); // Write to the file with path "/directory/hello_world.txt" // in the OLE compound document "C:/file.ole". io << ... You could also create an archive object and iterate through it. archive ar("ole", "C:/file.ole"); for (archive::iterator it = ar.begin(); ... ) ...
Israel
Jonathan --------------------------------------------------------------------------------
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost