LibreOffice: XRangeHighlighter Interface Reference

LibreOffice LibreOffice 26.2 SDK API Reference

Loading...
Searching...
No Matches
XRangeHighlighter Interface Reference

`import "XRangeHighlighter.idl";`

Inheritance diagram for XRangeHighlighter:

## Public Member Functions
sequence< HighlightedRange > | getSelectedRanges ()
| Returns a list of ranges that are used by objects that are currently selected.
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
void | removeSelectionChangeListener ([in] com::sun::star::view::XSelectionChangeListener xListener)
| unregisters an event listener which was registered with XRangeHighlighter::addSelectionChangeListener() before.
Public Member Functions inherited from XInterface
any | queryInterface ([in] type aType)
| queries for a new interface to an existing UNO object.
void | acquire ()
| increases the reference counter by one.
void | release ()
| decreases the reference counter by one.

## Member Function Documentation

## ◆ addSelectionChangeListener()

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

## ◆ getSelectedRanges()

sequence< HighlightedRange > getSelectedRanges | ( |  | ) |

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

## ◆ removeSelectionChangeListener()

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:

- com/sun/star/chart2/data/XRangeHighlighter.idl