LibreOffice Module chart2 (master) 1
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
chart::BarChartTypeTemplate Class Reference

#include <BarChartTypeTemplate.hxx>

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

Public Types

enum  BarDirection {
  HORIZONTAL ,
  VERTICAL
}
 

Public Member Functions

 BarChartTypeTemplate (css::uno::Reference< css::uno::XComponentContext > const &xContext, const OUString &rServiceName, StackMode eStackMode, BarDirection eDirection, sal_Int32 nDim=2)
 
virtual ~BarChartTypeTemplate () override
 
- Public Member Functions inherited from chart::ChartTypeTemplate
 ChartTypeTemplate (css::uno::Reference< css::uno::XComponentContext > const &xContext, OUString aServiceName)
 
virtual ~ChartTypeTemplate () override
 
rtl::Reference< ::chart::DiagramcreateDiagramByDataSource2 (const css::uno::Reference< css::chart2::data::XDataSource > &xDataSource, const css::uno::Sequence< css::beans::PropertyValue > &aArguments)
 
virtual css::uno::Reference< css::chart2::XDiagram > SAL_CALL createDiagramByDataSource (const css::uno::Reference< css::chart2::data::XDataSource > &xDataSource, const css::uno::Sequence< css::beans::PropertyValue > &aArguments) override final
 
virtual sal_Bool SAL_CALL supportsCategories () override
 denotes if the chart needs categories at the first scale More...
 
virtual void SAL_CALL changeDiagram (const css::uno::Reference< css::chart2::XDiagram > &xDiagram) override final
 
virtual void SAL_CALL changeDiagramData (const css::uno::Reference< css::chart2::XDiagram > &xDiagram, const css::uno::Reference< css::chart2::data::XDataSource > &xDataSource, const css::uno::Sequence< css::beans::PropertyValue > &aArguments) override final
 
virtual sal_Bool SAL_CALL matchesTemplate (const css::uno::Reference< css::chart2::XDiagram > &xDiagram, sal_Bool bAdaptProperties) override final
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getDataInterpreter () override final
 
virtual css::uno::Reference< ::css::chart2::XChartType > SAL_CALL getChartTypeForNewSeries (const css::uno::Sequence< css::uno::Reference< css::chart2::XChartType > > &aFormerlyUsedChartTypes) override final
 
virtual void SAL_CALL applyStyle (const css::uno::Reference< css::chart2::XDataSeries > &xSeries, ::sal_Int32 nChartTypeIndex, ::sal_Int32 nSeriesIndex, ::sal_Int32 nSeriesCount) override final
 
virtual void SAL_CALL resetStyles (const css::uno::Reference< css::chart2::XDiagram > &xDiagram) override final
 
void changeDiagram (const rtl::Reference< ::chart::Diagram > &xDiagram)
 
void changeDiagramData (const rtl::Reference< ::chart::Diagram > &xDiagram, const css::uno::Reference< css::chart2::data::XDataSource > &xDataSource, const css::uno::Sequence< css::beans::PropertyValue > &aArguments)
 
virtual bool matchesTemplate2 (const rtl::Reference< ::chart::Diagram > &xDiagram, bool bAdaptProperties)
 
virtual rtl::Reference< ::chart::ChartTypegetChartTypeForNewSeries2 (const std::vector< rtl::Reference< ::chart::ChartType > > &aFormerlyUsedChartTypes)=0
 
virtual rtl::Reference< ::chart::DataInterpretergetDataInterpreter2 ()
 
virtual void applyStyle2 (const rtl::Reference< ::chart::DataSeries > &xSeries, ::sal_Int32 nChartTypeIndex, ::sal_Int32 nSeriesIndex, ::sal_Int32 nSeriesCount)
 
virtual void resetStyles2 (const rtl::Reference< ::chart::Diagram > &xDiagram)
 
void applyStyles (const rtl::Reference< ::chart::Diagram > &xDiagram)
 
