LibreOffice
LibreOffice 24.2 SDK API Reference
|
makes it possible to access and change the selection in a view. More...
import"XSelectionSupplier.idl";
Public Member Functions | |
boolean | select ([in] any xSelection) raises ( com::sun::star::lang::IllegalArgumentException ) |
selects the object represented by xSelection if it is known and selectable in this object. More... | |
any | getSelection () |
void | addSelectionChangeListener ([in] com::sun::star::view::XSelectionChangeListener xListener) |
registers an event listener, which is called when the selection changes. More... | |
void | removeSelectionChangeListener ([in] com::sun::star::view::XSelectionChangeListener xListener) |
unregisters an event listener which was registered with XSelectionSupplier::addSelectionChangeListener(). 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... | |
makes it possible to access and change the selection in a view.
void addSelectionChangeListener | ( | [in] com::sun::star::view::XSelectionChangeListener | xListener | ) |
registers an event listener, which is called when the selection changes.
any getSelection | ( | ) |
The selection is either specified by an object which is contained in the component to which the view belongs, or it is an interface of a collection which contains such objects.
void removeSelectionChangeListener | ( | [in] com::sun::star::view::XSelectionChangeListener | xListener | ) |
unregisters an event listener which was registered with XSelectionSupplier::addSelectionChangeListener().
boolean select | ( | [in] any | xSelection | ) | |
raises | ( | com::sun::star::lang::IllegalArgumentException | |||
) |
selects the object represented by xSelection if it is known and selectable in this object.