Ask Your Question
0

Set interaction through API

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

psamim gravatar image

Hi,

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 http://api.libreoffice.org .

Thanks, Samim

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

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

Stats

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

Seen: 61 times

Last updated: Feb 21 '17