[Uml-devel] *Data objects
Luis De la Parra Blum
lparrab at gmx.net
Sun Feb 2 15:55:49 UTC 2003
On Monday 03 February 2003 00:28, Jonathan Riddell wrote:
> Main problem I havn't fixed is saving zoom and canvas size when they are
> serialised. I presume I should be able to just add it without breaking
> compatibility of anything.
what do you mean?
if canvas size (and zoom for that matter) are saved as attributes of the
diagram element you will not break anything. that is the beauty of XML.
old versions of Umbrello will simply not check for that attribute.
New versions will, and if the element doesnt have the attribute it will
(should) use the default value.
is that what you were talking about, or what do you mean with "serializing"??
serializing was the term used for saving/loading to the old binary file
format, but we are not saving binary anymore, and reading should simply use
the default. Since there is no way that file has been written with size/zoom
info (because UML Modeller did not support that) you are on the safe side.
luis
More information about the umbrello-devel
mailing list