bump product version to 6.3.0.0.beta1
[LibreOffice.git] / oox / inc / drawingml / chart / typegroupmodel.hxx
blob031ecddf54aab64b34df187cc4909a3f7a11bb51
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef INCLUDED_OOX_DRAWINGML_CHART_TYPEGROUPMODEL_HXX
21 #define INCLUDED_OOX_DRAWINGML_CHART_TYPEGROUPMODEL_HXX
23 #include <drawingml/chart/seriesmodel.hxx>
25 namespace oox {
26 namespace drawingml {
27 namespace chart {
29 struct UpDownBarsModel
31 typedef ModelRef< Shape > ShapeRef;
33 ShapeRef mxDownBars; /// Formatting of down bars.
34 ShapeRef mxUpBars; /// Formatting of up bars.
35 sal_Int32 mnGapWidth; /// Space between up/down bars.
37 explicit UpDownBarsModel();
38 ~UpDownBarsModel();
41 struct TypeGroupModel
43 typedef ModelVector< SeriesModel > SeriesVector;
44 typedef ModelRef< DataLabelsModel > DataLabelsRef;
45 typedef ModelRef< UpDownBarsModel > UpDownBarsRef;
46 typedef ModelRef< Shape > ShapeRef;
48 SeriesVector maSeries; /// Series attached to this chart type group.
49 std::vector<sal_Int32>
50 maAxisIds; /// List of axis identifiers used by this chart type.
51 DataLabelsRef mxLabels; /// Data point label settings for all series.
52 UpDownBarsRef mxUpDownBars; /// Up/down bars in stock charts.
53 ShapeRef mxSerLines; /// Connector lines in stacked bar charts.
54 ShapeRef mxDropLines; /// Drop lines connecting data points with X axis.
55 ShapeRef mxHiLowLines; /// High/low lines connecting lowest and highest data points.
56 double mfSplitPos; /// Threshold value in pie-to charts.
57 sal_Int32 mnBarDir; /// Bar direction in bar charts (vertical/horizontal).
58 sal_Int32 mnBubbleScale; /// Relative scaling of bubble size (percent).
59 sal_Int32 mnFirstAngle; /// Rotation angle of first slice in pie charts.
60 sal_Int32 mnGapDepth; /// Space between series in deep 3D charts.
61 sal_Int32 mnGapWidth; /// Space between bars in bar charts, or space in pie-to charts.
62 sal_Int32 mnGrouping; /// Series grouping mode.
63 sal_Int32 mnHoleSize; /// Hole size in doughnut charts.
64 sal_Int32 mnOfPieType; /// Pie-to-pie or pie-to-bar chart.
65 sal_Int32 mnOverlap; /// Bar overlap per category (2D bar charts only).
66 sal_Int32 mnRadarStyle; /// Type of radar chart (lines, markers, filled).
67 sal_Int32 mnScatterStyle; /// Type of scatter chart (lines, markers, smooth).
68 sal_Int32 mnSecondPieSize; /// relative size of second pie/bar in pie-to charts (percent).
69 sal_Int32 mnShape; /// 3D bar shape type.
70 sal_Int32 mnSizeRepresents; /// Bubble size represents area or width.
71 sal_Int32 mnSplitType; /// Split type in pie-to charts.
72 sal_Int32 const mnTypeId; /// Chart type identifier.
73 bool mbBubble3d; /// True = show bubbles with 3D shade.
74 bool mbShowMarker; /// True = show point markers in line charts.
75 bool mbShowNegBubbles; /// True = show absolute value of negative bubbles.
76 bool mbSmooth; /// True = smooth lines in line charts.
77 bool mbVaryColors; /// True = different automatic colors for each point.
78 bool mbWireframe; /// True = wireframe surface chart, false = filled surface chart.
80 explicit TypeGroupModel( sal_Int32 nTypeId, bool bMSO2007Doc );
81 ~TypeGroupModel();
84 } // namespace chart
85 } // namespace drawingml
86 } // namespace oox
88 #endif
90 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */