Re: DIA SVG export

2011-02-01 Thread Max Wahler
Dear Hans, first of all, thanks for integrating the changes! Still can't see a difference with my test file render-test.dia but pushed the PyDia part anyway. I've also "ported" your *_rounded_rect() implementation to diasvg.py. See: Just for comparison, I my a simple example with an UML state

Re: DIA SVG export

2011-01-30 Thread Hans Breuer
At 26.01.2011 09:41, Max Wahler wrote: Okay, here we are, sooner than I expected =) I attached two files to this post and hopefully, I did not edit any other that I forgot to attach. In pydia-render.c, I added draw_rounded_rect and fill_rounded_rect and declared them at the bottom of the file.

Re: DIA SVG export

2011-01-27 Thread Cgodefroy
so I can try this myself. > > Thanks for your contribution to the community. > > On Wed, Jan 26, 2011 at 10:54 AM, wrote: >> Date: Wed, 26 Jan 2011 09:41:14 +0100 >> From: Max Wahler >> Subject: Re: DIA SVG export >

Re: DIA SVG export

2011-01-26 Thread Ron Wilson
This seems like a very useful enhancement. I plan to try building dia so I can try this myself. Thanks for your contribution to the community. On Wed, Jan 26, 2011 at 10:54 AM, wrote: > Date: Wed, 26 Jan 2011 09:41:14 +0100 > From: Max Wahler > Subject: Re: DIA S

Re: DIA SVG export

2011-01-26 Thread Max Wahler
iling list this week. A few words about what I'm doing: It groups the tags for objects and sets the object's id as class argument. I use this to style the objects afterwards via CSS. Regards Max Am 25.01.2011 15:06, schrieb Cgodefroy: Hello, I would like to customize the Dia SVG export

Re: DIA SVG export

2011-01-25 Thread Max Wahler
. A few words about what I'm doing: It groups the tags for objects and sets the object's id as class argument. I use this to style the objects afterwards via CSS. Regards Max Am 25.01.2011 15:06, schrieb Cgodefroy: Hello, I would like to customize the Dia SVG export. I n

Re: DIA SVG export

2011-01-25 Thread Steffen Macke
Hi Cgodefroy, On 01/25/2011 03:06 PM, Cgodefroy wrote: I would like to customize the Dia SVG export. I need to insert into my SVG document, informations about the objets (like their id). I have found the diasvg.py file which seems to be the simplest way to customize my export. Unfortunately, in

DIA SVG export

2011-01-25 Thread Cgodefroy
Hello, I would like to customize the Dia SVG export. I need to insert into my SVG document, informations about the objets (like their id). I have found the diasvg.py file which seems to be the simplest way to customize my export. Unfortunately, in this file there is no "draw_object" fu

Re: dia svg export: how do adjust size?

2007-10-03 Thread Zhang Weiwu
Hans Breuer wrote: > On 02.10.2007 13:20, Zhang Weiwu wrote: > >> Dear all >> >> After made a graph in dia 0.96.1, I export it to svg by "File -> Export >> -> change extension name to .svg and click save". >> >> Result file cannot be opened in firefox 2.0.0.6. Error: >> This XML file doe

Re: dia svg export: how do adjust size?

2007-10-03 Thread Zhang Weiwu
Sameer Sahasrabuddhe wrote: > On 10/2/07, Zhang Weiwu <[EMAIL PROTECTED]> wrote: > >> After made a graph in dia 0.96.1, I export it to svg by "File -> Export >> -> change extension name to .svg and click save". >> > > When you changed the extension name to ".svg", did you also select the >

Re: dia svg export: how do adjust size?

2007-10-03 Thread Hans Breuer
On 02.10.2007 13:20, Zhang Weiwu wrote: > Dear all > > After made a graph in dia 0.96.1, I export it to svg by "File -> Export > -> change extension name to .svg and click save". > > Result file cannot be opened in firefox 2.0.0.6. Error: > This XML file does not appear to have any style

Re: dia svg export: how do adjust size?

2007-10-03 Thread Maciej Jaros
Sameer Sahasrabuddhe pisze: > On 10/2/07, Zhang Weiwu <[EMAIL PROTECTED]> wrote: > >> After made a graph in dia 0.96.1, I export it to svg by "File -> Export >> -> change extension name to .svg and click save". >> > > When you changed the extension name to ".svg", did you also select the >

Re: dia svg export: how do adjust size?

2007-10-02 Thread Sameer Sahasrabuddhe
On 10/2/07, Zhang Weiwu <[EMAIL PROTECTED]> wrote: > > After made a graph in dia 0.96.1, I export it to svg by "File -> Export > -> change extension name to .svg and click save". When you changed the extension name to ".svg", did you also select the option that says "Determine file type By Extensi

dia svg export: how do adjust size?

2007-10-02 Thread Zhang Weiwu
Dear all After made a graph in dia 0.96.1, I export it to svg by "File -> Export -> change extension name to .svg and click save". Result file cannot be opened in firefox 2.0.0.6. Error: This XML file does not appear to have any style information associated with it. The document tree is s

dia svg export option

2001-09-21 Thread help kl
hello dia users, are there known problems with exporting dia figures into svg format? i've been using dia-.88.2 on Windows and attempting to save several simple figures in svg. i use adobe's svg-plugin on MS-IE to check out the results. they appear to be messed up. specifically, i noticed: - li