LibreOffice
LibreOffice 24.2 SDK API Reference
|
An improved version of a com::sun::star::ucb::XCommandProcessor that helps avoid ever-increasing resource consumption. More...
import"XCommandProcessor2.idl";
Public Member Functions | |
void | releaseCommandIdentifier ([in] long CommandId) |
releases a command identifier obtained through XCommandProcessor::createCommandIdentifier() when it is no longer used. More... | |
Public Member Functions inherited from XCommandProcessor | |
long | createCommandIdentifier () |
creates a unique identifier for a command. More... | |
any | execute ([in] Command aCommand, [in] long CommandId, [in] XCommandEnvironment Environment) raises ( com::sun::star::uno::Exception, CommandAbortedException ) |
executes a command. More... | |
void | abort ([in] long CommandId) |
ends the command associated with the given id. 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... | |
An improved version of a com::sun::star::ucb::XCommandProcessor that helps avoid ever-increasing resource consumption.
void releaseCommandIdentifier | ( | [in] long | CommandId | ) |
releases a command identifier obtained through XCommandProcessor::createCommandIdentifier() when it is no longer used.
After this call the command identifier cannot be used any longer in calls to XCommandProcessor::execute() and XCommandProcessor::abort(). (But it can happen that a call to XCommandProcessor::createCommandIdentifier() reuses this identifier.)
CommandId | A command identifier obtained through XCommandProcessor::createCommandIdentifier(). If the identifier is zero, the request is silently ignored; but if the identifier is invalid (not obtained via XCommandProcessor::createCommandIdentifier() or already handed to XCommandProcessor2::releaseCommandIdentifier() before), the behavior is undefined. |