|
LibreOffice
LibreOffice 24.8 SDK API Reference
|
provides access to the elements of a collection through an index. More...
import "XIndexAccess.idl";
Public Member Functions | |
| long | getCount () |
| any | getByIndex ([in] long Index) raises ( com::sun::star::lang::IndexOutOfBoundsException, com::sun::star::lang::WrappedTargetException ) |
| 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. | |
| void | acquire () |
| increases the reference counter by one. | |
| void | release () |
| decreases the reference counter by one. | |
provides access to the elements of a collection through an index.
This interface should only be used if the data structure, itself, is indexed.
| any getByIndex | ( | [in] long | Index | ) | ||
| raises | ( | com::sun::star::lang::IndexOutOfBoundsException, | ||||
| com::sun::star::lang::WrappedTargetException ) | ||||||
| Index | specifies the position in the array. The first index is 0. |
| com::sun::star::lang::IndexOutOfBoundsException | if the index is not valid. |
| com::sun::star::lang::WrappedTargetException | If the implementation has internal reasons for exceptions, then wrap these in a com::sun::star::lang::WrappedTargetException exception. |
| long getCount | ( | ) |