Home > コンピュータ > LibreOffice > マクロ > ドキュメント > UNOオブジェクト、機能とサービス > StarDesktopオブジェクト

StarDesktopオブジェクト

新規作成日 2025-08-15
最終更新日

LibreOffice 25.2ヘルプ「StarDesktop object」の和訳

原文取得日 2025-08-15

StarDesktopオブジェクトは、LibreOfficeアプリケーションを表します。カレント・ウィンドウのような、いくつかのルーチンまたはユーザー・インターフェイス・オブジェクトは、StarDesktopを通して使用できます。

例:

Dim docURL As String
Dim doc As Object, docProperties()
docURL = ConvertToURL("C:\My Documents\example.odt")
Rem com.sun.star.frame.Desktop
doc = StarDesktop.LoadComponentFromURL(docURL, "_blank", 0, docProperties)
このエントリーをはてなブックマークに追加