LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XModeChangeApproveListener Interface Referencepublished

allows to veto changes in an object's internal mode. More...

import"XModeChangeApproveListener.idl";

Inheritance diagram for XModeChangeApproveListener:
XEventListener XInterface

Public Member Functions

void approveModeChange ([in] ModeChangeEvent rSource) raises ( VetoException )
 indicates that the mode of the broadcasting component is about to change. More...
 
- Public Member Functions inherited from XEventListener
void disposing ([in] com::sun::star::lang::EventObject Source)
 gets called when the broadcaster is about to be disposed. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

allows to veto changes in an object's internal mode.

See also
XModeChangeBroadcaster
Since
OOo 1.1.2

Member Function Documentation

◆ approveModeChange()

void approveModeChange ( [in] ModeChangeEvent  rSource)
raises (VetoException
)

indicates that the mode of the broadcasting component is about to change.

The ModeChangeEvent::NewMode indicates the new mode which is to be set on the component

Exceptions
VetoExceptionwhen the mode change is vetoed

The documentation for this interface was generated from the following file: