On Mon, 2007-04-30 at 15:18 +0300, Alan Yaniger wrote: > Hi Caolan, > > Thanks, I'll check it out. You seem to imply that there's a better way > to open zipped files than to use zlib directly. Do I understand > correctly? If so, what's the better way?
If it's to work with .zip files then there's a UNO api for packages, and specifically for .zips i.e. http://api.openoffice.org/docs/common/ref/com/sun/star/packages/zip/module-ix.html and for an example see filter/source/xsltdialog/xmlfilterjar.cxx where a com.sun.star.packages.comp.ZipPackage service is retrieved and the contents of a .zip iterated over and, input streams created for some entries and their contents copied to some output streams which are backed by uncompressed normal local disk files. C. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
