22#include <com/sun/star/chart2/data/XRangeHighlighter.hpp>
25#include <unonames.hxx>
30using ::com::sun::star::uno::Reference;
31using ::com::sun::star::uno::Sequence;
37 m_pViewShell( pViewShell )
46 Reference< chart2::data::XRangeHighlighter > xRangeHighlighter(
aEvent.Source, uno::UNO_QUERY );
47 if( xRangeHighlighter.is())
49 Sequence< chart2::data::HighlightedRange > aRanges( xRangeHighlighter->getSelectedRanges());
SC_SIMPLE_SERVICE_INFO(ScChartRangeSelectionListener, "ScChartRangeSelectionListener", SC_SERVICENAME_CHRANGEHILIGHT) ScChartRangeSelectionListener
ScTabViewShell * m_pViewShell
virtual void SAL_CALL selectionChanged(const css::lang::EventObject &aEvent) override
virtual ~ScChartRangeSelectionListener() override
ScChartRangeSelectionListener(ScTabViewShell *pViewShell)
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
void DoChartSelection(const css::uno::Sequence< css::chart2::data::HighlightedRange > &rHilightRanges)
constexpr OUStringLiteral SC_SERVICENAME_CHRANGEHILIGHT