Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: ucb ::

interface XRemoteContentProviderAcceptor
Description
Accept remote content providers that want to make themselves known to the local process.

Methods' Summary
addRemoteContentProvider Add a remote content provider.  
removeRemoteContentProvider Remove a remote content provider.  
Methods' Details
addRemoteContentProvider
boolean
addRemoteContentProvider( [in] string  Identifier,
[in] ::com::sun::star::lang::XMultiServiceFactory  Factory,
[in] sequence< string >  Templates,
[in] XRemoteContentProviderDoneListener  DoneListener );

Description
Add a remote content provider.
Parameter Identifier
An arbitrary identifier uniquely identifying the remote content provider.
Parameter Factory
A factory through which the remote content provider's UniversalContentBroker service can be instantiated.
Parameter Templates
A sequence of URL templates the remote content provider is willing to handle.
Parameter DoneListener
If not null, the implementation of this interface can---through this callback---tell the calling side that the implementation no longer needs the remote content provider. (And the calling side should call XRemoteContentProviderAcceptor::removeRemoteContentProvider then.) To enable connection control, it is recommended that this argument also implements the interface XRemoteContentProviderConnectionControl.
Returns
true if the remote content provider has successfully been added.
removeRemoteContentProvider
boolean
removeRemoteContentProvider( [in] string  Identifier );

Description
Remove a remote content provider.
Parameter Identifier
An arbitrary identifier uniquely identifying the remote content provider.
Returns
true if the remote content provider has successfully been removed.
Top of Page

Apache Software Foundation

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

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