LibreOffice Module oox (master) 1
typegroupcontext.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#ifndef INCLUDED_OOX_DRAWINGML_CHART_TYPEGROUPCONTEXT_HXX
21#define INCLUDED_OOX_DRAWINGML_CHART_TYPEGROUPCONTEXT_HXX
22
24
25namespace oox::drawingml::chart {
26
27
28struct UpDownBarsModel;
29
32class UpDownBarsContext final : public ContextBase< UpDownBarsModel >
33{
34public:
36 virtual ~UpDownBarsContext() override;
37
38 virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) override;
39};
40
41
42struct TypeGroupModel;
44
45
49{
50public:
52 virtual ~AreaTypeGroupContext() override;
53
54 virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) override;
55};
56
57
61{
62public:
64 virtual ~BarTypeGroupContext() override;
65
66 virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) override;
67};
68
69
73{
74public:
76 virtual ~BubbleTypeGroupContext() override;
77
78 virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) override;
79};
80
81
86{
87public:
89 virtual ~LineTypeGroupContext() override;
90
91 virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) override;
92};
93
94
99{
100public:
102 virtual ~PieTypeGroupContext() override;
103
104 virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) override;
105};
106
107
111{
112public:
114 virtual ~RadarTypeGroupContext() override;
115
116 virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) override;
117};
118
119
123{
124public:
126 virtual ~ScatterTypeGroupContext() override;
127
128 virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) override;
129};
130
131
136{
137public:
139 virtual ~SurfaceTypeGroupContext() override;
140
141 virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) override;
142};
143
144
145} // namespace oox::drawingml::chart
146
147#endif
148
149/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Provides access to attribute values of an element.
Helper class that provides a context stack.
Handler for area type group contexts (c:area3DChart, c:areaChart elements).
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.
AreaTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
Handler for bar type group contexts (c:bar3DChart, c:barChart elements).
BarTypeGroupContext(::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 bubble type group context (c:bubbleChart 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.
BubbleTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
Handler for line type group contexts (c:line3DChart, c:lineChart, c:stockChart elements).
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.
LineTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
Handler for pie type group contexts (c:doughnutChart, c:ofPieChart, c:pie3DChart, c:pieChart elements...
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.
Handler for radar type group context (c:radarChart 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.
RadarTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
Handler for scatter type group context (c:scatterChart element).
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.
Handler for surface type group contexts (c:surface3DChart, c:surfaceChart elements).
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.
SurfaceTypeGroupContext(::oox::core::ContextHandler2Helper &rParent, TypeGroupModel &rModel)
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.
UpDownBarsContext(::oox::core::ContextHandler2Helper &rParent, UpDownBarsModel &rModel)
::rtl::Reference< ContextHandler > ContextHandlerRef
ContextBase< TypeGroupModel > TypeGroupContextBase