Collabora Office Python Scripts Help

Collabora Office provides an Application Programming Interface (API) that allows controlling the Collabora Office components with different programming languages by using the Collabora Office Software Development Kit (SDK). For more information about the Collabora Office API and the Software Development Kit, visit https://api.libreoffice.org

This help section explains the most common Python script functions for Collabora Office. For more in-depth information please refer to the Designing & Developing Python Applications on the Wiki.

Working with Python Scripts in Collabora Office

You can execute Python scripts choosing Tools - Macros - Run Macro. Editing scripts can be done with your preferred text editor. Python scripts are present in various locations detailed hereafter. You can refer to Programming examples for macros illustrating how to run the Python interactive console from Collabora Office.

Assigning Scripts in Collabora Office

Setting up an Integrated Development Environment (IDE) for Python

Python Scripts Organization and Location

Running Python Interactive Console

Programming with Python Scripts

Python programming examples

Calling Basic Macros from Python

Creating Python Scripts with ScriptForge

Collabora Office Python Modules

msgbox module

scriptforge module

uno module

Help about the Help

The Help references the default settings of the program on a system that is set to defaults. Descriptions of colors, mouse actions, or other configurable items can be different for your program and system.

Please support us!