Hi Cracker,

On Wed, 2007-11-21 at 00:08 +0000, Cracker wrote:
> But where is it exactly?

I recommend you take a look at the code used for Tools > XML Filter
Settings > Save as Package, which creates an XML filter package as a jar
file, and jar is just another zip-based package format.  The code for
that is located in filter/source/xsltdialog/xmlfilterjar.cxx.

I wouldn't recommend taking a look at ODF's packaging code as it is
quite convoluted, but it uses an internal UNO API for zip packaging, and
its code is located in package/source/zippackage/*.  This API appears to
be modeled after Java's java.util.zip API from the look of it.

HTH.

Kohei

-- 
Kohei Yoshida - OpenOffice.org Engineer - Novell, Inc.
<[EMAIL PROTECTED]>

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

Reply via email to