LinkSearchMenuExpandDocument
Table of contents

LibreOfficeマクロ関連

LibreOfficeのマクロはLibreOffice Basic、JavaScript、BeanShell (JAVA)、 Pythonなどで記述できます。

Python

Pythonが使用できない場合:

# Debian / Ubuntu
sudo apt install libreoffice-script-provider-python

XSCRIPTCONTEXTグローバル変数のメソッド

MethodsDescription
getDocument()スクリプトが操作できるドキュメント参照を取得 (現在のドキュメント)
getDesktop()スクリプトが動作するためのデスクトップ参照を取得 (LibreOfficeアプリケーション)
getComponentContext()スクリプトが他のUNOコンポーネントを作成するために使用できるコンポーネントコンテキストを取得 (プロセスサービスファクトリのデフォルトコンテキスト)

Back to top


Back to top

Copyright © 2021 Otti

Page last modified: