[Libreoffice] Get origin and unit of a page in Draw in a Basic macro

Regina Henschel rb.henschel at t-online.de
Sat Nov 5 06:29:33 PDT 2011


Hi all,

I want to set the center of arc, sector or segment with a dialog. 
Currently you can set only the center of the shape but not the center of 
the underlying ellipse in Position&Size. The value input should be 
possible in the actual coordinate system of the page. Therefore I need 
the unit and the origin of the coordinate system - that what is likely 
done in the code with getPageOrigin and PagePosToLogic/LogicToPagePos. 
Is there a way to get this informations using a Basic macro?

Kind regards
Regina

(Answers please to users at global.libreoffice.org)


More information about the LibreOffice mailing list