module com { module sun { module star { module view {
/** makes it possible to access and change the selection in a view.
@seeOfficeDocumentView
*/
published interface XSelectionSupplier: com::sun::star::uno::XInterface
{ /** selects the object represented by <var>xSelection</var> if it is knownandselectableinthisobject.
*/
boolean select( [in] any xSelection )
raises( com::sun::star::lang::IllegalArgumentException );
/** @returns thecurrentselection.
<p>Theselectioniseitherspecifiedbyanobjectwhichiscontained inthecomponenttowhichtheviewbelongs,oritisaninterfaceofa collectionwhichcontainssuchobjects.
*/
any getSelection();
/** registers an event listener, which is called when the selection changes.
*/ void addSelectionChangeListener( [in] com::sun::star::view::XSelectionChangeListener xListener );
/** unregisters an event listener which was registered with XSelectionSupplier::addSelectionChangeListener().
*/ void removeSelectionChangeListener( [in] com::sun::star::view::XSelectionChangeListener xListener );
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.