LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XContent Interface Referencepublished

specifies a content with a type and an identifier, which is able to manage listeners for events that are related to contents. More...

import"XContent.idl";

Inheritance diagram for XContent:
XInterface XQueryDefinition Content FileContent FTPContent GnomeVFSDocumentContent GnomeVFSFolderContent HelpContent HierarchyFolderContent HierarchyLinkContent HierarchyRootFolderContent ODMAContent PackageFolderContent PackageStreamContent TransientDocumentsDocumentContent TransientDocumentsFolderContent TransientDocumentsRootContent TransientDocumentsStreamContent WebDAVDocumentContent WebDAVFolderContent

Public Member Functions

com::sun::star::ucb::XContentIdentifier getIdentifier ()
 returns the identifier of the content. More...
 
string getContentType ()
 returns a type string, which is unique for that type of content (e.g. More...
 
void addContentEventListener ([in] com::sun::star::ucb::XContentEventListener Listener)
 adds a listener for content events. More...
 
void removeContentEventListener ([in] com::sun::star::ucb::XContentEventListener Listener)
 removes a listener for content events. 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...
 

Detailed Description

specifies a content with a type and an identifier, which is able to manage listeners for events that are related to contents.

Version
1.0
See also
XContentIdentifier
XContentEventListener
Developers Guide
Universal Content Broker - Services and Interfaces

Member Function Documentation

◆ addContentEventListener()

void addContentEventListener ( [in] com::sun::star::ucb::XContentEventListener  Listener)

adds a listener for content events.

Parameters
Listenerthe listener to add.
See also
ContentEvent

◆ getContentType()

string getContentType ( )

returns a type string, which is unique for that type of content (e.g.

"application/vnd.sun.star.hierarchy-folder").

Returns
the content type string.

◆ getIdentifier()

returns the identifier of the content.

Returns
the identifier.

◆ removeContentEventListener()

void removeContentEventListener ( [in] com::sun::star::ucb::XContentEventListener  Listener)

removes a listener for content events.

Parameters
Listenerthe listener to remove.
See also
ContentEvent

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