LibreOffice
LibreOffice 24.2 SDK API Reference
|
The ODMA Content Provider (OCP) implements a ContentProvider for the UniversalContentBroker (UCB). More...
import"ODMAContentProvider.idl";
Exported Interfaces | |
interface | com::sun::star::ucb::XContentProvider |
provides two types of content; the document and the Root Folder. More... | |
Additional Inherited Members | |
Public Member Functions inherited from XContentProvider | |
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. More... | |
long | compareContentIds ([in] com::sun::star::ucb::XContentIdentifier Id1, [in] com::sun::star::ucb::XContentIdentifier Id2) |
compares two XContentIdentifiers. 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... | |
The ODMA Content Provider (OCP) implements a ContentProvider for the UniversalContentBroker (UCB).
It provides access to a document structure stored on a Document Management System (DMS).
interface com::sun::star::ucb::XContentProvider |
provides two types of content; the document and the Root Folder.
The document Content corresponds to a document stored on the DMS.
The Root Folder exists at any time and is used to show all documents available at that time. All other OCP contents are children of this folder. The OCP Root Folder can only contain OCP Documents. It has the URL vnd.sun.star.odma:/
.
URL Scheme for OCP Contents
Each OCP content has an identifier corresponding to the following scheme:
vnd.sun.star.odma:/<name>
where <name> is the DocumentID given by the DMS.
Examples:
vnd.sun.star.odma:/ ( The URL of the OCP Root Folder )
vnd.sun.star.odma:/ a document id given by the DMS
vnd.sun.star.odma:/ODMA\DMS_ID\DM_SPECIFIC_INFO