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 15:12:54 
+0000 2009 -------
i just tried:
 
  oDrawPage.add(oControlShape)
  oControlShape.setPropertyValue("Anchor", oSheet)

this will toggle to sheet anchored - but also set the controls 
position to strange X/Y positions:

for example:

X/Y                   controls X/Y
100/100           0,1/0,1cm
1000/1000        1,0/0,1cm
2000/2000        2,0/0,19 cm
3000/3000        0,74/0,29cm

using oControlShape.setPropertyValue("Anchor",    
                                                                  
oSheet.getCellByPosition(2,2))
will set the *anchor* to cell  C3 - with shapes oPosition.X=0  and oPosition.Y=0
it works like expected.

setPropertyValue("Anchor") before inserting the control has no effect
in this case the control is anchored to cell...

---------------------------------------------------------------------
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]

Reply via email to