Hi everyone!
I’ve written a small java code that use UNO API to load an odt and extract the text from it.
I need to run LibreOffice in headless mode and I also need to execute macros inside the loaded doc.
I’ve tried to load an odt with a macro on it, that activates on Document Load. If I run the code normally, the macro would be executed, but with headless flag not.
Is there a way to execute the event-based macro in headless mode?
Thanks!