Hello Nadav,
On Wed, 2010-10-20 at 21:47 +0200, Nadav Vinik wrote:
this is the part of the document.xml of the image.
Do you know if it's because LO can't parse this part? (for any
tag/property for example)
I still investigate the wordfilter code area, but I still don't know
how to check it
It's in writerfilter module, there is only a small amount of
documentation on it:
http://wiki.services.openoffice.org/wiki/WriterFilter
It's really interesting to add some of the -DDEBUG_* flags listed in
that page to the CFLAGS and check the /tmp/writerfilter.<name>.xml
files.
<w:r>
−
<w:object w:dxaOrig="13698" w:dyaOrig="7546">
−
<v:shape id="_x0000_i1035" type="#_x0000_t75"
style="width:472.5pt;height:260.25pt" o:ole="">
<v:imagedata r:id="rId26" o:title=""/>
</v:shape>
<o:OLEObject Type="Embed" ProgID="Visio.Drawing.11"
ShapeID="_x0000_i1035" DrawAspect="Content" ObjectID="_1343106124"
r:id="rId27"/>
The o:OLEObject isn't handled currently, and the image is simply a
replacement object for it.
If you start hacking that part of the import, have a look at the oox
module as well as it contains all the common OOXML code. In the
writerfilter, the interesting files should be:
writerfilter/source/dmapper/OLEHandler.*
I don't know if you saw that in writerfilter already, but some C++ code
is generated from the model.xml file in writerfilter/source/ooxml... You
may need to check it at some stage.
Thanks for your help,
--
Cédric Bosdonnat
LibreOffice hacker
http://documentfoundation.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr
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.