Re: export .dia independant from custom shapes ?



At 21.08.2006 21:36, Pascal Ronecker wrote:
[sorry if this message comes twice, had a problem it seems]

Hi,

I wonder : is it possible to export a .dia file that uses some specific
shapes into a .dia file that would not refer to thoses shapes, but
replace them by the "standards" polygon and beziers line that compose
the shape ?

Just stumbled accross your request while searching for something else.

If you are still interested in this feature (or anyone else): it got implemented for dia-0.97 as:

2009-03-24  Hans Breuer  <hans breuer org>

 * plug-ins/python/diastddia.py : almost finished, a bug left in Arc's
curve_distance calculation. Implemented the insane load/save property
name mapping - bug #576468, implmented draw_text and draw_arc. Some
comments on bezier related file format weakness.
Write some paper info; convert strings before writing to avoid
invalid XML (text and filename)

2009-03-23  Hans Breuer  <hans breuer org>

* plug-ins/python/diastddia.py : a new renderer implementation which
outputs Dia's native format, but restricted to "Standard - *"-objects.
Initial version: buggy and incomplete (e.g. bug #576468).

Note: it is inluded in the tarball but not installed.

        Hans

-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it.                -- Dilbert



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]