LibreOffice
LibreOffice 7.4 SDK API Reference
Public Member Functions | List of all members
XContentAccess Interface Referencepublished

specifies methods for obtaining information on a content in different levels. More...

import"XContentAccess.idl";

Inheritance diagram for XContentAccess:
XInterface ContentResultSet CachedContentResultSet CachedContentResultSetStub

Public Member Functions

string queryContentIdentifierString ()
 returns the identifier string of the content ( "cheap method" ). More...
 
XContentIdentifier queryContentIdentifier ()
 returns the identifier object of the content. More...
 
XContent queryContent ()
 returns the content ( "most expensive method" ). 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 methods for obtaining information on a content in different levels.

For example, if there is a cursor which points to XContents, this interface could be used to give the user access to the content under the cursor. If the client only needs the identifier string of the content, there is no need to first create the content object, then to obtain the string from it and after that to release the content.

Version
1.0
See also
XContent
XContentIdentifier

Member Function Documentation

◆ queryContent()

XContent queryContent ( )

returns the content ( "most expensive method" ).

Returns
the content.

◆ queryContentIdentifier()

XContentIdentifier queryContentIdentifier ( )

returns the identifier object of the content.

Returns
the identifier object.

◆ queryContentIdentifierString()

string queryContentIdentifierString ( )

returns the identifier string of the content ( "cheap method" ).

Note that this string can be used later to recreate the content.

Returns
the identifier string.

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