<html dir="ltr"><head></head><body style="text-align: left; direction: ltr; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div>Hi,</div><div><br></div><div>I'm new to LibreOffice extension development. To prevent my team and I investing too much time in studying how to write LibreOffice extensions, I want to pose a question:</div><div><br></div><div>Is it possible to capture/intercept all - or at least most - user events that occur within LibreOffice by means of an extension, in real-time? For example, suppose that someone</div><div><br></div><div>0) opens a new document in Writer by using the drop-down menu item "New -> Text Document",</div><div>1) types a text,</div><div>2) selects a region using the mouse,</div><div>3) presses the Italic button (so that the region becomes Italic), and</div><div>4) saves the text by pressing Ctrl-s.</div><div><br></div><div>Can you log all this information in real-time? Could you even log each keypress of the user when this user is writing the text? And can you also differentiate between the different methods that have been used to accomplish a certain task? For example, can one distinquish between saving a file by selecting a drop-down menu item, or saving a file by using the short-cut key Ctrl-s?</div><div><br></div><div>Can this also be done for *other* extensions? Can you also log events that occur within these?</div><div><br></div><div>Or should we use another approach to accomplish this all?</div><div><br></div><div>(Although not needed for answering the question: If you wonder - the context has something to do with process mining (<a href="https://en.wikipedia.org/wiki/Process_mining_">https://en.wikipedia.org/wiki/Process_mining</a>) --  in this case to optimise software usage...)</div><div><br></div><div>Thank you so much in advance,</div><div><br></div><div>Chide Groenouwe</div></body></html>