Справка LibreOffice 24.8
LibreOffice предоставляет интерфейс прикладного программирования (API), который позволяет управлять компонентами LibreOffice на разных языках программирования с помощью пакета разработки программного обеспечения LibreOffice (SDK). Для получения дополнительной информации об API LibreOffice и комплекте разработки программного обеспечения посетите https://api.libreoffice.org
This help section explains the most common Python script functions for LibreOffice. For more in-depth information please refer to the Designing & Developing Python Applications on the Wiki.
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 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.
and checking