LibreOffice
LibreOffice 24.2 SDK API Reference
|
Accept remote content providers that want to make themselves known to the local process. More...
import"XRemoteContentProviderAcceptor.idl";
Public Member Functions | |
boolean | addRemoteContentProvider ([in] string Identifier, [in] com::sun::star::lang::XMultiServiceFactory Factory, [in] sequence< string > Templates, [in] XRemoteContentProviderDoneListener DoneListener) |
Add a remote content provider. More... | |
boolean | removeRemoteContentProvider ([in] string Identifier) |
Remove a remote content provider. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
Accept remote content providers that want to make themselves known to the local process.
boolean addRemoteContentProvider | ( | [in] string | Identifier, |
[in] com::sun::star::lang::XMultiServiceFactory | Factory, | ||
[in] sequence< string > | Templates, | ||
[in] XRemoteContentProviderDoneListener | DoneListener | ||
) |
Add a remote content provider.
Identifier | An arbitrary identifier uniquely identifying the remote content provider. |
Factory | A factory through which the remote content provider's UniversalContentBroker service can be instantiated. |
Templates | A sequence of URL templates the remote content provider is willing to handle. |
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.
boolean removeRemoteContentProvider | ( | [in] string | Identifier | ) |
Remove a remote content provider.
Identifier | An arbitrary identifier uniquely identifying the remote content provider. |