LibreOffice
LibreOffice 24.8 SDK API Reference
 
Loading...
Searching...
No Matches
XContentProvider Interface Referencepublished

a content provider which creates and manages XContents. More...

import "XContentProvider.idl";

Inheritance diagram for XContentProvider:
XInterface ContentProvider ContentProviderProxy FileContentProvider FTPContentProvider GIOContentProvider GnomeVFSContentProvider HelpContentProvider HierarchyContentProvider ODMAContentProvider PackageContentProvider RemoteProxyContentProvider TransientDocumentsContentProvider WebDAVContentProvider XUniversalContentBroker CmisContentProvider

Public Member Functions

com::sun::star::ucb::XContent queryContent ([in] com::sun::star::ucb::XContentIdentifier Identifier) raises ( com::sun::star::ucb::IllegalIdentifierException )
 creates a new XContent instance, if the given XContentIdentifier matches a content provided by the implementation of this interface.
 
long compareContentIds ([in] com::sun::star::ucb::XContentIdentifier Id1, [in] com::sun::star::ucb::XContentIdentifier Id2)
 compares two XContentIdentifiers.
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object.
 
void acquire ()
 increases the reference counter by one.
 
void release ()
 decreases the reference counter by one.
 

Detailed Description

a content provider which creates and manages XContents.

Version
1.0
See also
XContent
XContentIdentifier
Developers Guide
Universal Content Broker - Accessing a UCB Content

Member Function Documentation

◆ compareContentIds()

compares two XContentIdentifiers.

Parameters
Id1first content identifier.
Id2second content identifier.
Returns
0 is returned, if the identifiers are equal. A value less than 0 indicates, that the Id1 is less than Id2. A value greater than 0 is returned, if Id1 is greater than Id2.

◆ queryContent()

creates a new XContent instance, if the given XContentIdentifier matches a content provided by the implementation of this interface.

Parameters
Identifieran identifier for the content to query.
Returns
the content.
Exceptions
IllegalIdentifierExceptionif the given identifier does not match a content provided by the implementation of this interface

The documentation for this interface was generated from the following file: