Library easymacro.py

easymacro.py it’s a library for easily develop macros en LibreOffice con Python. It is an abstraction layer between the extensive and complex LibreOffice API UNO and your code.

Probably, your will be more happy if used it. :)

You can used easymacro.py with any extension or directly in your macros.

IMPORTANT: Majority objects are custom objects, you can always get original UNO object with property obj

doc = app.active

app.msgbox(doc)

app.msgbox(doc.obj)