|
LibreOffice
LibreOffice 5.3 SDK API Reference
|
specifies a source of string list entries More...
import"XListEntrySource.idl";
Public Member Functions | |
| long | getListEntryCount () |
| retrieves the number of entries in the list More... | |
| string | getListEntry ([in] long Position) raises ( com::sun::star::lang::IndexOutOfBoundsException ) |
| provides access to a single list entry More... | |
| sequence< string > | getAllListEntries () |
| provides access to the entirety of all list entries More... | |
| void | addListEntryListener ([in] XListEntryListener Listener) raises ( com::sun::star::lang::NullPointerException ) |
| adds a listener which will be notified about changes in the list reflected by the component. More... | |
| void | removeListEntryListener ([in] XListEntryListener Listener) raises ( com::sun::star::lang::NullPointerException ) |
| revokes the given listener from the list of components which will be notified about changes in the entry list. 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 a source of string list entries
The interface supports foreign components which actively retrieve list entries, as well as components which want to passively being notified of changes in the list.
| void addListEntryListener | ( | [in] XListEntryListener | Listener | ) | |
| raises | ( | com::sun::star::lang::NullPointerException | |||
| ) | |||||
adds a listener which will be notified about changes in the list reflected by the component.
| com::sun::star::lang::NullPointerException | if the given listener is NULL |
| sequence< string > getAllListEntries | ( | ) |
provides access to the entirety of all list entries
| string getListEntry | ( | [in] long | Position | ) | |
| raises | ( | com::sun::star::lang::IndexOutOfBoundsException | |||
| ) | |||||
provides access to a single list entry
| com::sun::star::lang::IndexOutOfBoundsException | if the given position does not denote a valid index in the list |
| long getListEntryCount | ( | ) |
retrieves the number of entries in the list
| void removeListEntryListener | ( | [in] XListEntryListener | Listener | ) | |
| raises | ( | com::sun::star::lang::NullPointerException | |||
| ) | |||||
revokes the given listener from the list of components which will be notified about changes in the entry list.
| com::sun::star::lang::NullPointerException | if the given listener is NULL |
1.8.13