virtual OUString SAL_CALL getServiceName () override
 
virtual sal_Int32 getDimension () const
 returns 2 by default. Supported are 2 and 3 More...
 
virtual StackMode getStackMode (sal_Int32 nChartTypeIndex) const
 returns StackMode::NONE by default. More...
 
virtual rtl::Reference< ::chart::ChartTypegetChartTypeForIndex (sal_Int32 nChartTypeIndex)=0
 
virtual bool isSwapXAndY () const
 
virtual void adaptDiagram (const rtl::Reference< ::chart::Diagram > &xDiagram)
 Allows derived classes to manipulate the diagrams whole, like changing the wall color. More...
 
virtual void createCoordinateSystems (const rtl::Reference< ::chart::Diagram > &xDiagram)
 Creates a 2d or 3d cartesian coordinate system with mathematically oriented, linear scales with auto-min/max. More...
 
virtual void adaptScales (const std::vector< rtl::Reference< ::chart::BaseCoordinateSystem > > &aCooSysSeq, const css::uno::Reference< css::chart2::data::XLabeledDataSequence > &xCategories)
 Sets categories at the scales of dimension 0 and the percent stacking at the scales of dimension 1 of all given coordinate systems. More...
 
virtual void createChartTypes (const std::vector< std::vector< rtl::Reference< ::chart::DataSeries > > > &aSeriesSeq, const std::vector< rtl::Reference< ::chart::BaseCoordinateSystem > > &rCoordSys, const std::vector< rtl::Reference< ChartType > > &aOldChartTypesSeq)
 create a data series tree, that fits the requirements of the chart type. More...
 
void createAxes (const std::vector< rtl::Reference< ::chart::BaseCoordinateSystem > > &rCoordSys)
 create axes and add them to the given container. More...
 
virtual sal_Int32 getAxisCountByDimension (sal_Int32 nDimension)
 Give the number of requested axis per dimension here. More...
 
virtual void adaptAxes (const std::vector< rtl::Reference< ::chart::BaseCoordinateSystem > > &rCoordSys)
 adapt properties of existing axes and remove superfluous axes More...
 
const css::uno::Reference< css::uno::XComponentContext > & GetComponentContext () const
 
- Public Member Functions inherited from property::OPropertySet
 OPropertySet ()
 
virtual ~OPropertySet ()
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override final
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override final
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override final
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) override final
 
virtual void SAL_CALL setAllPropertiesToDefault () override final
 
virtual void SAL_CALL setPropertiesToDefault (const css::uno::Sequence< OUString > &aPropertyNames) override final
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyDefaults (const css::uno::Sequence< OUString > &aPropertyNames) override final
 
virtual css::uno::Reference< css::style::XStyle > SAL_CALL getStyle () override final
 
virtual void SAL_CALL setStyle (const css::uno::Reference< css::style::XStyle > &xStyle) override final
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) override final
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final
 
- Public Member Functions inherited from cppu::OBroadcastHelperVar< class container, class keyType >
 OBroadcastHelperVar (::osl::Mutex &rMutex_)
 
void addListener (const keyType &key, const css::uno::Reference< css::uno::XInterface > &r)
 
void removeListener (const keyType &key, const css::uno::Reference< css::uno::XInterface > &r)
 
OInterfaceContainerHelper *SAL_CALL getContainer (const keyType &key) const
 
- Public Member Functions inherited from cppu::OPropertySetHelper
 OPropertySetHelper (OBroadcastHelper &rBHelper)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring=false)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
css::uno::Sequence< css::uno::Type > getTypes ()
 
void SAL_CALL disposing ()
 
virtual void SAL_CALL setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getPropertyValue (const ::rtl::OUString &aPropertyName) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 

Protected Member Functions

