LibreOffice 26.2:n ohje
LibreOffice provides an Application Programming Interface (API) that allows controlling the LibreOffice components with different programming languages by using the LibreOffice Software Development Kit (SDK). For more information about the LibreOffice API and the Software Development Kit, visit https://api.libreoffice.org
Tässä osiossa selitetään yleisimpien Python-komentosarjojen toimintoja ohjelmalle LibreOffice. Yksityiskohtaisemmat ohjeet löytyvät Wikistä: Designing & Developing Python Applications.
You can execute Python scripts choosing . 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 LibreOffice.
The LibreOffice scripting framework for Python is optional on some GNU/Linux distributions. If it is installed, selecting and checking Application Macros for the presence of HelloWorld – HelloWorldPython macro is sufficient. If absent, please refer to your distribution documentation in order to install the LibreOffice scripting framework for Python.