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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/11/15 13:11, Caolán McNamara wrote:
We have svgio which is being used for insert->image->from file and 
filter/source/svg which is being used for open file.

The first is renderer of the svg files. If you insert the file as you
mentioned, it will be stored as a svg file and svgio will render it
using the drawing layer.

The second is document importer. It imports the svg into Draw shape by
shape and mappable style property by mappable style property. The
result of such import (because there is no matching exporter) is
basically an odg file, since our importer API is internally using flag
ODF anyway.

Which one is "the future", and what prevents us from using it in
both places ?

There might be a possibility to share some code, I guess. Although, I
am not sure whether the parsers use the same approach. The
filter/source/svg one is basically constructing DOM and then several
"visitors" are running through the structure and extracting useful
information.

Cheers

F.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlY6KPMACgkQu9a1imXPdA9+lgCeL+2A2ccg/VqX8LeXGlVKoa8Q
fq8An3kNvcQz/A18dE3l33SPg4ocLd2c
=D+56
-----END PGP SIGNATURE-----

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.