virtual void GetDefaultValue (sal_Int32 nHandle, css::uno::Any &rAny) const override
 merge XInterface implementations More...
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 The InfoHelper table contains all property names and types of this object. More...
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual bool matchesTemplate2 (const rtl::Reference< ::chart::Diagram > &xDiagram, bool bAdaptProperties) override
 
virtual rtl::Reference< ::chart::ChartTypegetChartTypeForNewSeries2 (const std::vector< rtl::Reference< ::chart::ChartType > > &aFormerlyUsedChartTypes) override
 
virtual void applyStyle2 (const rtl::Reference< ::chart::DataSeries > &xSeries, ::sal_Int32 nChartTypeGroupIndex, ::sal_Int32 nSeriesIndex, ::sal_Int32 nSeriesCount) override
 
virtual void resetStyles2 (const rtl::Reference< ::chart::Diagram > &xDiagram) override
 
virtual rtl::Reference< ::chart::ChartTypegetChartTypeForIndex (sal_Int32 nChartTypeIndex) override
 
virtual sal_Int32 getDimension () const override
 returns 2 by default. Supported are 2 and 3 More...
 
virtual StackMode getStackMode (sal_Int32 nChartTypeIndex) const override
 returns StackMode::NONE by default. More...
 
virtual bool isSwapXAndY () const override
 
virtual void createCoordinateSystems (const rtl::Reference< ::chart::Diagram > &xDiagram) override
 Creates a 2d or 3d cartesian coordinate system with mathematically oriented, linear scales with auto-min/max. More...
 
- Protected Member Functions inherited from property::OPropertySet
 OPropertySet (const OPropertySet &rOther)
 
void SetNewValuesExplicitlyEvenIfTheyEqualDefault ()
 
virtual void GetDefaultValue (sal_Int32 nHandle, css::uno::Any &rAny) const =0
 implement this method to provide default values for all properties supporting defaults. More...
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override=0
 The InfoHelper table contains all property names and types of this object. More...
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override final
 Try to convert the value rValue to the type required by the property associated with nHandle. More...
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 The same as setFastPropertyValue; nHandle is always valid. More...
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 The same as getFastPropertyValue, but return the value through rValue and nHandle is always valid. More...
 
virtual void firePropertyChangeEvent ()
 implement this method in derived classes to get called when properties change. More...
 
- Protected Member Functions inherited from cppu::OBroadcastHelperVar< class container, class keyType >
 OBroadcastHelperVar (::osl::Mutex &rMutex_)
 
void addListener (const keyType &key, const css::uno::Reference< css::uno::XInterface > &r)
 
void removeListener (const keyType &key, const css::uno::Reference< css::uno::XInterface > &r)
 
OInterfaceContainerHelper *SAL_CALL getContainer (const keyType &key) const
 
- Protected Member Functions inherited from cppu::OPropertySetHelper
void SAL_CALL fire (sal_Int32 *pnHandles, const css::uno::Any *pNewValues, const css::uno::Any *pOldValues, sal_Int32 nCount, sal_Bool bVetoable)
 
void SAL_CALL setFastPropertyValues (sal_Int32 nSeqLen, sal_Int32 *pHandles, const css::uno::Any *pValues, sal_Int32 nHitCount)
 
virtual IPropertyArrayHelper &SAL_CALL getInfoHelper ()=0
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const=0
 
void setDependentFastPropertyValue (sal_Int32 i_handle, const css::uno::Any &i_value)
 
 ~OPropertySetHelper ()
 
 OPropertySetHelper (OBroadcastHelper &rBHelper)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring=false)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
css::uno::Sequence< css::uno::Type > getTypes ()
 
void SAL_CALL disposing ()
 
virtual void SAL_CALL setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getPropertyValue (const ::rtl::OUString &aPropertyName) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 

Private Attributes

StackMode m_eStackMode
 
BarDirection m_eBarDirection
 
sal_Int32 m_nDim
 

Additional Inherited Members

