To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=38892





------- Additional comments from [EMAIL PROTECTED] Wed Jan 26 13:58:10 -0800 
2005 -------
AW: Seems to work now, only user edited GluePoints are saved. There is still a
problem when working when CustomShape is mirrored. The mirroring for the
GluePoints is wrong after loading. There are two possibilitoies: (1) React on
changes of mirroring when the geometry item is set, (2) correct mirroring after
load.

AW: Tried (1), bit it interferes with normal ::NbcMirror calls, those also set
the item. To make that work all mirroring would need to be changed to be done by
ItemSet tirggers. Too expensive and too dangerous.

AW: Tried (2), needed XMLOFF and SD with debug. Found that there are already
correctins being made to the mirroring in unoshap2.cxx in
SvxCustomShape::setPropertyValue. Problem is that GluePoints are saved mirrored
and the correction does the wrong thing to them, they would need no correction.
I do not want to remove the whole ::NbcMirror calls to the base object, so i
decided to save the GluePointList if there are UserDefined GluePoints there and
set them back after correction.

AW: This works. There is still the problem that also the AutoGluePoints are
editable at the moment. To at least avoid changes when they get deleted or
moved, i now always copy them back from the displaying shapes on
GetGluePointList(), this solves the problem from the model side.

AW: Tomorrow i need to look how to avoid changes to the AutoGluePoints (move,
delete, exit doirections, ...).


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to