:: com :: sun :: star :: frame ::
|
interface XRecordableDispatch |
|
- Description
- 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.
- Example
XDispatch xDispatcher = xFrame.queryDispatch(aURL,"",0);
XRecordableDispatch xRecordable = (XRecordableDispatch)UnoRuntime.queryInterface(
XRecordableDispatch.class,
xDispatcher);
xDispatcher.addStatusListener(this,aURL);
if (xRecordable!=null)
xRecordable.dispatchAndRecord(aURL,lArguments,xRecorder);
else
xDispatcher.dispatch(aURL,lArguments);
...
xDispatcher.removeStatusListener(this,aURL);
- Since
- OOo 1.1.2
- See also
- XDispatchRecorderSupplier, XDispatch
|
Top of Page
Copyright © 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.