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" function. Do y

Re: Dia

2011-01-25 Thread Steffen Macke
Bonjour Armand, On 01/20/2011 11:23 AM, Armand Corhay wrote: I downloaded the software diaw.exe 0.97.1 which seems interesting and easy. But is it possible to create your own leaf shapes or symbols? The following document gives a short introduction how to create your own shapes: http://dia-in

Re: How to resize many objects?

2011-01-25 Thread Steffen Macke
Hi Artiom, On 01/21/2011 09:04 AM, Artiom Neganov wrote: After minutes of searchingli in the Dia interface and 30 minutes googling still I don't find a way to change size of many objects simultaneously. For example, I have 100 objects on a diagram and now want to make them smaller. The current

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

Re: DIA SVG export

2011-01-25 Thread Max Wahler
Hi CGodefroy, as Steffen already mentioned, I'm currently also working on customizing the Python SVG exporter. Actually there _is_ a draw_object method! It's in line 50 of the current GIT version. I hope that I'm ready to commit my code for review to this mailing list this week. A few words

Displayed page breaks?

2011-01-25 Thread Doug Wellington
Hi, Brand new, so forgive me if I'm asking something silly. I saw a discussion about this in the archives, but there didn't seem to be any resolution. OK, I have opened a new diagram. I'm a Merkan, so I have set the page size to "Letter" and I'm using landscape mode. The paper size says 21.6

Displayed page breaks follow up. Seems like a bug to me...

2011-01-25 Thread Doug Wellington
More info: I played around with the Page Setup dialog. First, I set all margins to 0.0mm and clicked "Apply", which correctly displayed the page breaks at 216mm and 279mm. Then I increased the margins. Interestingly, the top and bottom limited themselves to 10.30mm and the left and right lim

Margins?

2011-01-25 Thread Doug Wellington
OK, while I'm at it, why are the margins limited to the numbers 10.3 and 13.47 for the Letter size? The length unit itself is a factor in how wide the margins are. For example, when I use millimeters, the maximum margins are 10.3mm and 13.47mm. If I want something greater than 10.3mm or 13.47

Re: Displayed page breaks?

2011-01-25 Thread Michael Ross
The page breaks lie where the margins lie (with scale set to 100%). This way you don't have to look at white space if your Dia get bigger than a page. 1" margins all around letter size gives you 6.5 x 9 inches of room on the page. That is 16.51cm x 22.86 cm. Base units for Dia are cm. As far a

Re: Displayed page breaks follow up. Seems like a bug to me...

2011-01-25 Thread Michael Ross
When you open a new Dia it is a default diagram with all of its settings. On Tue, Jan 25, 2011 at 6:07 PM, Doug Wellington wrote: > More info: > > I played around with the Page Setup dialog. First, I set all margins to > 0.0mm and clicked "Apply", which correctly displayed the page breaks at >

RE: Displayed page breaks?

2011-01-25 Thread Doug Wellington
> The page breaks lie where the margins lie (with scale set to 100%). This way > you don't have to look at white space if your Dia get bigger than a page. Yes, I understand. That is very nice. I'm not sure I understand what the scale has to do with it though. Is there more to it than just th

Re: Displayed page breaks?

2011-01-25 Thread Michael Ross
There is zoom factor and there is scale. Zoom factor brings you closer to your work without affecting how the rulers look relative to the page breaks and grid (and your Dia). Scaling (on the Page Setup dialog with the margins). Changes the page behind the graphics and the ruler. Smaller scale in

RE: Displayed page breaks?

2011-01-25 Thread Doug Wellington
> There is zoom factor and there is scale.  Zoom factor brings you closer to > your work without affecting how the rulers look relative to the page breaks > and grid (and your Dia).  Scaling (on the Page Setup dialog with the > margins). Changes the page behind the graphics and the ruler. OK, c