To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=33783
------- Additional comments from [email protected] Thu May 21 19:05:00 +0000 2009 ------- Oliver, I remember having had strange effects with the position, too. Well, at least unexpected, though perhaps explainable ... First, when you switch the anchor from a cell to the sheet, you need to get the shape's position first, and restore it after setting the Anchor property. This way, the control/shape stays where it was before changing the anchor. Otherwise, the position previously relative to the cell is now relative to the sheet, which makes the control jumping. Second, when you switch the anchor from the sheet to a cell, you also need to adjust the position, to prevent the control jumping. You might want to look into the impl_setSheetAnchorType_nothrow method in http://svn.services.openoffice.org/ooo/cws/dba32b/extensions/source/propctrlr/formgeometryhandler.cxx to see how I solved that. In any way, I would argue that the strange behavior of the position is another issue (if at all), since this one here is named "can not set AnchorType ...", which is not true anymore. --------------------------------------------------------------------- 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]
