LibreOffice Module chart2 (master) 1
|
#include <RangeSelectionHelper.hxx>
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 |
Definition at line 41 of file RangeSelectionHelper.hxx.
|
explicit |
Definition at line 36 of file RangeSelectionHelper.cxx.
chart::RangeSelectionHelper::~RangeSelectionHelper | ( | ) |
Definition at line 41 of file RangeSelectionHelper.cxx.
bool chart::RangeSelectionHelper::chooseRange | ( | const OUString & | aCurrentRange, |
const OUString & | aUIString, | ||
RangeSelectionListenerParent & | rListenerParent | ||
) |
Definition at line 98 of file RangeSelectionHelper.cxx.
References DBG_UNHANDLED_EXCEPTION, getRangeSelection(), m_xChartDocument, m_xRangeSelectionListener, raiseRangeSelectionDocument(), and stopRangeListening().
Reference< sheet::XRangeSelection > const & chart::RangeSelectionHelper::getRangeSelection | ( | ) |
Definition at line 49 of file RangeSelectionHelper.cxx.
References DBG_UNHANDLED_EXCEPTION, m_xChartDocument, and m_xRangeSelection.
Referenced by chooseRange(), hasRangeSelection(), and raiseRangeSelectionDocument().
bool chart::RangeSelectionHelper::hasRangeSelection | ( | ) |
Definition at line 44 of file RangeSelectionHelper.cxx.
References getRangeSelection().
void chart::RangeSelectionHelper::raiseRangeSelectionDocument | ( | ) |
Definition at line 71 of file RangeSelectionHelper.cxx.
References DBG_UNHANDLED_EXCEPTION, getRangeSelection(), and xFrame.
Referenced by chooseRange().
void chart::RangeSelectionHelper::stopRangeListening | ( | bool | bRemoveListener = true | ) |
Definition at line 146 of file RangeSelectionHelper.cxx.
References m_xRangeSelection, and m_xRangeSelectionListener.
Referenced by chooseRange().
bool chart::RangeSelectionHelper::verifyArguments | ( | const css::uno::Sequence< css::beans::PropertyValue > & | rArguments | ) |
Definition at line 167 of file RangeSelectionHelper.cxx.
References m_xChartDocument.
bool chart::RangeSelectionHelper::verifyCellRange | ( | const OUString & | rRangeStr | ) |
Definition at line 158 of file RangeSelectionHelper.cxx.
References m_xChartDocument.
|
private |
Definition at line 63 of file RangeSelectionHelper.hxx.
Referenced by chooseRange(), getRangeSelection(), verifyArguments(), and verifyCellRange().
|
private |
Definition at line 61 of file RangeSelectionHelper.hxx.
Referenced by getRangeSelection(), and stopRangeListening().
|
private |
Definition at line 66 of file RangeSelectionHelper.hxx.
Referenced by chooseRange(), and stopRangeListening().