LibreOffice
LibreOffice 24.2 SDK API Reference
|
extends an existing XDispatch implementation with functionality for dispatch recording More...
import"XRecordableDispatch.idl";
Public Member Functions | |
void | dispatchAndRecord ([in] com::sun::star::util::URL URL, [in] sequence< com::sun::star::beans::PropertyValue > Arguments, [in] XDispatchRecorder Recorder) |
dispatch and record it 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... | |
extends an existing XDispatch implementation with functionality for dispatch recording
This interface can be implemented as an additional one beside an existing XDispatch one to provide record functionality of dispatches. Because it's an additional interface the status events are available there and not at this interface.
But normally this interface mustn't be used directly. If a dispatch object is well known and recording was enabled on a XDispatchRecorderSupplier it's possible to use method XDispatchRecorderSupplier::dispatchAndRecord() of it to make dispatch and recording automatically. The interface XRecordableDispatch is used transparently there.
void dispatchAndRecord | ( | [in] com::sun::star::util::URL | URL, |
[in] sequence< com::sun::star::beans::PropertyValue > | Arguments, | ||
[in] XDispatchRecorder | Recorder | ||
) |
dispatch and record it
URL | full parsed URL which describe the feature which should be dispatched (executed) |
Arguments | optional arguments for this request (see com::sun::star::document::MediaDescriptor for details) |
Recorder | object which can be used to record the request (available on XDispatchRecorderSupplier::getDispatchRecorder()) |