LibreOffice Module chart2 (master) 1
|
#include <ChartTypeDialogController.hxx>
Public Member Functions | |
ChartTypeDialogController () | |
virtual | ~ChartTypeDialogController () override |
virtual OUString | getName ()=0 |
virtual OUString | getImage ()=0 |
virtual const tTemplateServiceChartTypeParameterMap & | getTemplateMap () const =0 |
virtual void | fillSubTypeList (ValueSet &rSubTypeList, const ChartTypeParameter &rParameter) |
virtual bool | shouldShow_3DLookControl () const |
virtual bool | shouldShow_StackingControl () const |
virtual bool | shouldShow_SplineControl () const |
virtual bool | shouldShow_GeometryControl () const |
virtual bool | shouldShow_SortByXValuesResourceGroup () const |
virtual void | showExtraControls (weld::Builder *pBuilder) |
virtual void | hideExtraControls () const |
virtual void | fillExtraControls (const rtl::Reference<::chart::ChartModel > &xChartModel, const css::uno::Reference< css::beans::XPropertySet > &xTemplateProps) const |
virtual void | setTemplateProperties (const css::uno::Reference< css::beans::XPropertySet > &xTemplateProps) const |
bool | isSubType (const OUString &rServiceName) |
ChartTypeParameter | getChartTypeParameterForService (const OUString &rServiceName, const css::uno::Reference< css::beans::XPropertySet > &xTemplateProps) |
virtual void | adjustSubTypeAndEnableControls (ChartTypeParameter &rParameter) |
virtual void | adjustParameterToSubType (ChartTypeParameter &rParameter) |
virtual void | adjustParameterToMainType (ChartTypeParameter &rParameter) |
OUString | getServiceNameForParameter (const ChartTypeParameter &rParameter) const |
void | commitToModel (const ChartTypeParameter &rParameter, const rtl::Reference<::chart::ChartModel > &xChartModel) |
rtl::Reference<::chart::ChartTypeTemplate > | getCurrentTemplate (const ChartTypeParameter &rParameter, const rtl::Reference<::chart::ChartTypeManager > &xTemplateManager) const |
Public Member Functions inherited from chart::ChangingResource | |
ChangingResource () | |
virtual | ~ChangingResource () |
void | setChangeListener (ResourceChangeListener *pListener) |
Protected Attributes | |
bool | bSupportsXAxisWithValues |
bool | bSupports3D |
Protected Attributes inherited from chart::ChangingResource | |
ResourceChangeListener * | m_pChangeListener |
Definition at line 97 of file ChartTypeDialogController.hxx.
chart::ChartTypeDialogController::ChartTypeDialogController | ( | ) |
Definition at line 110 of file ChartTypeDialogController.cxx.
|
overridevirtual |
Definition at line 116 of file ChartTypeDialogController.cxx.
|
virtual |
Reimplemented in chart::LineChartDialogController, and chart::AreaChartDialogController.
Definition at line 182 of file ChartTypeDialogController.cxx.
References chart::ChartTypeParameter::b3DLook, chart::ChartTypeParameter::bSortByXValues, bSupports3D, bSupportsXAxisWithValues, chart::ChartTypeParameter::bXAxisWithValues, chart::ChartTypeParameter::eCurveStyle, chart::ChartTypeParameter::eStackMode, chart::ChartTypeParameter::eThreeDLookScheme, getTemplateMap(), chart::GlobalStackMode_NONE, chart::GlobalStackMode_STACK_Z, chart::ChartTypeParameter::mapsToSimilarService(), chart::ChartTypeParameter::mbRoundedEdge, chart::ChartTypeParameter::nCurveResolution, chart::ChartTypeParameter::nGeometry3D, and chart::ChartTypeParameter::nSplineOrder.
Referenced by chart::LineChartDialogController::adjustParameterToMainType(), chart::AreaChartDialogController::adjustParameterToMainType(), chart::ChartTypeTabPage::selectMainType(), and chart::sidebar::ChartTypePanel::selectMainType().
|
virtual |
Reimplemented in chart::PieChartDialogController, chart::LineChartDialogController, chart::XYChartDialogController, chart::AreaChartDialogController, chart::NetChartDialogController, chart::StockChartDialogController, chart::CombiColumnLineChartDialogController, and chart::BubbleChartDialogController.
Definition at line 164 of file ChartTypeDialogController.cxx.
References chart::ChartTypeParameter::eStackMode, chart::GlobalStackMode_NONE, chart::GlobalStackMode_STACK_Y, chart::GlobalStackMode_STACK_Y_PERCENT, chart::GlobalStackMode_STACK_Z, and chart::ChartTypeParameter::nSubTypeIndex.
Referenced by chart::ChartTypeTabPage::getCurrentTemplate(), chart::sidebar::ChartTypePanel::getCurrentTemplate(), chart::ChartTypeTabPage::selectMainType(), chart::sidebar::ChartTypePanel::selectMainType(), chart::ChartTypeTabPage::stateChanged(), and chart::sidebar::ChartTypePanel::stateChanged().
|
virtual |
Reimplemented in chart::ColumnOrBarChartDialogController_Base.
Definition at line 161 of file ChartTypeDialogController.cxx.
Referenced by chart::ChartTypeTabPage::stateChanged(), and chart::sidebar::ChartTypePanel::stateChanged().
void chart::ChartTypeDialogController::commitToModel | ( | const ChartTypeParameter & | rParameter, |
const rtl::Reference<::chart::ChartModel > & | xChartModel | ||
) |
Definition at line 307 of file ChartTypeDialogController.cxx.
References chart::ChartTypeParameter::b3DLook, chart::ChartTypeParameter::bSortByXValues, CHART_UNONAME_SORT_BY_XVALUES, chart::ChartTypeParameter::eThreeDLookScheme, chart::AxisHelper::getCoordinateSystemByIndex(), getCurrentTemplate(), AllSettings::GetMathLayoutRTL(), chart::AxisHelper::setRTLAxisLayout(), and chart::Diagram::tTemplateWithServiceName::xChartTypeTemplate.
Referenced by chart::ChartTypeTabPage::commitToModel(), and chart::sidebar::ChartTypePanel::commitToModel().
|
virtual |
Reimplemented in chart::CombiColumnLineChartDialogController.
Definition at line 365 of file ChartTypeDialogController.cxx.
Referenced by chart::sidebar::ChartTypePanel::Initialize(), chart::ChartTypeTabPage::initializePage(), chart::ChartTypeTabPage::selectMainType(), and chart::sidebar::ChartTypePanel::selectMainType().
|
virtual |
Reimplemented in chart::ColumnChartDialogController, chart::BarChartDialogController, chart::PieChartDialogController, chart::LineChartDialogController, chart::XYChartDialogController, chart::AreaChartDialogController, chart::NetChartDialogController, chart::StockChartDialogController, chart::CombiColumnLineChartDialogController, and chart::BubbleChartDialogController.
Definition at line 334 of file ChartTypeDialogController.cxx.
References ValueSet::Clear().
Referenced by chart::ChartTypeTabPage::fillAllControls(), and chart::sidebar::ChartTypePanel::fillAllControls().
ChartTypeParameter chart::ChartTypeDialogController::getChartTypeParameterForService | ( | const OUString & | rServiceName, |
const css::uno::Reference< css::beans::XPropertySet > & | xTemplateProps | ||
) |
Definition at line 126 of file ChartTypeDialogController.cxx.
References CHART_UNONAME_CURVE_RESOLUTION, CHART_UNONAME_CURVE_STYLE, CHART_UNONAME_SPLINE_ORDER, chart::ChartTypeParameter::eCurveStyle, ex, getTemplateMap(), chart::ChartTypeParameter::nCurveResolution, chart::ChartTypeParameter::nGeometry3D, and chart::ChartTypeParameter::nSplineOrder.
rtl::Reference< ChartTypeTemplate > chart::ChartTypeDialogController::getCurrentTemplate | ( | const ChartTypeParameter & | rParameter, |
const rtl::Reference<::chart::ChartTypeManager > & | xTemplateManager | ||
) | const |
Definition at line 257 of file ChartTypeDialogController.cxx.
References CHART_UNONAME_CURVE_RESOLUTION, CHART_UNONAME_CURVE_STYLE, CHART_UNONAME_SPLINE_ORDER, DBG_UNHANDLED_EXCEPTION, chart::ChartTypeParameter::eCurveStyle, ex, getServiceNameForParameter(), chart::ChartTypeParameter::nCurveResolution, chart::ChartTypeParameter::nGeometry3D, chart::ChartTypeParameter::nSplineOrder, and setTemplateProperties().
Referenced by commitToModel(), chart::ChartTypeTabPage::getCurrentTemplate(), and chart::sidebar::ChartTypePanel::getCurrentTemplate().
|
pure virtual |
Implemented in chart::ColumnChartDialogController, chart::BarChartDialogController, chart::PieChartDialogController, chart::LineChartDialogController, chart::XYChartDialogController, chart::AreaChartDialogController, chart::NetChartDialogController, chart::StockChartDialogController, chart::CombiColumnLineChartDialogController, and chart::BubbleChartDialogController.
|
pure virtual |
Implemented in chart::ColumnChartDialogController, chart::BarChartDialogController, chart::PieChartDialogController, chart::LineChartDialogController, chart::XYChartDialogController, chart::AreaChartDialogController, chart::NetChartDialogController, chart::StockChartDialogController, chart::CombiColumnLineChartDialogController, and chart::BubbleChartDialogController.
OUString chart::ChartTypeDialogController::getServiceNameForParameter | ( | const ChartTypeParameter & | rParameter | ) | const |
Definition at line 232 of file ChartTypeDialogController.cxx.
References chart::ChartTypeParameter::b3DLook, chart::ChartTypeParameter::bXAxisWithValues, chart::ChartTypeParameter::eStackMode, getTemplateMap(), chart::GlobalStackMode_NONE, chart::GlobalStackMode_STACK_Z, chart::ChartTypeParameter::mapsToSameService(), and chart::ChartTypeParameter::mapsToSimilarService().
Referenced by getCurrentTemplate().
|
pure virtual |
Implemented in chart::ColumnChartDialogController, chart::BarChartDialogController, chart::PieChartDialogController, chart::LineChartDialogController, chart::XYChartDialogController, chart::AreaChartDialogController, chart::NetChartDialogController, chart::StockChartDialogController, chart::CombiColumnLineChartDialogController, and chart::BubbleChartDialogController.
Referenced by adjustParameterToMainType(), getChartTypeParameterForService(), getServiceNameForParameter(), and isSubType().
|
virtual |
Reimplemented in chart::CombiColumnLineChartDialogController.
Definition at line 362 of file ChartTypeDialogController.cxx.
Referenced by chart::ChartTypeTabPage::selectMainType(), and chart::sidebar::ChartTypePanel::selectMainType().
bool chart::ChartTypeDialogController::isSubType | ( | const OUString & | rServiceName | ) |
Definition at line 120 of file ChartTypeDialogController.cxx.
References getTemplateMap().
|
virtual |
css::uno::RuntimeException |
Reimplemented in chart::CombiColumnLineChartDialogController.
Definition at line 369 of file ChartTypeDialogController.cxx.
Referenced by getCurrentTemplate().
|
virtual |
Reimplemented in chart::ColumnOrBarChartDialogController_Base, chart::PieChartDialogController, and chart::AreaChartDialogController.
Definition at line 338 of file ChartTypeDialogController.cxx.
Referenced by chart::ChartTypeTabPage::showAllControls(), and chart::sidebar::ChartTypePanel::showAllControls().
|
virtual |
Reimplemented in chart::ColumnOrBarChartDialogController_Base.
Definition at line 350 of file ChartTypeDialogController.cxx.
Referenced by chart::ChartTypeTabPage::showAllControls(), and chart::sidebar::ChartTypePanel::showAllControls().
|
virtual |
Reimplemented in chart::XYChartDialogController.
Definition at line 354 of file ChartTypeDialogController.cxx.
Referenced by chart::ChartTypeTabPage::showAllControls(), and chart::sidebar::ChartTypePanel::showAllControls().
|
virtual |
Reimplemented in chart::LineChartDialogController, and chart::XYChartDialogController.
Definition at line 346 of file ChartTypeDialogController.cxx.
Referenced by chart::ChartTypeTabPage::showAllControls(), and chart::sidebar::ChartTypePanel::showAllControls().
|
virtual |
Reimplemented in chart::LineChartDialogController, and chart::NetChartDialogController.
Definition at line 342 of file ChartTypeDialogController.cxx.
Referenced by chart::ChartTypeTabPage::showAllControls(), and chart::sidebar::ChartTypePanel::showAllControls().
|
virtual |
Reimplemented in chart::CombiColumnLineChartDialogController.
Definition at line 359 of file ChartTypeDialogController.cxx.
Referenced by chart::ChartTypeTabPage::showAllControls(), and chart::sidebar::ChartTypePanel::showAllControls().
|
protected |
Definition at line 141 of file ChartTypeDialogController.hxx.
Referenced by adjustParameterToMainType(), chart::CombiColumnLineChartDialogController::CombiColumnLineChartDialogController(), chart::NetChartDialogController::NetChartDialogController(), and chart::StockChartDialogController::StockChartDialogController().
|
protected |
Definition at line 140 of file ChartTypeDialogController.hxx.
Referenced by adjustParameterToMainType(), and chart::XYChartDialogController::XYChartDialogController().