LibreOffice Module chart2 (master) 1
Public Member Functions | Protected Attributes | List of all members
chart::ChartTypeDialogController Class Referenceabstract

#include <ChartTypeDialogController.hxx>

Inheritance diagram for chart::ChartTypeDialogController:
[legend]
Collaboration diagram for chart::ChartTypeDialogController:
[legend]

Public Member Functions

 ChartTypeDialogController ()
 
virtual ~ChartTypeDialogController () override
 
virtual OUString getName ()=0
 
virtual OUString getImage ()=0
 
virtual const tTemplateServiceChartTypeParameterMapgetTemplateMap () 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::ChartTypeTemplategetCurrentTemplate (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
ResourceChangeListenerm_pChangeListener
 

Detailed Description

Definition at line 97 of file ChartTypeDialogController.hxx.

Constructor & Destructor Documentation

◆ ChartTypeDialogController()

chart::ChartTypeDialogController::ChartTypeDialogController ( )

Definition at line 110 of file ChartTypeDialogController.cxx.

◆ ~ChartTypeDialogController()

chart::ChartTypeDialogController::~ChartTypeDialogController ( )
overridevirtual

Definition at line 116 of file ChartTypeDialogController.cxx.

Member Function Documentation

◆ adjustParameterToMainType()

void chart::ChartTypeDialogController::adjustParameterToMainType ( ChartTypeParameter rParameter)
virtual

◆ adjustParameterToSubType()

void chart::ChartTypeDialogController::adjustParameterToSubType ( ChartTypeParameter rParameter)
virtual

◆ adjustSubTypeAndEnableControls()

void chart::ChartTypeDialogController::adjustSubTypeAndEnableControls ( ChartTypeParameter rParameter)
virtual

◆ commitToModel()

void chart::ChartTypeDialogController::commitToModel ( const ChartTypeParameter rParameter,
const rtl::Reference<::chart::ChartModel > &  xChartModel 
)

◆ fillExtraControls()

void chart::ChartTypeDialogController::fillExtraControls ( const rtl::Reference<::chart::ChartModel > &  xChartModel,
const css::uno::Reference< css::beans::XPropertySet > &  xTemplateProps 
) const
virtual

◆ fillSubTypeList()

void chart::ChartTypeDialogController::fillSubTypeList ( ValueSet rSubTypeList,
const ChartTypeParameter rParameter 
)
virtual

◆ getChartTypeParameterForService()

ChartTypeParameter chart::ChartTypeDialogController::getChartTypeParameterForService ( const OUString &  rServiceName,
const css::uno::Reference< css::beans::XPropertySet > &  xTemplateProps 
)

◆ getCurrentTemplate()

rtl::Reference< ChartTypeTemplate > chart::ChartTypeDialogController::getCurrentTemplate ( const ChartTypeParameter rParameter,
const rtl::Reference<::chart::ChartTypeManager > &  xTemplateManager 
) const

◆ getImage()

virtual OUString chart::ChartTypeDialogController::getImage ( )
pure virtual

◆ getName()

virtual OUString chart::ChartTypeDialogController::getName ( )
pure virtual

◆ getServiceNameForParameter()

OUString chart::ChartTypeDialogController::getServiceNameForParameter ( const ChartTypeParameter rParameter) const

◆ getTemplateMap()

virtual const tTemplateServiceChartTypeParameterMap & chart::ChartTypeDialogController::getTemplateMap ( ) const
pure virtual

◆ hideExtraControls()

void chart::ChartTypeDialogController::hideExtraControls ( ) const
virtual

◆ isSubType()

bool chart::ChartTypeDialogController::isSubType ( const OUString &  rServiceName)

Definition at line 120 of file ChartTypeDialogController.cxx.

References getTemplateMap().

◆ setTemplateProperties()

void chart::ChartTypeDialogController::setTemplateProperties ( const css::uno::Reference< css::beans::XPropertySet > &  xTemplateProps) const
virtual
Exceptions
css::uno::RuntimeException

Reimplemented in chart::CombiColumnLineChartDialogController.

Definition at line 369 of file ChartTypeDialogController.cxx.

Referenced by getCurrentTemplate().

◆ shouldShow_3DLookControl()

bool chart::ChartTypeDialogController::shouldShow_3DLookControl ( ) const
virtual

◆ shouldShow_GeometryControl()

bool chart::ChartTypeDialogController::shouldShow_GeometryControl ( ) const
virtual

◆ shouldShow_SortByXValuesResourceGroup()

bool chart::ChartTypeDialogController::shouldShow_SortByXValuesResourceGroup ( ) const
virtual

◆ shouldShow_SplineControl()

bool chart::ChartTypeDialogController::shouldShow_SplineControl ( ) const
virtual

◆ shouldShow_StackingControl()

bool chart::ChartTypeDialogController::shouldShow_StackingControl ( ) const
virtual

◆ showExtraControls()

void chart::ChartTypeDialogController::showExtraControls ( weld::Builder pBuilder)
virtual

Member Data Documentation

◆ bSupports3D

bool chart::ChartTypeDialogController::bSupports3D
protected

◆ bSupportsXAxisWithValues

bool chart::ChartTypeDialogController::bSupportsXAxisWithValues
protected

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