- Static Public Member Functions inherited from chart::ChartTypeTemplate
static void copyPropertiesFromOldToNewCoordinateSystem (const std::vector< rtl::Reference< ChartType > > &rOldChartTypesSeq, const rtl::Reference< ChartType > &xNewChartType)
 
- Static Public Member Functions inherited from cppu::OPropertySetHelper
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL createPropertySetInfo (IPropertyArrayHelper &rProperties)
 
- Public Attributes inherited from cppu::OBroadcastHelperVar< class container, class keyType >
::osl::Mutex & rMutex
 
container aLC
 
sal_Bool bDisposed
 
sal_Bool bInDispose
 
- Static Protected Member Functions inherited from cppu::OPropertySetHelper
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL createPropertySetInfo (IPropertyArrayHelper &rProperties)
 
- Protected Attributes inherited from chart::ChartTypeTemplate
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
rtl::Reference< ::chart::DataInterpreterm_xDataInterpreter
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Protected Attributes inherited from cppu::OBroadcastHelperVar< class container, class keyType >
::osl::Mutex & rMutex
 
container aLC
 
sal_Bool bDisposed
 
sal_Bool bInDispose
 
- Protected Attributes inherited from cppu::OPropertySetHelper
OBroadcastHelperrBHelper
 
OMultiTypeInterfaceContainerHelperInt32 aBoundLC
 
OMultiTypeInterfaceContainerHelperInt32 aVetoableLC
 
Impl *const m_pReserved
 

Detailed Description

Definition at line 30 of file BarChartTypeTemplate.hxx.

Member Enumeration Documentation

◆ BarDirection

Enumerator
HORIZONTAL 
VERTICAL 

Definition at line 35 of file BarChartTypeTemplate.hxx.

Constructor & Destructor Documentation

◆ BarChartTypeTemplate()

chart::BarChartTypeTemplate::BarChartTypeTemplate ( css::uno::Reference< css::uno::XComponentContext > const &  xContext,
const OUString &  rServiceName,
StackMode  eStackMode,
BarDirection  eDirection,
sal_Int32  nDim = 2 
)
explicit

Definition at line 85 of file BarChartTypeTemplate.cxx.

◆ ~BarChartTypeTemplate()

chart::BarChartTypeTemplate::~BarChartTypeTemplate ( )
overridevirtual

Definition at line 98 of file BarChartTypeTemplate.cxx.

Member Function Documentation

◆ applyStyle2()

void chart::BarChartTypeTemplate::applyStyle2 ( const rtl::Reference< ::chart::DataSeries > &  xSeries,
::sal_Int32  nChartTypeGroupIndex,
::sal_Int32  nSeriesIndex,
::sal_Int32  nSeriesCount 
)
overrideprotectedvirtual

◆ createCoordinateSystems()

void chart::BarChartTypeTemplate::createCoordinateSystems ( const rtl::Reference< ::chart::Diagram > &  xDiagram)
overrideprotectedvirtual

Creates a 2d or 3d cartesian coordinate system with mathematically oriented, linear scales with auto-min/max.

If the given CoordinateSystemContainer is not empty, those coordinate system should be reused.

The dimension depends on the value returned by getDimension().

Reimplemented from chart::ChartTypeTemplate.

Definition at line 241 of file BarChartTypeTemplate.cxx.

References chart::ChartTypeTemplate::createCoordinateSystems(), HORIZONTAL, and m_eBarDirection.

◆ getChartTypeForIndex()

rtl::Reference< ChartType > chart::BarChartTypeTemplate::getChartTypeForIndex ( sal_Int32  nChartTypeIndex)
overrideprotectedvirtual

Implements chart::ChartTypeTemplate.

Definition at line 154 of file BarChartTypeTemplate.cxx.

Referenced by getChartTypeForNewSeries2().

◆ getChartTypeForNewSeries2()

