26#include <oox/token/namespaces.hxx>
27#include <oox/token/tokens.hxx>
31using ::oox::core::ContextHandler2Helper;
45 switch( getCurrentElement() )
47 case C_TOKEN( upDownBars ):
50 case C_TOKEN( downBars ):
52 case C_TOKEN( gapWidth ):
55 case C_TOKEN( upBars ):
75 if( isRootElement() )
switch( nElement )
80 case C_TOKEN( dLbls ):
82 case C_TOKEN( dropLines ):
84 case C_TOKEN( gapDepth ):
87 case C_TOKEN( grouping ):
88 mrModel.mnGrouping = rAttribs.
getToken( XML_val, bMSO2007Doc ? XML_standard : XML_clustered );
92 case C_TOKEN( varyColors ):
111 if( isRootElement() )
switch( nElement )
113 case C_TOKEN( axId ):
116 case C_TOKEN( barDir ):
119 case C_TOKEN( dLbls ):
121 case C_TOKEN( gapDepth ):
124 case C_TOKEN( gapWidth ):
127 case C_TOKEN( grouping ):
128 mrModel.mnGrouping = rAttribs.
getToken( XML_val, bMSO2007Doc ? XML_standard : XML_clustered );
130 case C_TOKEN( overlap ):
135 case C_TOKEN( serLines ):
137 case C_TOKEN( shape ):
140 case C_TOKEN( varyColors ):
159 if( isRootElement() )
switch( nElement )
161 case C_TOKEN( axId ):
164 case C_TOKEN( bubble3D ):
167 case C_TOKEN( bubbleScale ):
170 case C_TOKEN( dLbls ):
174 case C_TOKEN( showNegBubbles ):
175 mrModel.mbShowNegBubbles = rAttribs.
getBool( XML_val, !bMSO2007Doc );
177 case C_TOKEN( sizeRepresents ):
180 case C_TOKEN( varyColors ):
199 if( isRootElement() )
switch( nElement )
201 case C_TOKEN( axId ):
204 case C_TOKEN( dLbls ):
206 case C_TOKEN( dropLines ):
208 case C_TOKEN( gapDepth ):
211 case C_TOKEN( grouping ):
212 mrModel.mnGrouping = rAttribs.
getToken( XML_val, bMSO2007Doc ? XML_standard : XML_clustered );
214 case C_TOKEN( hiLowLines ):
216 case C_TOKEN( marker ):
221 case C_TOKEN( smooth ):
224 case C_TOKEN( upDownBars ):
226 case C_TOKEN( varyColors ):
245 if( isRootElement() )
switch( nElement )
247 case C_TOKEN( dLbls ):
249 case C_TOKEN( firstSliceAng ):
252 case C_TOKEN( gapWidth ):
255 case C_TOKEN( holeSize ):
258 case C_TOKEN( ofPieType ):
261 case C_TOKEN( secondPieSize ):
266 case C_TOKEN( serLines ):
268 case C_TOKEN( splitPos ):
271 case C_TOKEN( splitType ):
274 case C_TOKEN( varyColors ):
293 if( isRootElement() )
switch( nElement )
295 case C_TOKEN( axId ):
298 case C_TOKEN( dLbls ):
300 case C_TOKEN( radarStyle ):
305 case C_TOKEN( varyColors ):
324 if( isRootElement() )
switch( nElement )
326 case C_TOKEN( axId ):
329 case C_TOKEN( dLbls ):
331 case C_TOKEN( scatterStyle ):
336 case C_TOKEN( varyColors ):
355 if( isRootElement() )
switch( nElement )
357 case C_TOKEN( axId ):
362 case C_TOKEN( wireframe ):
Provides access to attribute values of an element.
std::optional< sal_Int32 > getInteger(sal_Int32 nAttrToken) const
Returns the 32-bit signed integer value of the specified attribute (decimal).
std::optional< bool > getBool(sal_Int32 nAttrToken) const
Returns the boolean value of the specified attribute.
std::optional< sal_Int32 > getToken(sal_Int32 nAttrToken) const
Returns the token identifier of the value of the specified attribute.
std::optional< double > getDouble(sal_Int32 nAttrToken) const
Returns the double value of the specified attribute.
XmlFilterBase & getFilter() const
Returns the filter instance.
bool isMSO2007Document() const
Handler for a data series context for area chart types (c:ser element).
virtual ~AreaTypeGroupContext() override
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
AreaTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
Handler for a data series context for bar chart types (c:ser element).
BarTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
virtual ~BarTypeGroupContext() override
Handler for a data series context for bubble chart types (c:ser element).
virtual ~BubbleTypeGroupContext() override
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
BubbleTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
UpDownBarsModel & mrModel
Handler for a chart data point label context (c:dLbls element).
Handler for a data series context for line and stock chart types (c:ser element).
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
virtual ~LineTypeGroupContext() override
LineTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
Handler for a data series context for pie and doughnut chart types (c:ser element).
virtual ~PieTypeGroupContext() override
PieTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
Handler for a data series context for radar chart types (c:ser element).
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
virtual ~RadarTypeGroupContext() override
RadarTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
Handler for a data series context for scatter chart types (c:ser element).
ScatterTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
virtual ~ScatterTypeGroupContext() override
Help class for all contexts that have only the c:spPr child element.
Handler for a data series context for scatter chart types (c:ser element).
virtual ~SurfaceTypeGroupContext() override
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
SurfaceTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
Handler for an up/down bars context (c:upDownBars element).
virtual ~UpDownBarsContext() override
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
UpDownBarsContext(::oox::core::ContextHandler2Helper &rParent, UpDownBarsModel &rModel)
::rtl::Reference< ContextHandler > ContextHandlerRef
ShapeRef mxUpBars
Formatting of down bars.
sal_Int32 mnGapWidth
Formatting of up bars.