LibreOffice 24.8 ヘルプ
LibreOfficeは、LibreOfficeDevソフトウェア開発キット(SDK)を使用して、さまざまなプログラミング言語からLibreOfficeコンポーネントを制御するアプリケーション プログラミング インタフェース(API)を提供しています。LibreOffice APIおよびソフトウェア開発キットの詳細については、https://api.libreoffice.orgを参照してください。
このヘルプのセクションでは、LibreOfficeの一般的なPythonスクリプト関数について説明します。詳細については、TDF Wikiの「Designing & Developing Python Applications」をご覧ください。
Pythonスクリプトを実行するには、メニューの
を選択します。スクリプトの編集については、お好みのテキストエディタが利用できます。Pythonスクリプトについては、後で解説するさまざまな場所にあります。LibreOfficeからPythonの対話コンソールを実行する方法については、マクロのサンプルプログラムをご覧ください。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