このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XScriptContext
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.16

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: script :: provider ::

unpublished interface XScriptContext
Usage 制限s
not published
Description
This interface is 供給するd to scripts, and 供給するs a means of 接近 to the さまざまな interfaces which they might need to 成し遂げる some 活動/戦闘 on a 文書. It is 要求するd to be passed as the first argument for any Java scripts.

Methods' 要約
getDocument 得る the 文書 言及/関連 on which the script can operate  
getInvocationContext 供給するs 接近 to the 状況 where the script was invoked  
getDesktop 得る the desktop 言及/関連 on which the script can operate  
getComponentContext 得る the 構成要素 状況 which the script can use to create other uno 構成要素s  
Methods' 詳細(に述べる)s
getDocument
::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XModel
getDocument();

Description
得る the 文書 言及/関連 on which the script can operate
Returns
::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XModel interface
getInvocationContext
::com::sun::星/主役にする::文書::XScriptInvocationContext
getInvocationContext();

Description
供給するs 接近 to the 状況 where the script was invoked

In some 事例/患者s, it is possible that scripts, embedded in a 文書, are 遂行する/発効させるd from within a 状況 which is not the 文書 itself. In this 事例/患者, the getInvocationContext member 許すs to 接近 this 状況.

公式文書,認める that the returned 状況 is 許すd to be NULL, in this 事例/患者, the 文書 as returned by getDocument is the invocation 状況.

If the returned 状況 is not NULL, its ScriptContainer せいにする equals the 文書 as returned by XScriptContext::getDocument.

Since
OOo 3.0
getDesktop
::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XDesktop
getDesktop();

Description
得る the desktop 言及/関連 on which the script can operate
Returns
::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XDesktop interface
getComponentContext
::com::sun::星/主役にする::uno::XComponentContext
getComponentContext();

Description
得る the 構成要素 状況 which the script can use to create other uno 構成要素s
Returns
::com::sun::星/主役にする::uno::XComponentContext interface
最高の,を越す of Page

The ASF

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The ASF logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.