LibreOffice
LibreOffice 6.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
Author
Kai Sommerfeld
See also
XContentIdentifier
XContentEventListener
Developers Guide
UCB - Services and Interfaces

Member Function Documentation

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

adds a listener for content events.

Parameters
Listenerthe listener to add.
See also
ContentEvent
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.

returns the identifier of the content.

Returns
the identifier.
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: