SVG Import Filter

From Apache OpenOffice Wiki
Revision as of 15:26, 3 June 2008 by Nashev (Talk | contribs)

Jump to: navigation, search
OOoSVG-110.png
SVG Import
(external impl.)
Overview
Download
Source code
Features
Restrictions
FAQ
TODO
OpenDocument
Gradients
Group opacity
Elliptic arcs
Path semantics
Coordinate systems


SVG support is the most requested feature in OpenOffice.org. So far, there exists an external filter that has quite strong dependencies, and a proof-of-concept implementation of an internal one. Google Summer of Code 2007 project was accepted to get the internal implementation to a shape that would be acceptable for integration.

The associated issues are Issue:2497, and also Issue:49991.

External implementation

The external filter (provided here) tries to translate the SVG vocabulary (or parts thereof) into native OpenDocument primitives that can be manipulated with Draw.

You can go to the following locations. Keep in mind that these pages are "wiki" and you can add improvements and comments everywhere. Just press the edit button at the side of the page.

Internal implementation

The external implementation unfortunately has very strong dependencies - Java 5.0, and Batik. The goal of the internal implementation is to create a new import filter that does not require any too big libraries.

A proof of concept implementation written in C++ using the UNO Drawing API and a lighweight libsvg library exists here, but it needs a lot of work to be really usable. Another problem is that libsvg does not seem to be too actively maintained; so the real implementation should use OOo's internal XML parser.

Mark Paruzel was accepted as a Google Summer of Code 2007 participant to work on this.


See also

Personal tools