LibreOffice
LibreOffice 24.2 SDK API Reference
|
provides access to the elements of a collection through a unique identifier. More...
import"XIdentifierAccess.idl";
Public Member Functions | |
any | getByIdentifier ([in] long Identifier) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
sequence< long > | getIdentifiers () |
Public Member Functions inherited from XElementAccess | |
type | getElementType () |
boolean | hasElements () |
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... | |
provides access to the elements of a collection through a unique identifier.
any getByIdentifier | ( | [in] long | Identifier | ) | |
raises | ( | com::sun::star::container::NoSuchElementException, | |||
com::sun::star::lang::WrappedTargetException | |||||
) |
Identifier | specifies the identifier of the element that should be retrieved. |
com::sun::star::lang::NoSuchElementException | If the identifier is not existing. |
com::sun::star::lang::WrappedTargetException | If the implementation has internal reasons for exceptions, then wrap these in a com::sun::star::lang::WrappedTargetException exception. |
sequence<long> getIdentifiers | ( | ) |
The order of the identifiers is not specified.