26 #include <oox/token/namespaces.hxx>
27 #include <oox/token/tokens.hxx>
31 using ::oox::core::ContextHandler2Helper;
47 case C_TOKEN( upDownBars ):
50 case C_TOKEN( downBars ):
52 case C_TOKEN( gapWidth ):
55 case C_TOKEN( upBars ):
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 ):
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 ):
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 ):
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 ):
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 ):
295 case C_TOKEN( axId ):
298 case C_TOKEN( dLbls ):
300 case C_TOKEN( radarStyle ):
305 case C_TOKEN( varyColors ):
326 case C_TOKEN( axId ):
329 case C_TOKEN( dLbls ):
331 case C_TOKEN( scatterStyle ):
336 case C_TOKEN( varyColors ):
357 case C_TOKEN( axId ):
362 case C_TOKEN( wireframe ):
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.
Handler for an up/down bars context (c:upDownBars element).
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.
OptValue< bool > getBool(sal_Int32 nAttrToken) const
Returns the boolean value of the specified attribute.
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.
sal_Int32 mnGapWidth
Formatting of up bars.
virtual ~BarTypeGroupContext() override
OptValue< sal_Int32 > getInteger(sal_Int32 nAttrToken) const
Returns the 32-bit signed integer value of the specified attribute (decimal).
OptValue< double > getDouble(sal_Int32 nAttrToken) const
Returns the double value of the specified attribute.
Handler for a data series context for pie and doughnut chart types (c:ser element).
SurfaceTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
PieTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.
virtual ~LineTypeGroupContext() override
LineTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.
Handler for a data series context for scatter chart types (c:ser element).
Handler for a data series context for line and stock chart types (c:ser element). ...
AreaTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
virtual ~AreaTypeGroupContext() override
virtual ~RadarTypeGroupContext() override
Handler for a data series context for radar chart types (c:ser element).
virtual ~UpDownBarsContext() override
sal_Int32 getCurrentElement() const
Returns the identifier of the currently processed element.
Handler for a data series context for area chart types (c:ser element).
UpDownBarsContext(::oox::core::ContextHandler2Helper &rParent, UpDownBarsModel &rModel)
Provides access to attribute values of an element.
bool isRootElement() const
Returns true, if the element currently processed is the root element of the context or fragment handl...
virtual ~PieTypeGroupContext() override
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.
Handler for a chart data point label context (c:dLbls element).
BubbleTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
ShapeRef mxUpBars
Formatting of down bars.
Handler for a data series context for bubble chart types (c:ser element).
Handler for a data series context for bar chart types (c:ser element).
virtual ~BubbleTypeGroupContext() override
XmlFilterBase & getFilter() const
Returns the filter instance.
::rtl::Reference< ContextHandler > ContextHandlerRef
RadarTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
Handler for a data series context for scatter chart types (c:ser element).
virtual ~SurfaceTypeGroupContext() override
Help class for all contexts that have only the c:spPr child element.
UpDownBarsModel & mrModel
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.
Helper class that provides a context stack.
virtual ~ScatterTypeGroupContext() override
bool isMSO2007Document() const
BarTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
OptValue< sal_Int32 > getToken(sal_Int32 nAttrToken) const
Returns the token identifier of the value of the specified attribute.
ScatterTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.