Ask Your Question

Set interaction through API

asked 2017-02-21 12:01:54 +0200

psamim gravatar image


I am trying to write a python script which interacts with an Impress presentation. In Impress I can select a shape, right click on it, and in "interaction" menu, I can set macros to run on shape click.

Can I set listeners for click events for shapes through UNO API? I could not find anything related in .

Thanks, Samim

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-02-21 12:24:41 +0200

Well, this blog post (and the whole series) describes how to write a LibreOffice unit test (in Python) for UI interactions. Possibly it may be of some help. You may also contact the author (Markus Mohrhard, one of LibreOffice lead Calc developers) on #libreoffice channel on FreeNode (IRC nick moggi).

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-02-21 12:01:54 +0200

Seen: 81 times

Last updated: Feb 21 '17