DiaRenderScript plug-in (was Re: applying custom styles to diagrams)
- From: Hans Breuer <hans breuer org>
- To: discussions about usage and development of dia <dia-list gnome org>
- Subject: DiaRenderScript plug-in (was Re: applying custom styles to diagrams)
- Date: Thu, 11 Nov 2010 21:58:14 +0100
At 11.11.2010 15:39, niklas | brueckenschlaeger wrote:
Because it is still considered experimental and unfinished and I don't want
to maintain any file format compatibility just yet. More information from
the commit log, e.g.:
I just stumbled across the DiaRenderScript plug-in in svn. That seems
rather useful! I have a few questions about it:
1) Why doesn't the plug-in get installed correctly w/ make install?
(gets compiled and ends up in plug-ins/drs/.libs, but not in
$PREFIX/lib/dia, copying it there it works though)
I'm not sure what you mean with "diagram structure", but there are only
overlaps by coincidence and for property serialization. The latter due to
sharing implmentation, but not 100%, e.g. the bezier serialization is
different and more capable than with the Dia standard format.
2) the output seems to contain both the diagram structure (in dia
format I guess, but not namespaced)
This is boon and bane of how property serialization implmentation is no
central management of property details, but every object plug-in can extend
the format specification with it's needs.
Manually maintaining a DTD does not look reasonable to me and up until now
I never got around to autonmatically generate is with a dedicated plug-in.
and the rendering information,
which is exactly what I need, but the DTD doesn't say anything about
properties / attributes. Is that valid?
Yeah, intentionally. The format is not finalized or released so the DTD
(currently available at
will change without notice or compatibility concerns.
3) The dtd uri http://projects.gnome.org/dia/dia-render-script.dtd gives
404, not so important but spits out lots of warnings from xsltproc
-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it. -- Dilbert
] [Thread Prev