LibreOffice: XModeChangeApproveListener Interface Reference

LibreOffice LibreOffice 26.8 SDK API Reference

Loading...
Searching...
No Matches
XModeChangeApproveListener Interface Referencepublished

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

`import "XModeChangeApproveListener.idl";`

Inheritance diagram for XModeChangeApproveListener:

## Public Member Functions
void | approveModeChange ([in] ModeChangeEvent rSource) raises ( VetoException )
| indicates that the mode of the broadcasting component is about to change.
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.
Public Member Functions inherited from XInterface
any | queryInterface ([in] type aType)
| queries for a new interface to an existing UNO object.
void | acquire ()
| increases the reference counter by one.
void | release ()
| decreases the reference counter by one.

## 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

  VetoException | when the mode change is vetoed

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

- com/sun/star/util/XModeChangeApproveListener.idl