LibreOffice
LibreOffice 24.2 SDK API Reference
|
defines a component which provides a list of string entries More...
import"ListEntrySource.idl";
Exported Interfaces | |
interface | XListEntrySource |
allows read access to the entries represented by this component More... | |
interface | com::sun::star::lang::XComponent |
allows life time control for the component More... | |
Additional Inherited Members | |
Public Member Functions inherited from XListEntrySource | |
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... | |
Public Member Functions inherited from XComponent | |
void | dispose () |
The owner of an object calls this method to explicitly free all resources kept by this object and thus break cyclic references. More... | |
void | addEventListener ([in] XEventListener xListener) |
adds an event listener to the object. More... | |
void | removeEventListener ([in] XEventListener aListener) |
removes an event listener from the listener list. More... | |
defines a component which provides a list of string entries
interface com::sun::star::lang::XComponent |
allows life time control for the component
An ListEntrySource will be known to one or more components supporting the XListEntrySink interface, which all work with this source. However, they will not own the ListEntrySource. The ownership is with another instance, which may also decide to obsolete the ListEntrySource for whatever reasons (e.g. because the data model which the binding reflected died). For this reason, a ListEntrySource must offer a possibility to be obsoleted by its owner, and to notify this obsoleteness to other interested parties, such as XListEntrySinks.
interface XListEntrySource |
allows read access to the entries represented by this component