Dia and images

2011-09-28 Thread Jørgen Johanson
Hi, I have question regarding Dia and images. I have noticed that images (inserted on a diagram with Basic Objects: Image) are not embedded in the Dia-file. Checking the XML code generated by Dia I can see that Dia only refers to images file via absolute or relative file paths. This lead

Re: Dia and images

2011-09-28 Thread Michael Ross
I think you will just have to keep the image files together with the Dia file. If you develop the discipline of making a project folder; or, even more granular, individual Dia folders, there is no problem. I am not unsympathetic, I would like to have images embedded, too. But it is an old compla

HTML export for tables

2011-09-28 Thread Tveritinov, Alexey
Hi all. I made a simple plugin for export DB structure into HTML. May be it could be enhanced in near future, if someone would take it in further development. html_export.py Description: html_export.py ___ dia-list mailing list dia-list@gnome.org http

SV: Dia and images

2011-09-28 Thread Jørgen Johanson
Hello! Thanks for the speedy reply! Yes, I guess that keeping the images in the same folder as the Dia file will work fine in most cases. However, the problem with uploading Dia files to a Wiki cannot be solved in this way I think (as I have no control over where the image files are placed).

RE: ABAP Export

2011-09-28 Thread Tveritinov, Alexey
Hello. I've found a good abap class definition guide. Worth a look : http://help.sap.com/saphelp_nw70/helpdata/en/c3/225b5c54f411d194a6e8353423/content.htm -Original Message- From: Steffen Macke [mailto:d...@diagramr.biz] Sent: Friday, September 23, 2011 10:24 PM To: Tveritinov, Alex

Re: Dia and images

2011-09-28 Thread Michael Ross
Jorgen, I rarely print a Dia. I always arrange the visible screen and create a png or jpg. Then this image may be incorporated into nearly any other program. It is by far the most flexible method. If I am posting to a WIKI this the method you describe is exactly mine as well. Hard to believe

Re: html-link support

2011-09-28 Thread Steffen Macke
Hi, On 09/28/2011 07:25 AM, calderoni.ca...@gmail.com wrote: Dia can export in .svg too, this format is xml and can be embedded directly in html. The text you type in dia, is escaped with entities: if tou type "" in a dia text, it will became"
" in exported .svg (well, in dia file too), s

Re: html-link support

2011-09-28 Thread Paul Chavent
Hi. As a workaround, i can purpose the sozi feature (http://sozi.baierouge.fr/wiki/sozi). You can export your diagram to an "interactive" svg. So if you embed your diagram as an svg figure in your web page, you can make it a bit "dynamic". On 09/28/2011 07:25 AM, calderoni.ca...@gmail.com w

Re: HTML export for tables

2011-09-28 Thread Steffen Macke
Alexey, thanks a lot! You didn't specify a license for your plugin. I guess that most of us would prefer if you place it under the same license as Dia (GPL). In that case, you should add comments like the following to your code: #This program is free software; you can redistribute it and/

Re: Dia and images

2011-09-28 Thread Edheldil
On 09/28/2011 10:22 AM, Michael Ross wrote: > I think you will just have to keep the image files together with the > Dia file. If you develop the discipline of making a project folder; > or, even more granular, individual Dia folders, there is no problem. > > I am not unsympathetic, I would like t

SVG renderers

2011-09-28 Thread Paul Chavent
Hi. I think that i see the code that implement the cairo svg renderer. But what code implement the other svg renderer ? For example if i search where a text line is rendered, i see one implementation in lib/diasvgrenderer.c and an other in plugins/svg/render_svg.c If i disable the svg rendere

Re: Dia and images

2011-09-28 Thread Hans Breuer
At 28.09.2011 10:22, Michael Ross wrote: I think you will just have to keep the image files together with the Dia file. If you develop the discipline of making a project folder; or, even more granular, individual Dia folders, there is no problem. I am not unsympathetic, I would like to have ima

Re: SVG renderers

2011-09-28 Thread Hans Breuer
At 28.09.2011 23:49, Paul Chavent wrote: Hi. I think that i see the code that implement the cairo svg renderer. most of the cairo based renderers need no special code beside the surface instantiation, e.g. cairo_svg_surface_create() in plug-ins/cairo/diacairo.c But what code implement the o

Re: SVG renderers

2011-09-28 Thread Steffen Macke
Hi Paul, On 09/28/2011 11:49 PM, Paul Chavent wrote: But what code implement the other svg renderer ? For example if i search where a text line is rendered, i see one implementation in lib/diasvgrenderer.c and an other in plugins/svg/render_svg.c are you aware of the Python SVG renderers? Hav

Re: html-link support

2011-09-28 Thread Carlo Calderoni
With "use url meta property" you mean "put an attribute tag with name 'url' in 'meta' composite tag"? Is there a way to set "meta" attributes in Dia? I didn't check the manual and can't find a way for doing it from interface 2011/9/28 Paul Chavent > Hi. > > As a workaround, i can purpose the soz

Re: html-link support

2011-09-28 Thread Carlo Calderoni
sry, i checked the git patch i think that the answer to my first question is yes 2011/9/29 Carlo Calderoni > With "use url meta property" you mean "put an attribute tag with name 'url' > in 'meta' composite tag"? > Is there a way to set "meta" attributes in Dia? > I didn't check the manual

Re: html-link support

2011-09-28 Thread Carlo Calderoni
sry again, i checked the NEWS in other thread i think i found the answer to my second question too so, my next question is: when 0.98 will be out? (and 1.0? :D ) i'm building from git, but i would like a lot an apt way ___ dia-list mailing list di

Re: Dia and images

2011-09-28 Thread Ron Wilson
On Wed, Sep 28, 2011 at 3:30 PM, wrote: > > Date: Wed, 28 Sep 2011 10:15:37 -0400 > From: Michael Ross > Subject: Re: Dia and images > > Hard to believe that WIKI > software doesn't support Dia directly, it would be a perfect match -allowing > anyone to create diagrams when authoring a WIKI entr