Can Libreoffice basic macros listen loading a file? [closed]
I am trying to write a basic macro (After i'll convert it an extension) for writer which listens exist file's loading/opening. While i read Andrew Pitonyak's book about macros i've learned about Listeners. But there is no listener for com.sun.star.frame.XComponentLoader service. I want to see a dialog box when any document loaded /opened to writer. Is it possible? If yes could anyone help me to find a document about it?