Hi there,
after hibernating for a while I've started to finish where I left off in
removing the Java dependency from xsltfilter (was EasyHack De-Java-Ise
flat xml export). I've ported the Java code from XSLTFilterOLEExtracter
(sic) to C++ and found there's a generic C++ interface to zlib hidden in
component/package (components/package/source/zipapi). It features
Inflater/Deflater classes that work pretty much like the ones in the Java
runtime. I figured how to compile against that by delivering the header
files to solver, but fail to link against the libpackage2.so library that
seems to contain the classes. The Zip implementation also seems to be
exposed as a UNO service, but that assumes I'm working on complete zip
files, while the OLE embedding stuff xslt filter uses assumes it only
works on single deflated entries.
Should I try to rewrite the stuff to work on top of that service? Is there
a way to make Inflater/Deflater directly accessible to other code? I'm
stuck here and need some advice.
Thanks, and cheers,
Peter
Context
- [Libreoffice] Using Inflater/Deflater classes from component/package · Peter Jentsch
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.