-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
-
Install PyUNO Workspace
Copy
pyzoPyUNOWorkspace
directory from this repo toINSTALL_PATH/pyzo/tools
directory. -
Install documentation offline browser (optional)
-
Install Dash-like offline documentation browser: Linux: Zeal, OS X: Dash, Windows: Velocity.
-
Generate UNO docset for Dash, follow this instruction
-
-
Before you get started
-
Shell
When Pyzo starts, a default shell is created
. Type
import uno
in the default shell.If you do not see an error, go to section Configure shell. If this is not the case you must create a new shell.
-
Configure shell
In option exe put the location of Libre Office's Python (eg.
/opt/libreoffice5.4/program/python
).In option startupScript set full path to
unoinspect.py
inside PyUNO workspace directory (eg.../pyzo/tools/pyzoPyUNOWorkspace/unoinspect.py
) -
Activate PyUNO Workspace
Activate plugin by going to
Tools -> PyUNO Workspace
-
-
Activate Dash support (optional)
-
In PyUNO Workspace select Dash checkbox and hit Save button.
-
Click on
Tools -> Reload tools
.
-
-
Create your macro file
- eg, copy template
simple_macro.py
toLIBREOFFICE_PATH/4/user/Scripts/python
directory.
- eg, copy template