LibreOffice
LibreOffice 24.2 SDK API Reference
|
specifies methods for obtaining information on a content in different levels. More...
import"XContentAccess.idl";
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... | |
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.
XContent queryContent | ( | ) |
returns the content ( "most expensive method" ).
XContentIdentifier queryContentIdentifier | ( | ) |
returns the identifier object of the content.
string queryContentIdentifierString | ( | ) |
returns the identifier string of the content ( "cheap method" ).
Note that this string can be used later to recreate the content.