tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / oox / inc / drawingml / chart / typegroupmodel.hxx
blob5a37797e1b25e8e240919c013be5cec21f732cdb
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::drawingml::chart {
27 struct UpDownBarsModel
29 typedef ModelRef< Shape > ShapeRef;
31 ShapeRef mxDownBars; /// Formatting of down bars.
32 ShapeRef mxUpBars; /// Formatting of up bars.
33 sal_Int32 mnGapWidth; /// Space between up/down bars.
35 explicit UpDownBarsModel();
36 ~UpDownBarsModel();
39 struct TypeGroupModel
41 typedef ModelVector< SeriesModel > SeriesVector;
42 typedef ModelRef< DataLabelsModel > DataLabelsRef;
43 typedef ModelRef< UpDownBarsModel > UpDownBarsRef;
44 typedef ModelRef< Shape > ShapeRef;
46 SeriesVector maSeries; /// Series attached to this chart type group.
47 std::vector<sal_Int32>
48 maAxisIds; /// List of axis identifiers used by this chart type.
49 DataLabelsRef mxLabels; /// Data point label settings for all series.
50 UpDownBarsRef mxUpDownBars; /// Up/down bars in stock charts.
51 ShapeRef mxSerLines; /// Connector lines in stacked bar charts.
52 ShapeRef mxDropLines; /// Drop lines connecting data points with X axis.
53 ShapeRef mxHiLowLines; /// High/low lines connecting lowest and highest data points.
54 double mfSplitPos; /// Threshold value in pie-to charts.
55 sal_Int32 mnBarDir; /// Bar direction in bar charts (vertical/horizontal).
56 sal_Int32 mnBubbleScale; /// Relative scaling of bubble size (percent).
57 sal_Int32 mnFirstAngle; /// Rotation angle of first slice in pie charts.
58 sal_Int32 mnGapDepth; /// Space between series in deep 3D charts.
59 sal_Int32 mnGapWidth; /// Space between bars in bar charts, or space in pie-to charts.
60 sal_Int32 mnGrouping; /// Series grouping mode.
61 sal_Int32 mnHoleSize; /// Hole size in doughnut charts.
62 sal_Int32 mnOfPieType; /// Pie-to-pie or pie-to-bar chart.
63 sal_Int32 mnOverlap; /// Bar overlap per category (2D bar charts only).
64 sal_Int32 mnRadarStyle; /// Type of radar chart (lines, markers, filled).
65 sal_Int32 mnScatterStyle; /// Type of scatter chart (lines, markers, smooth).
66 sal_Int32 mnSecondPieSize; /// relative size of second pie/bar in pie-to charts (percent).
67 sal_Int32 mnShape; /// 3D bar shape type.
68 sal_Int32 mnSizeRepresents; /// Bubble size represents area or width.
69 sal_Int32 mnSplitType; /// Split type in pie-to charts.
70 sal_Int32 mnTypeId; /// Chart type identifier.
71 bool mbBubble3d; /// True = show bubbles with 3D shade.
72 bool mbShowMarker; /// True = show point markers in line charts.
73 bool mbShowNegBubbles; /// True = show absolute value of negative bubbles.
74 bool mbSmooth; /// True = smooth lines in line charts.
75 bool mbVaryColors; /// True = different automatic colors for each point.
76 bool mbWireframe; /// True = wireframe surface chart, false = filled surface chart.
78 explicit TypeGroupModel( sal_Int32 nTypeId, bool bMSO2007Doc );
79 ~TypeGroupModel();
82 } // namespace oox::drawingml::chart
84 #endif
86 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */