Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index



On Sun, 2012-02-05 at 21:50 +0100, Johannes Sixt wrote:
The native file format of LO files is simply a ZIP archive with various
types of files in it.

        Right - although, there is another variant of our native file format
that is almost as efficient to read/write and that is Flat ODF - try
saving as '.fodt' eg.

I intend to do some gymnastics with the ZIP files and the XML in them,
and I would like to know how far it can be stretched ;) In particular, I
want to explode the archive into git tree, mangle its contents in
various ways, and then generate an ODF file from the tree using git-archive.

        So - unless you're in love with zipping things, you can use flat odf,
which prolly diffs, and compresses more pleasantly inside git. We're
most interested in people helping improve the stability (and similiarity
of that eg. for automatic styles) during write too.

2) Another side effect of the detour via git will be that empty folders
will be absent in the package resulting from git-archive:

        It would really be rather nice if we didn't create empty directories
there in the first instance ;-)

in the result. Again, is it a problem?

        It shouldn't be; if it is - we should fix it - patches most welcome.

3) Can the styles listed in an <office:automatic-styles> section be
renamed? For example:

        I believe the names are arbitrary and can be replaced without problems;
of course - do you want to get a well defined order here based on some
hash of the attributes or somesuch ? if so, patches most welcome :-)

        Looking forward to seeing what you're up to :-)

        Regards,

                Michael.

-- 
michael.meeks@suse.com  <><, Pseudo Engineer, itinerant idiot


Context


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.