https://bugs.documentfoundation.org/show_bug.cgi?id=146426

--- Comment #3 from Stang <[email protected]> ---
Sample works when anchor is changed after an instance of the control is
created:

    oControlShape.AnchorType = com.sun.star.text.TextContentAnchorType.AT_PAGE

place after:

    sub AddControl(byref controlName as string, byref label as string, byref   
        oDocument as object, byref oDrawPage as object)  as object 
       dim oControlShape as object 
       dim aPoint as object, aSize as object, oModel as object

    oControlShape =
oDocument.createInstance("com.sun.star.drawing.ControlShape")

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to