Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

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

Methods' Summary
dispatchAndRecord | dispatch and record it

Methods' Details
dispatchAndRecord
void
dispatchAndRecord( | [in] ::com::sun::star::util::URL | URL,
| [in] sequence< ::com::sun::star::beans::PropertyValue > | Arguments,
| [in] XDispatchRecorder | Recorder );
Description dispatch and record it Parameter URL full parsed URL which describe the feature which should be dispatched (executed) Parameter Arguments optional arguments for this request (see ::com::sun::star::document::MediaDescriptor for details) Parameter Recorder object which can be used to record the request (available on XDispatchRecorderSupplier::getDispatchRecorder())

Top of Page

Copyright © 2000, 2014 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.