LibreOffice
LibreOffice 6.2 SDK API Reference
Public Member Functions | List of all members
XRangeHighlighter Interface Reference

import"XRangeHighlighter.idl";

Inheritance diagram for XRangeHighlighter:
XInterface RangeHighlighter

Public Member Functions

sequence< HighlightedRangegetSelectedRanges ()
 Returns a list of ranges that are used by objects that are currently selected. More...
 
void addSelectionChangeListener ([in] com::sun::star::view::XSelectionChangeListener xListener)
 registers an event listener, which is called when the selection is changed and affects different source ranges More...
 
void removeSelectionChangeListener ([in] com::sun::star::view::XSelectionChangeListener xListener)
 unregisters an event listener which was registered with XRangeHighlighter::addSelectionChangeListener() before. 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...
 

Member Function Documentation

void addSelectionChangeListener ( [in] com::sun::star::view::XSelectionChangeListener  xListener)

registers an event listener, which is called when the selection is changed and affects different source ranges

sequence< HighlightedRange > getSelectedRanges ( )

Returns a list of ranges that are used by objects that are currently selected.

void removeSelectionChangeListener ( [in] com::sun::star::view::XSelectionChangeListener  xListener)

unregisters an event listener which was registered with XRangeHighlighter::addSelectionChangeListener() before.


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