rtl::Reference< ChartType > chart::BarChartTypeTemplate::getChartTypeForNewSeries2 ( const std::vector< rtl::Reference< ::chart::ChartType > > &  aFormerlyUsedChartTypes)
overrideprotectedvirtual

◆ GetDefaultValue()

void chart::BarChartTypeTemplate::GetDefaultValue ( sal_Int32  nHandle,
css::uno::Any &  rAny 
) const
overrideprotectedvirtual

merge XInterface implementations

merge XTypeProvider implementations

Implements property::OPropertySet.

Definition at line 168 of file BarChartTypeTemplate.cxx.

References nHandle, and chart::PropertyHelper::setPropertyValueDefault().

◆ getDimension()

sal_Int32 chart::BarChartTypeTemplate::getDimension ( ) const
overrideprotectedvirtual

returns 2 by default. Supported are 2 and 3

Reimplemented from chart::ChartTypeTemplate.

Definition at line 101 of file BarChartTypeTemplate.cxx.

References m_nDim.

Referenced by applyStyle2(), matchesTemplate2(), and resetStyles2().

◆ getInfoHelper()

cppu::IPropertyArrayHelper &SAL_CALL chart::BarChartTypeTemplate::getInfoHelper ( )
overrideprotectedvirtual

The InfoHelper table contains all property names and types of this object.

Returns
the object that provides information for the PropertySetInfo
See also
cppu::OPropertySetHelper

Implements property::OPropertySet.

Definition at line 184 of file BarChartTypeTemplate.cxx.

◆ getPropertySetInfo()

Reference< beans::XPropertySetInfo > SAL_CALL chart::BarChartTypeTemplate::getPropertySetInfo ( )
overrideprotectedvirtual

◆ getStackMode()

StackMode chart::BarChartTypeTemplate::getStackMode ( sal_Int32  nChartTypeIndex) const
overrideprotectedvirtual

returns StackMode::NONE by default.

This is a global flag used for all series of a specific chart type. If percent stacking is supported, the percent stacking mode is retrieved from the first chart type (index 0)

Parameters
nChartTypeIndexdenotes the index of the charttype in means defined by the template creation order, i.e., 0 means the first chart type that a template creates.

Reimplemented from chart::ChartTypeTemplate.

Definition at line 106 of file BarChartTypeTemplate.cxx.

References m_eStackMode.

◆ isSwapXAndY()

bool chart::BarChartTypeTemplate::isSwapXAndY ( ) const
overrideprotectedvirtual

Reimplemented from chart::ChartTypeTemplate.

Definition at line 111 of file BarChartTypeTemplate.cxx.

References HORIZONTAL, and m_eBarDirection.

◆ matchesTemplate2()

bool chart::BarChartTypeTemplate::matchesTemplate2 ( const rtl::Reference< ::chart::Diagram > &  xDiagram,
bool  bAdaptProperties 
)
overrideprotectedvirtual

◆ resetStyles2()

void chart::BarChartTypeTemplate::resetStyles2 ( const rtl::Reference< ::chart::Diagram > &  xDiagram)
overrideprotectedvirtual

Reimplemented from chart::ChartTypeTemplate.

Definition at line 221 of file BarChartTypeTemplate.cxx.

References getDimension(), and chart::ChartTypeTemplate::resetStyles2().

Member Data Documentation

◆ m_eBarDirection

BarDirection chart::BarChartTypeTemplate::m_eBarDirection
private

Definition at line 88 of file BarChartTypeTemplate.hxx.

Referenced by createCoordinateSystems(), isSwapXAndY(), and matchesTemplate2().

◆ m_eStackMode

StackMode chart::BarChartTypeTemplate::m_eStackMode
private

Definition at line 87 of file BarChartTypeTemplate.hxx.

Referenced by getStackMode().

◆ m_nDim

sal_Int32 chart::BarChartTypeTemplate::m_nDim
private

Definition at line 89 of file BarChartTypeTemplate.hxx.

Referenced by getDimension().


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