Pomoc LibreOffice 7.4
LibreOffice udostępnia Application Programming Interface (API), który umożliwia kontrolowanie składników LibreOffice za pomocą różnych języków programowania przy użyciu zestawu Software Development Kit (SDK) LibreOffice. Aby uzyskać więcej informacji o interfejsie API LibreOffice i pakiecie Software Development Kit, odwiedź https://api.libreoffice.org
W tej sekcji pomocy opisano najpopularniejsze funkcje skryptów Pythona dla LibreOffice. Więcej szczegółowych informacji można znaleźć na Wiki pod adresem 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 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