Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: frame ::

interface XDispatchProvider
Description
provides XDispatch interfaces for certain functions which are useful at the UI.
See also
XDispatch
Developers Guide
WritingUNO - Implementation
OfficeDev - Dispatch Framework

Methods' Summary
queryDispatch searches for an XDispatch for the specified URL within the specified target frame.  
queryDispatches actually this method is redundant to XDispatchProvider::queryDispatch() to avoid multiple remote calls.  
Methods' Details
queryDispatch
XDispatch
queryDispatch( [in] ::com::sun::star::util::URL  URL,
[in] string  TargetFrameName,
[in] long  SearchFlags );

Description
searches for an XDispatch for the specified URL within the specified target frame.
Parameter URL
describe the feature which should be supported by returned dispatch object
Parameter TargetFrameName
specify the frame which should be the target for this request
Parameter SearchFlags
optional search parameter for finding the frame if no special TargetFrameName was used
Returns
the dispatch object which provides queried functionality
or NULL if no dispatch object is available
See also
XFrame::findFrame(), XDispatchProvider::queryDispatches()
queryDispatches
sequence< XDispatch >
queryDispatches( [in] sequence< DispatchDescriptor >  Requests );

Description
actually this method is redundant to XDispatchProvider::queryDispatch() to avoid multiple remote calls.
Parameter Requests
list of dispatch requests
Returns
multiple dispatch interfaces for the specified descriptors at once

It's not allowed to pack it - because every request must match to his real result. Means: don't delete NULL entries inside this list.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.