(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.