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

翻訳前ページへ


Interface XDocumentEventBroadcaster
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: 文書 ::

interface XDocumentEventBroadcaster
Description
許すs to be 通知するd of events happening in an OfficeDocument, and to 原因(となる) notification of such events.

This interface is the 後継者 of the XEventBroadcaster interface, which should not be used anymore.

Since
OOo 3.1
See also
DocumentEvent

Methods' 要約
addDocumentEventListener 登録(する)s a listener which is 通知するd about 文書 events  
removeDocumentEventListener 取り消すs a listener which has 以前 been 登録(する)d to be 通知するd about 文書 events.  
notifyDocumentEvent 原因(となる)s the 放送者 to 通知する all 登録(する)d listeners of the given event  
Methods' 詳細(に述べる)s
addDocumentEventListener
無効の
addDocumentEventListener( [in] XDocumentEventListener  _Listener );

Description
登録(する)s a listener which is 通知するd about 文書 events
Parameter _Listener
the listener to 登録(する). The behaviour of the method is undefined this listener is NULL.
removeDocumentEventListener
無効の
removeDocumentEventListener( [in] XDocumentEventListener  _Listener );

Description
取り消すs a listener which has 以前 been 登録(する)d to be 通知するd about 文書 events.
Parameter _Listener
the listener to 取り消す. The behaviour of the method is undefined this listener is NULL.
notifyDocumentEvent
無効の
notifyDocumentEvent( [in] string  _EventName,
[in] ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XController2  _ViewController,
[in] any  _Supplement )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException,
::com::sun::星/主役にする::lang::NoSupportException );

Description
原因(となる)s the 放送者 to 通知する all 登録(する)d listeners of the given event

The method will create a DocumentEvent instance with the given parameters, and fill in the Source member (denoting the 放送者) as appropriate.

Whether the actual notification happens synchronously or asynchronously is up to the implementator of this method. However, 実施s are encouraged to 明示する this, for the 名簿(に載せる)/表(にあげる) of supported event types, in their service 契約.

実施s might also decide to 限界 the 名簿(に載せる)/表(にあげる) of 許すd events (means event 指名するs) at their own discretion. Again, in this 事例/患者 they're encouraged to 文書 this in their service 契約.

Parameter _EventName
the 指名する of the event to be 通知するd.
Parameter _ViewController
the 見解(をとる)/監査役 which the event 適用するs to. May be NULL
Parameter _Supplement
supplemental (警察などへの)密告,告訴(状) 関係のある to the event.
Throws
::com::sun::星/主役にする::lang::IllegalArgumentException if _EventName is empty, or if _EventName is not supported by the 文書 実施.
Throws
::com::sun::星/主役にする::lang::NoSupportException if the 放送者 実施 does not supported broadcasting events induced externally. This is usually used for 構成要素s which multiplex events from 多重の sources, and thus would be unable to fill in the Source member of the DocumentEvent instance.
最高の,を越す 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.