Alexandro Colorado wrote:

> sure you cant but some parts only. Some other parts are fixed into the
> OOo internal binary template that will ignore, like meta information
> for example.

I don't know what an "OOo internal binary template" is, maybe you are
talking about the internal default values for the default paragraph
style. Anyway, this is completely unrelated to the question.

OOo can store documents "unzipped" and it can do this in two different ways.

Ths first is the "flat XML" format, usually created with an XSLT based
filter. This will put the whole document (content.xml, styles.xml,
settings.xml, meta.xml) into one single XML file, images will be stored
BASE64 encoded, OOo internal OLE objects will become "inlined", COM
objects will also be stored BASE64 encoded. Every additional "alien"
content will be lost (but - as the name "alien should make clear - OOo
itself does not create such kind of content). But AFAIK there's nothing
from OOo's own stuff that gets lost.

The second one is available only via API: by passing a parameter (I
don't remember the exact name, but it is documented in the DevGuide) to
the "storeAsURL" call you can get all streams (that usually get packed
into a zip container) written into a folder on disk (that itself gets
the name passed as URL). As this code probably hasn't been used since
years it's possible that it has got some bugs over time.

This API based solution is a lossless procedure, but loading this
content again will require some external processing or e.g. an
extension. Basically OOo can load this stuff, but without some help it
is not possible to make it do that (main reason: you can't select a
folder in the file picker to load its content).

Regards,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[email protected]".
I use it for the OOo lists and only rarely read other mails sent to it.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to