LibreOffice Module chart2 (master) 1
Public Member Functions | Private Attributes | List of all members
chart::RangeSelectionHelper Class Reference

#include <RangeSelectionHelper.hxx>

Collaboration diagram for chart::RangeSelectionHelper:
[legend]

Public Member Functions

 RangeSelectionHelper (rtl::Reference<::chart::ChartModel > xChartDocument)
 
 ~RangeSelectionHelper ()
 
bool hasRangeSelection ()
 
css::uno::Reference< css::sheet::XRangeSelection > const & getRangeSelection ()
 
void raiseRangeSelectionDocument ()
 
bool chooseRange (const OUString &aCurrentRange, const OUString &aUIString, RangeSelectionListenerParent &rListenerParent)
 
void stopRangeListening (bool bRemoveListener=true)
 
bool verifyCellRange (const OUString &rRangeStr)
 
bool verifyArguments (const css::uno::Sequence< css::beans::PropertyValue > &rArguments)
 

Private Attributes

css::uno::Reference< css::sheet::XRangeSelection > m_xRangeSelection
 
rtl::Reference<::chart::ChartModel > m_xChartDocument
 
css::uno::Reference< css::sheet::XRangeSelectionListener > m_xRangeSelectionListener
 

Detailed Description

Definition at line 41 of file RangeSelectionHelper.hxx.

Constructor & Destructor Documentation

◆ RangeSelectionHelper()

chart::RangeSelectionHelper::RangeSelectionHelper ( rtl::Reference<::chart::ChartModel >  xChartDocument)
explicit

Definition at line 36 of file RangeSelectionHelper.cxx.

◆ ~RangeSelectionHelper()

chart::RangeSelectionHelper::~RangeSelectionHelper ( )

Definition at line 41 of file RangeSelectionHelper.cxx.

Member Function Documentation

◆ chooseRange()

bool chart::RangeSelectionHelper::chooseRange ( const OUString &  aCurrentRange,
const OUString &  aUIString,
RangeSelectionListenerParent rListenerParent 
)

◆ getRangeSelection()

Reference< sheet::XRangeSelection > const & chart::RangeSelectionHelper::getRangeSelection ( )

◆ hasRangeSelection()

bool chart::RangeSelectionHelper::hasRangeSelection ( )

Definition at line 44 of file RangeSelectionHelper.cxx.

References getRangeSelection().

◆ raiseRangeSelectionDocument()

void chart::RangeSelectionHelper::raiseRangeSelectionDocument ( )

Definition at line 71 of file RangeSelectionHelper.cxx.

References DBG_UNHANDLED_EXCEPTION, getRangeSelection(), and xFrame.

Referenced by chooseRange().

◆ stopRangeListening()

void chart::RangeSelectionHelper::stopRangeListening ( bool  bRemoveListener = true)

Definition at line 146 of file RangeSelectionHelper.cxx.

References m_xRangeSelection, and m_xRangeSelectionListener.

Referenced by chooseRange().

◆ verifyArguments()

bool chart::RangeSelectionHelper::verifyArguments ( const css::uno::Sequence< css::beans::PropertyValue > &  rArguments)

Definition at line 167 of file RangeSelectionHelper.cxx.

References m_xChartDocument.

◆ verifyCellRange()

bool chart::RangeSelectionHelper::verifyCellRange ( const OUString &  rRangeStr)

Definition at line 158 of file RangeSelectionHelper.cxx.

References m_xChartDocument.

Member Data Documentation

◆ m_xChartDocument

rtl::Reference<::chart::ChartModel> chart::RangeSelectionHelper::m_xChartDocument
private

◆ m_xRangeSelection

css::uno::Reference< css::sheet::XRangeSelection > chart::RangeSelectionHelper::m_xRangeSelection
private

Definition at line 61 of file RangeSelectionHelper.hxx.

Referenced by getRangeSelection(), and stopRangeListening().

◆ m_xRangeSelectionListener

css::uno::Reference< css::sheet::XRangeSelectionListener > chart::RangeSelectionHelper::m_xRangeSelectionListener
private

Definition at line 66 of file RangeSelectionHelper.hxx.

Referenced by chooseRange(), and stopRangeListening().


The documentation for this class was generated from the following files: