XSLT converts shapes to svg

2007-07-12 Thread Sam Liddicott
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

XSLT converts svg to shapes

2007-07-13 Thread Sam Liddicott
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

RE: XSLT converts svg to shapes

2007-07-13 Thread Sam Liddicott
(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

XSLT converts svg to shapes with basic transform handling.

2007-07-17 Thread Sam Liddicott
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

RE: XSLT converts svg to shapes with basic transform handling.

2007-07-20 Thread Sam Liddicott
directly... Sam -Original Message- From: Sam Liddicott [EMAIL PROTECTED] To: discussions about usage and development of dia dia-list@gnome.org Sent: 17/07/07 15:12 Subject: Re: XSLT converts svg to shapes with basic transform handling. In fact here is a shape I produced of an Extreme

RE: XSLT converts svg to shapes with basic transform handling.

2007-10-28 Thread Sam Liddicott
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 converted that to svg with: pstoedit