LibreOffice
LibreOffice 24.2 SDK API Reference
|
allows to request an approval for an action. More...
import"XActionsApproval.idl";
Public Member Functions | |
boolean | approveAction ([in] long nAction) |
requests an approval for the specified action. 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... | |
allows to request an approval for an action.
An implementation of this interface is usually provided to another object to allow this object to request an approval for actions. The list of possible actions must be documented in documentation of the object.
boolean approveAction | ( | [in] long | nAction | ) |
requests an approval for the specified action.
nAction | a value specifying the action that should be approved. Could take values from Actions constants set. The explicit set of the actions should be documented by the object that is going to use this interface for approval as for example InstanceLocker does. |
TRUE
in case the specified action is approved.