35 lines
732 B
Plaintext
35 lines
732 B
Plaintext
|
|
||
|
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`
|
||
|
|
||
|
.. code-block:: python
|
||
|
|
||
|
doc = app.active
|
||
|
|
||
|
app.msgbox(doc)
|
||
|
|
||
|
app.msgbox(doc.obj)
|
||
|
|
||
|
|
||
|
.. toctree::
|
||
|
:maxdepth: 2
|
||
|
:caption: Contents:
|
||
|
|
||
|
tools_for_debug.rst
|
||
|
tools.rst
|
||
|
paths.rst
|
||
|
email.rst
|
||
|
application.rst
|
||
|
calc.rst
|
||
|
writer.rst
|
||
|
base.rst
|