Calc Basic: "Keep ratio" check box?

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
Serg St
Posts: 4
Joined: Wed Feb 07, 2018 9:07 pm

Calc Basic: "Keep ratio" check box?

Post by Serg St »

Hello,
I need to select or unselect "Keep ratio" check box in "Position and Size" dialog window programmatically for embedded image in LibreOffice Calc with Basic macro.
Could you provide some code example?
LibreOffice 6.0.0.3 on Windows 7 Professional 32 bit
User avatar
Zizi64
Volunteer
Posts: 11352
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Calc Basic: "Keep ratio" check box?

Post by Zizi64 »

I need to select or unselect "Keep ratio" check box in "Position and Size" dialog window programmatically for embedded image
Try to control the applied Style, instead of the dialog window (instead of the user interface)
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Post Reply