LibreOffice: XModeChangeApproveListener Interface Reference

LibreOffice LibreOffice 5.1 SDK API Reference

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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:

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

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