This xslt will convert dia shapes to svg editable by inkscape.
xsltproc shape2svg.xslt firewall.shape > firewall.svg
(A lot of the .shape files are BAD svg subset, with the semi-colon
seperator missing in the style attributes sometimes).
The connection points are preserved in a "connections" lay
This xslt will convert inkscape's PLAIN svg files to dia shapes.
xsltproc svg2shape.xslt --stringparam icon-file firewall.icon \
firewall.svg > firewall.shape
The attached bash script "genshape" will use inkscape to export the icon
and the simple svg and converts this to the shape file all in
(Sorry about top quoting and other sins of Pocket Outlook).
For sure. © 2007 Ufomechanic.
Licensed under GPL 2 or later.
If you use libxslt (part of gnome) it should work straight off.
Sheets and object diaglog is better than an import plugin I think. I guess when
and svg sheet is loaded it sho
This xslt converts svg to shapes and does basic transform handling.
Skews and rotates are not handled but scales and offsets are.
Transforms are not handled on groups, but any tag that has a @transform
attribute will have scaling and offset applied to attributes x, x1, x2,
y, y1, y2 and also to d
rt transforms in dia directly...
Sam
-Original Message-
From: "Sam Liddicott" <[EMAIL PROTECTED]>
To: "discussions about usage and development of dia"
Sent: 17/07/07 15:12
Subject: Re: XSLT converts svg to shapes with basic transform handling.
In fact here is a
LT converts svg to shapes with basic transform handling.
On Tue, 2007-07-17 at 15:12 +0100, Sam Liddicott wrote:
> In fact here is a shape I produced of an Extreme Networks 15000
> Summit48.
> I printed page 12 of the Summit Switch hardware installation guide to
> file (postscript) and then c