interface XContentAccess in module com::sun::star::ucb::

(Global Index)

Syntax

interface XContentAccess : com::sun::star::uno::XInterface ;

Description

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

For example, if there is a cursor which points to XContent s, 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.

See also

XContent

See also

XContentIdentifier

Method Summary

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

queryContentIdentifier returns the identifier object of the content.

queryContent returns the content ( "most expensive method" ).

Known Services Which Export this Interface

com::sun::star::ucb::ContentResultSet

Method Details



queryContentIdentifierString

Syntax

string queryContentIdentifierString ();

Description

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.

queryContentIdentifier

Syntax

com::sun::star::ucb::XContentIdentifier queryContentIdentifier ();

Description

returns the identifier object of the content.

Returns

the identifier object.

queryContent

Syntax

com::sun::star::ucb::XContent queryContent ();

Description

returns the content ( "most expensive method" ).

Returns

the content.
Top of Page