LibreOffice
LibreOffice 7.4 SDK API Reference
Public Member Functions | List of all members
XSelectionChangeListener Interface Referencepublished

makes it possible to receive an event when the current selection changes. More...

import"XSelectionChangeListener.idl";

Inheritance diagram for XSelectionChangeListener:
XEventListener XInterface RangeHighlightListener XSelectionFunction

Public Member Functions

void selectionChanged ([in] com::sun::star::lang::EventObject aEvent)
 is called when the selection changes. More...
 
- Public Member Functions inherited from XEventListener
void disposing ([in] com::sun::star::lang::EventObject Source)
 gets called when the broadcaster is about to be disposed. 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...
 

Detailed Description

makes it possible to receive an event when the current selection changes.

See also
com::sun::star::view::XSelectionSupplier

Member Function Documentation

◆ selectionChanged()

void selectionChanged ( [in] com::sun::star::lang::EventObject  aEvent)

is called when the selection changes.

You can get the new selection via XSelectionSupplier from com::sun::star::lang::EventObject::Source.


The documentation for this interface was generated from the following file: