LibreOffice Module chart2 (master) 1
|
#include <ChartTypePanel.hxx>
Public Member Functions | |
virtual void | DataChanged (const DataChangedEvent &rEvent) override |
virtual void | HandleContextChange (const vcl::EnumContext &rContext) override |
ChartTypePanel (weld::Widget *pParent, ::chart::ChartController *pController) | |
virtual | ~ChartTypePanel () override |
virtual void | updateData () override |
virtual void | modelInvalid () override |
virtual void | updateModel (css::uno::Reference< css::frame::XModel > xModel) 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 PanelLayout | |
PanelLayout (weld::Widget *pParent, const OUString &rID, const OUString &rUIXMLDescription) | |
void | SetPanel (sfx2::sidebar::Panel *pPanel) |
virtual | ~PanelLayout () |
Size | get_preferred_size () const |
void | queue_resize () |
Public Member Functions inherited from chart::sidebar::ChartSidebarModifyListenerParent | |
virtual | ~ChartSidebarModifyListenerParent () |
virtual void | updateData ()=0 |
virtual void | modelInvalid ()=0 |
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 | getCurrentParameter () const |
virtual void | stateChanged () override |
void | commitToModel (const ChartTypeParameter &rParameter) |
void | selectMainType () |
DECL_LINK (SelectMainTypeHdl, weld::ComboBox &, void) | |
DECL_LINK (SelectSubTypeHdl, ValueSet *, void) | |
void | Initialize () |
void | doUpdateModel (rtl::Reference<::chart::ChartModel > xModel) |
Private Attributes | |
vcl::EnumContext | maContext |
css::uno::Reference< css::util::XModifyListener > | mxListener |
bool | mbModelValid |
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::ComboBox > | m_xMainTypeList |
std::unique_ptr< ValueSet > | m_xSubTypeList |
std::unique_ptr< weld::CustomWeld > | m_xSubTypeListWin |
Additional Inherited Members | |
Protected Member Functions inherited from PanelLayout | |
virtual void | DataChanged (const DataChangedEvent &rEvent) |
virtual void | DumpAsPropertyTree (tools::JsonWriter &) |
virtual weld::Window * | GetFrameWeld () const |
Protected Attributes inherited from PanelLayout | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
sfx2::sidebar::Panel * | m_pPanel |
Definition at line 52 of file ChartTypePanel.hxx.
chart::sidebar::ChartTypePanel::ChartTypePanel | ( | weld::Widget * | pParent, |
::chart::ChartController * | pController | ||
) |
Definition at line 42 of file ChartTypePanel.cxx.
References get(), Size::Height(), Initialize(), LINK, m_aChartTypeDialogControllerList, m_pDim3DLookResourceGroup, m_pGeometryResourceGroup, m_pSortByXValuesResourceGroup, m_pSplineResourceGroup, m_pStackingResourceGroup, m_xChartModel, m_xMainTypeList, m_xSubTypeList, m_xSubTypeListWin, mxListener, TOOLS_WARN_EXCEPTION, WB_3DLOOK, WB_DOUBLEBORDER, WB_FLATVALUESET, WB_ITEMBORDER, WB_NAMEFIELD, and Size::Width().
|
overridevirtual |
Definition at line 121 of file ChartTypePanel.cxx.
References doUpdateModel(), m_aChartTypeDialogControllerList, m_pDim3DLookResourceGroup, m_pGeometryResourceGroup, m_pSortByXValuesResourceGroup, m_pSplineResourceGroup, m_pStackingResourceGroup, m_xMainTypeList, m_xSubTypeList, and m_xSubTypeListWin.
|
private |
Definition at line 388 of file ChartTypePanel.cxx.
References chart::ChartTypeDialogController::commitToModel(), m_aTimerTriggeredControllerLock, m_pCurrentMainType, m_xChartModel, and chart::TimerTriggeredControllerLock::startTimer().
Referenced by selectMainType(), and stateChanged().
|
overridevirtual |
Reimplemented from PanelLayout.
Definition at line 244 of file ChartTypePanel.cxx.
References PanelLayout::DataChanged(), and updateData().
|
private |
|
private |
|
private |
Definition at line 264 of file ChartTypePanel.cxx.
References m_xChartModel, mbModelValid, mxListener, and xModel.
Referenced by updateModel(), and ~ChartTypePanel().
|
private |
Definition at line 328 of file ChartTypePanel.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 Initialize(), selectMainType(), and stateChanged().
|
private |
Definition at line 345 of file ChartTypePanel.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 287 of file ChartTypePanel.cxx.
References chart::ChartTypeDialogController::adjustParameterToSubType(), getCurrentParameter(), chart::ChartTypeDialogController::getCurrentTemplate(), m_pCurrentMainType, and m_xChartModel.
Referenced by selectMainType().
|
private |
Definition at line 300 of file ChartTypePanel.cxx.
References get(), m_aChartTypeDialogControllerList, and m_xMainTypeList.
Referenced by Initialize(), and selectMainType().
|
overridevirtual |
Definition at line 250 of file ChartTypePanel.cxx.
References maContext, and updateData().
|
private |
Definition at line 155 of file ChartTypePanel.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.
Referenced by ChartTypePanel().
|
overridevirtual |
Implements chart::sidebar::ChartSidebarModifyListenerParent.
Definition at line 262 of file ChartTypePanel.cxx.
References mbModelValid.
|
private |
Definition at line 397 of file ChartTypePanel.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(), getCurrentParameter(), getCurrentTemplate(), getSelectedMainType(), chart::ChartTypeDialogController::hideExtraControls(), m_pCurrentMainType, m_xChartModel, showAllControls(), and chart::ThreeDLookScheme_Realistic.
|
private |
Definition at line 310 of file ChartTypePanel.cxx.
References m_pDim3DLookResourceGroup, m_pGeometryResourceGroup, m_pSortByXValuesResourceGroup, m_pSplineResourceGroup, m_pStackingResourceGroup, PanelLayout::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 Initialize(), and selectMainType().
|
overrideprivatevirtual |
Implements chart::ResourceChangeListener.
Definition at line 357 of file ChartTypePanel.cxx.
References chart::ChartTypeDialogController::adjustParameterToSubType(), chart::ChartTypeDialogController::adjustSubTypeAndEnableControls(), chart::ChartTypeParameter::bSortByXValues, CHART_UNONAME_SORT_BY_XVALUES, commitToModel(), DBG_UNHANDLED_EXCEPTION, chart::ChartTypeParameter::eThreeDLookScheme, fillAllControls(), getCurrentParameter(), m_nChangingCalls, m_pCurrentMainType, and m_xChartModel.
|
overridevirtual |
Implements chart::sidebar::ChartSidebarModifyListenerParent.
Definition at line 219 of file ChartTypePanel.cxx.
References m_aChartTypeDialogControllerList, m_xChartModel, and chart::Diagram::tTemplateWithServiceName::sServiceName.
Referenced by DataChanged(), and HandleContextChange().
|
overridevirtual |
Definition at line 280 of file ChartTypePanel.cxx.
References doUpdateModel(), and xModel.
|
private |
Definition at line 107 of file ChartTypePanel.hxx.
Referenced by ChartTypePanel(), getSelectedMainType(), Initialize(), updateData(), and ~ChartTypePanel().
|
private |
Definition at line 112 of file ChartTypePanel.hxx.
Referenced by commitToModel().
|
private |
Definition at line 110 of file ChartTypePanel.hxx.
Referenced by fillAllControls(), and stateChanged().
|
private |
Definition at line 108 of file ChartTypePanel.hxx.
Referenced by commitToModel(), fillAllControls(), getCurrentTemplate(), Initialize(), selectMainType(), and stateChanged().
|
private |
Definition at line 99 of file ChartTypePanel.hxx.
Referenced by ChartTypePanel(), fillAllControls(), getCurrentParameter(), Initialize(), showAllControls(), and ~ChartTypePanel().
|
private |
Definition at line 102 of file ChartTypePanel.hxx.
Referenced by ChartTypePanel(), fillAllControls(), getCurrentParameter(), Initialize(), showAllControls(), and ~ChartTypePanel().
|
private |
Definition at line 103 of file ChartTypePanel.hxx.
Referenced by ChartTypePanel(), fillAllControls(), getCurrentParameter(), Initialize(), showAllControls(), and ~ChartTypePanel().
|
private |
Definition at line 101 of file ChartTypePanel.hxx.
Referenced by ChartTypePanel(), fillAllControls(), getCurrentParameter(), Initialize(), showAllControls(), and ~ChartTypePanel().
|
private |
Definition at line 100 of file ChartTypePanel.hxx.
Referenced by ChartTypePanel(), fillAllControls(), getCurrentParameter(), Initialize(), showAllControls(), and ~ChartTypePanel().
|
private |
Definition at line 105 of file ChartTypePanel.hxx.
Referenced by ChartTypePanel(), commitToModel(), doUpdateModel(), getCurrentTemplate(), Initialize(), selectMainType(), stateChanged(), and updateData().
|
private |
Definition at line 114 of file ChartTypePanel.hxx.
Referenced by ChartTypePanel(), getSelectedMainType(), Initialize(), showAllControls(), and ~ChartTypePanel().
|
private |
Definition at line 115 of file ChartTypePanel.hxx.
Referenced by ChartTypePanel(), fillAllControls(), getCurrentParameter(), Initialize(), showAllControls(), and ~ChartTypePanel().
|
private |
Definition at line 116 of file ChartTypePanel.hxx.
Referenced by ChartTypePanel(), and ~ChartTypePanel().
|
private |
Definition at line 90 of file ChartTypePanel.hxx.
Referenced by HandleContextChange().
|
private |
Definition at line 94 of file ChartTypePanel.hxx.
Referenced by doUpdateModel(), and modelInvalid().
|
private |
Definition at line 92 of file ChartTypePanel.hxx.
Referenced by doUpdateModel().