LibreOffice Module chart2 (master) 1
|
#include <tp_ChartType.hxx>
Public Member Functions | |
ChartTypeTabPage (weld::Container *pPage, weld::DialogController *pController, rtl::Reference<::chart::ChartModel > xChartModel, bool bShowDescription=true) | |
virtual | ~ChartTypeTabPage () override |
virtual void | initializePage () override |
virtual bool | commitPage (::vcl::WizardTypes::CommitPageReason eReason) override |
virtual rtl::Reference< ::chart::ChartTypeTemplate > | getCurrentTemplate () const override |
Public Member Functions inherited from chart::ResourceChangeListener | |
virtual void | stateChanged ()=0 |
virtual | ~ResourceChangeListener () |
Public Member Functions inherited from vcl::OWizardPage | |
OWizardPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID) | |
virtual | ~OWizardPage () override |
virtual void | initializePage () override |
virtual bool | commitPage (WizardTypes::CommitPageReason _eReason) override |
virtual bool | canAdvance () const override |
Public Member Functions inherited from BuilderPage | |
BuilderPage (weld::Widget *pParent, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, bool bIsMobile=false) | |
virtual | ~BuilderPage () COVERITY_NOEXCEPT_FALSE |
void | SetPageTitle (const OUString &rPageTitle) |
const OUString & | GetPageTitle () const |
virtual void | Activate () |
virtual void | Deactivate () |
void | SetHelpId (const OUString &rHelpId) |
OUString | GetHelpId () const |
Public Member Functions inherited from chart::ChartTypeTemplateProvider | |
virtual rtl::Reference<::chart::ChartTypeTemplate > | getCurrentTemplate () const =0 |
virtual | ~ChartTypeTemplateProvider () |
Private Member Functions | |
ChartTypeDialogController * | getSelectedMainType () |
void | showAllControls (ChartTypeDialogController &rTypeController) |
void | fillAllControls (const ChartTypeParameter &rParameter, bool bAlsoResetSubTypeList=true) |
ChartTypeParameter | getCurrentParamter () const |
virtual void | stateChanged () override |
void | commitToModel (const ChartTypeParameter &rParameter) |
void | selectMainType () |
DECL_LINK (SelectMainTypeHdl, weld::TreeView &, void) | |
DECL_LINK (SelectSubTypeHdl, ValueSet *, void) | |
Private Attributes | |
std::unique_ptr< Dim3DLookResourceGroup > | m_pDim3DLookResourceGroup |
std::unique_ptr< StackingResourceGroup > | m_pStackingResourceGroup |
std::unique_ptr< SplineResourceGroup > | m_pSplineResourceGroup |
std::unique_ptr< GeometryResourceGroup > | m_pGeometryResourceGroup |
std::unique_ptr< SortByXValuesResourceGroup > | m_pSortByXValuesResourceGroup |
rtl::Reference<::chart::ChartModel > | m_xChartModel |
std::vector< std::unique_ptr< ChartTypeDialogController > > | m_aChartTypeDialogControllerList |
ChartTypeDialogController * | m_pCurrentMainType |
sal_Int32 | m_nChangingCalls |
TimerTriggeredControllerLock | m_aTimerTriggeredControllerLock |
std::unique_ptr< weld::Label > | m_xFT_ChooseType |
std::unique_ptr< weld::TreeView > | m_xMainTypeList |
std::unique_ptr< ValueSet > | m_xSubTypeList |
std::unique_ptr< weld::CustomWeld > | m_xSubTypeListWin |
Additional Inherited Members | |
Protected Member Functions inherited from vcl::OWizardPage | |
virtual void | Activate () override |
void | updateDialogTravelUI () |
Protected Attributes inherited from BuilderPage | |
weld::DialogController * | m_pDialogController |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
Definition at line 44 of file tp_ChartType.hxx.
chart::ChartTypeTabPage::ChartTypeTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
rtl::Reference<::chart::ChartModel > | xChartModel, | ||
bool | bShowDescription = true |
||
) |
Definition at line 44 of file tp_ChartType.cxx.
References get(), Size::Height(), LINK, m_aChartTypeDialogControllerList, m_pDim3DLookResourceGroup, m_pGeometryResourceGroup, m_pSortByXValuesResourceGroup, m_pSplineResourceGroup, m_pStackingResourceGroup, m_xChartModel, m_xFT_ChooseType, m_xMainTypeList, m_xSubTypeList, m_xSubTypeListWin, chart::SchResId(), BuilderPage::SetPageTitle(), TOOLS_WARN_EXCEPTION, WB_3DLOOK, WB_DOUBLEBORDER, WB_FLATVALUESET, WB_ITEMBORDER, WB_NAMEFIELD, and Size::Width().
|
overridevirtual |
Definition at line 132 of file tp_ChartType.cxx.
References m_aChartTypeDialogControllerList, m_pDim3DLookResourceGroup, m_pGeometryResourceGroup, m_pSortByXValuesResourceGroup, m_pSplineResourceGroup, m_pStackingResourceGroup, m_xSubTypeList, and m_xSubTypeListWin.
|
overridevirtual |
Definition at line 366 of file tp_ChartType.cxx.
|
private |
Definition at line 159 of file tp_ChartType.cxx.
References chart::ChartTypeDialogController::commitToModel(), m_aTimerTriggeredControllerLock, m_pCurrentMainType, m_xChartModel, and chart::TimerTriggeredControllerLock::startTimer().
Referenced by selectMainType(), and stateChanged().
|
private |
|
private |
|
private |
Definition at line 289 of file tp_ChartType.cxx.
References chart::ChartTypeDialogController::fillSubTypeList(), m_nChangingCalls, m_pCurrentMainType, m_pDim3DLookResourceGroup, m_pGeometryResourceGroup, m_pSortByXValuesResourceGroup, m_pSplineResourceGroup, m_pStackingResourceGroup, m_xSubTypeList, and chart::ChartTypeParameter::nSubTypeIndex.
Referenced by initializePage(), selectMainType(), and stateChanged().
|
private |
Definition at line 147 of file tp_ChartType.cxx.
References m_pDim3DLookResourceGroup, m_pGeometryResourceGroup, m_pSortByXValuesResourceGroup, m_pSplineResourceGroup, m_pStackingResourceGroup, m_xSubTypeList, and chart::ChartTypeParameter::nSubTypeIndex.
Referenced by getCurrentTemplate(), selectMainType(), and stateChanged().
|
overridevirtual |
Implements chart::ChartTypeTemplateProvider.
Definition at line 371 of file tp_ChartType.cxx.
References chart::ChartTypeDialogController::adjustParameterToSubType(), getCurrentParamter(), chart::ChartTypeDialogController::getCurrentTemplate(), m_pCurrentMainType, and m_xChartModel.
Referenced by selectMainType().
|
private |
Definition at line 203 of file tp_ChartType.cxx.
References get(), m_aChartTypeDialogControllerList, and m_xMainTypeList.
Referenced by initializePage(), and selectMainType().
|
overridevirtual |
Reimplemented from vcl::OWizardPage.
Definition at line 305 of file tp_ChartType.cxx.
References chart::ChartTypeParameter::b3DLook, chart::ChartTypeParameter::bSortByXValues, CHART_UNONAME_SORT_BY_XVALUES, DBG_UNHANDLED_EXCEPTION, chart::ChartTypeParameter::eThreeDLookScheme, fillAllControls(), chart::ChartTypeDialogController::fillExtraControls(), getSelectedMainType(), m_aChartTypeDialogControllerList, m_pCurrentMainType, m_pDim3DLookResourceGroup, m_pGeometryResourceGroup, m_pSortByXValuesResourceGroup, m_pSplineResourceGroup, m_pStackingResourceGroup, m_xChartModel, m_xMainTypeList, m_xSubTypeList, showAllControls(), chart::Diagram::tTemplateWithServiceName::sServiceName, chart::ThreeDLookScheme_Realistic, and chart::Diagram::tTemplateWithServiceName::xChartTypeTemplate.
|
private |
Definition at line 229 of file tp_ChartType.cxx.
References chart::ChartTypeDialogController::adjustParameterToMainType(), chart::ChartTypeDialogController::adjustParameterToSubType(), chart::ChartTypeParameter::b3DLook, chart::ChartTypeParameter::bSortByXValues, CHART_UNONAME_SORT_BY_XVALUES, commitToModel(), DBG_UNHANDLED_EXCEPTION, chart::ChartTypeParameter::eThreeDLookScheme, fillAllControls(), chart::ChartTypeDialogController::fillExtraControls(), get(), getCurrentParamter(), getCurrentTemplate(), getSelectedMainType(), chart::ChartTypeDialogController::hideExtraControls(), m_pCurrentMainType, m_xChartModel, showAllControls(), chart::ThreeDLookScheme_Realistic, and chart::ThreeDLookScheme_Unknown.
|
private |
Definition at line 271 of file tp_ChartType.cxx.
References m_pDim3DLookResourceGroup, m_pGeometryResourceGroup, m_pSortByXValuesResourceGroup, m_pSplineResourceGroup, m_pStackingResourceGroup, BuilderPage::m_xBuilder, m_xMainTypeList, m_xSubTypeList, chart::ChartTypeDialogController::shouldShow_3DLookControl(), chart::ChartTypeDialogController::shouldShow_GeometryControl(), chart::ChartTypeDialogController::shouldShow_SortByXValuesResourceGroup(), chart::ChartTypeDialogController::shouldShow_SplineControl(), chart::ChartTypeDialogController::shouldShow_StackingControl(), and chart::ChartTypeDialogController::showExtraControls().
Referenced by initializePage(), and selectMainType().
|
overrideprivatevirtual |
Implements chart::ResourceChangeListener.
Definition at line 168 of file tp_ChartType.cxx.
References chart::ChartTypeDialogController::adjustParameterToSubType(), chart::ChartTypeDialogController::adjustSubTypeAndEnableControls(), chart::ChartTypeParameter::bSortByXValues, CHART_UNONAME_SORT_BY_XVALUES, commitToModel(), DBG_UNHANDLED_EXCEPTION, chart::ChartTypeParameter::eThreeDLookScheme, fillAllControls(), getCurrentParamter(), m_nChangingCalls, m_pCurrentMainType, m_xChartModel, and chart::ThreeDLookScheme_Unknown.
|
private |
Definition at line 79 of file tp_ChartType.hxx.
Referenced by ChartTypeTabPage(), getSelectedMainType(), initializePage(), and ~ChartTypeTabPage().
|
private |
Definition at line 84 of file tp_ChartType.hxx.
Referenced by commitToModel().
|
private |
Definition at line 82 of file tp_ChartType.hxx.
Referenced by fillAllControls(), and stateChanged().
|
private |
Definition at line 80 of file tp_ChartType.hxx.
Referenced by commitToModel(), fillAllControls(), getCurrentTemplate(), initializePage(), selectMainType(), and stateChanged().
|
private |
Definition at line 71 of file tp_ChartType.hxx.
Referenced by ChartTypeTabPage(), fillAllControls(), getCurrentParamter(), initializePage(), showAllControls(), and ~ChartTypeTabPage().
|
private |
Definition at line 74 of file tp_ChartType.hxx.
Referenced by ChartTypeTabPage(), fillAllControls(), getCurrentParamter(), initializePage(), showAllControls(), and ~ChartTypeTabPage().
|
private |
Definition at line 75 of file tp_ChartType.hxx.
Referenced by ChartTypeTabPage(), fillAllControls(), getCurrentParamter(), initializePage(), showAllControls(), and ~ChartTypeTabPage().
|
private |
Definition at line 73 of file tp_ChartType.hxx.
Referenced by ChartTypeTabPage(), fillAllControls(), getCurrentParamter(), initializePage(), showAllControls(), and ~ChartTypeTabPage().
|
private |
Definition at line 72 of file tp_ChartType.hxx.
Referenced by ChartTypeTabPage(), fillAllControls(), getCurrentParamter(), initializePage(), showAllControls(), and ~ChartTypeTabPage().
|
private |
Definition at line 77 of file tp_ChartType.hxx.
Referenced by ChartTypeTabPage(), commitToModel(), getCurrentTemplate(), initializePage(), selectMainType(), and stateChanged().
|
private |
Definition at line 86 of file tp_ChartType.hxx.
Referenced by ChartTypeTabPage().
|
private |
Definition at line 87 of file tp_ChartType.hxx.
Referenced by ChartTypeTabPage(), getSelectedMainType(), initializePage(), and showAllControls().
|
private |
Definition at line 88 of file tp_ChartType.hxx.
Referenced by ChartTypeTabPage(), fillAllControls(), getCurrentParamter(), initializePage(), showAllControls(), and ~ChartTypeTabPage().
|
private |
Definition at line 89 of file tp_ChartType.hxx.
Referenced by ChartTypeTabPage(), and ~ChartTypeTabPage().