Re: Can-parent shape info and function
- From: "Robert ?evč ík (DIA)" <dia robajz info>
- To: "discussions about usage and development of dia" <dia-list gnome org>
- Subject: Re: Can-parent shape info and function
- Date: Fri, 15 Feb 2013 15:59:34 +0000
Resolved! Thanks a lot Hans for your assistance.
It turned out the compilation failed with an error. I did not see the
error as I was lazily running the do-everything magic update_from_git.sh
script.
The error was complaining that stdpath_icon was not declared here (not in
a function) in lib/standard-path.c.
This little hack got me through the compilation - replacing (char **)
stdpath_icon with empty string "". I'm sure this is not a fix :D but
allowed me to proceed.
Once compiled and run, I was able to use the new functionality of
can-parent as described earlier.
Thanks a lot everyone, I can't wait for a release :o)
Kind regards, Rob
On 2/14/2013, "Hans Breuer" <hans breuer org> wrote:
At 13.02.2013 13:30, Robert Å evč Ãk (DIA) wrote:
On 2/12/2013, "Hans Breuer"<hans breuer org> wrote:
[...]
Is it possible I missed something or is this supposed to work at all?
From your description I can not point out what is going wrong. Still the
feature works for me as intended so maybe you mixed up something.
Hi Hans,
Do you mean you can stick other shapes on a shape marked wit<can-parent
/> and the child shapes then appear in the sheet xml with<dia:childnode
parent="O*"/> ?
Sorry, I don't understand. The parent-child-relation you are refering to is
not stored in shape files. It also has nothing to do with the sheet file,
which basically is a list of shape references.
The parent-child-relation is stored in the diagram file. But it will only
be created if the there is an object involoved which support can-parent
like e.g. UML-LargePackage or an object from shape (modified with the
<can-parent /> notation.
Confused me! I did mean the diagram file indeed, not a sheet file.
Would you pass me a sample shape definition xml please?
Attached. If I've understood you correctly it should be the same you same
modification you did yourself.
It did work with the file I modified myself as it was in essence the same.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]