Skip to content

Installation

kelsa-pi edited this page Oct 20, 2017 · 13 revisions
  • Install PyUNO Workspace

    Copy pyzoPyUNOWorkspace directory from this repo to INSTALL_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

    • Create shell

      When Pyzo starts, a default shell is created Set breakpoints. 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. In option exe put the location of Libre Office's Python (eg. /opt/libreoffice5.4/program/python).

    • Configure shell

      Set option File run at startup

      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 to LIBREOFFICE_PATH/4/user/Scripts/python directory.
Clone this wiki locally