LibreOffice Module oox (master)  1
seriesmodel.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_SERIESMODEL_HXX
21 #define INCLUDED_OOX_DRAWINGML_CHART_SERIESMODEL_HXX
22 
25 
26 namespace oox::drawingml::chart {
27 
29 {
32 
33  ShapeRef mxShapeProp;
34  TextBodyRef mxTextProp;
44 
48  bool mbDeleted;
49 
50  explicit DataLabelModelBase(bool bMSO2007Doc);
52 };
53 
54 struct DataLabelsModel;
55 
57 {
60 
61  LayoutRef mxLayout;
62  TextRef mxText;
64  sal_Int32 mnIndex;
65 
66  explicit DataLabelModel(const DataLabelsModel& rParent, bool bMSO2007Doc);
68 };
69 
71 {
74 
75  DataLabelVector maPointLabels;
76  ShapeRef mxLeaderLines;
77 
81 
82  explicit DataLabelsModel(bool bMSO2007Doc);
84 };
85 
87 {
88  double mfStackUnit;
89  sal_Int32 mnPictureFormat;
92  bool mbApplyToEnd;
93 
94  explicit PictureOptionsModel(bool bMSO2007Doc);
96 };
97 
99 {
101  {
104  };
105 
108 
109  DataSourceMap maSources;
110  ShapeRef mxShapeProp;
111  double mfValue;
112  sal_Int32 mnDirection;
113  sal_Int32 mnTypeId;
114  sal_Int32 mnValueType;
115  bool mbNoEndCap;
116 
117  explicit ErrorBarModel(bool bMSO2007Doc);
118  ~ErrorBarModel();
119 };
120 
122 {
127 
128  ShapeRef mxShapeProp;
129  TextBodyRef mxTextProp;
130  LayoutRef mxLayout;
131  TextRef mxText;
133 
134  explicit TrendlineLabelModel();
136 };
137 
139 {
142 
143  ShapeRef mxShapeProp;
144  TrendlineLabelRef mxLabel;
145  OUString maName;
149  sal_Int32 mnOrder;
150  sal_Int32 mnPeriod;
151  sal_Int32 mnTypeId;
154 
155  explicit TrendlineModel(bool bMSO2007Doc);
156  ~TrendlineModel();
157 };
158 
160 {
163 
164  ShapeRef mxShapeProp;
165  PictureOptionsRef mxPicOptions;
166  ShapeRef mxMarkerProp;
171  sal_Int32 mnIndex;
172  bool mbInvertNeg;
173 
174  explicit DataPointModel(bool bMSO2007Doc);
175  ~DataPointModel();
176 };
177 
179 {
181  {
186  };
187 
196 
197  DataSourceMap maSources;
198  ErrorBarVector maErrorBars;
199  TrendlineVector maTrendlines;
200  DataPointVector maPoints;
201  ShapeRef mxShapeProp;
202  PictureOptionsRef mxPicOptions;
203  ShapeRef mxMarkerProp;
204  TextRef mxText;
205  DataLabelsRef mxLabels;
207  sal_Int32 mnExplosion;
208  sal_Int32 mnIndex;
209  sal_Int32 mnMarkerSize;
210  sal_Int32 mnMarkerSymbol;
211  sal_Int32 mnOrder;
212  bool mbBubble3d;
213  bool mbInvertNeg;
214  bool mbSmooth;
215 
216  explicit SeriesModel(bool bMSO2007Doc);
217  ~SeriesModel();
218 };
219 
220 } // namespace oox::drawingml::chart
221 
222 #endif
223 
224 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal_Int32 mnPictureFormat
Bitmap stacking unit.
Definition: seriesmodel.hxx:89
sal_Int32 mnIndex
True = show bubbles with 3D shade.
sal_Int32 mnExplosion
3D bar shape type.
TextRef mxText
Data point marker formatting.
OptValue< bool > mobBubble3d
Series line marker symbol.
sal_Int32 mnIndex
Reference to the labels container.
Definition: seriesmodel.hxx:64
DataLabelsRef mxLabels
Series title source.
DataLabelModel(const DataLabelsModel &rParent, bool bMSO2007Doc)
Data point index for this data label.
Definition: seriesmodel.cxx:34
ShapeRef mxShapeProp
Source ranges for manual error bar values.
OptValue< bool > mobShowDataLabelsRange
True = show data point value.
Definition: seriesmodel.hxx:47
PictureOptionsRef mxPicOptions
Series formatting.
bool mbApplyToFront
Bitmap mode (stretch/tile).
Definition: seriesmodel.hxx:90
sal_Int32 mnOrder
Series line marker symbol.
sal_Int32 mnMarkerSize
Series index used for automatic formatting.
ModelRef< PictureOptionsModel > PictureOptionsRef
DataPointVector maPoints
All trendlines of this series.
sal_Int32 mnTypeId
Moving average period in range [2, 255].
OptValue< bool > mobShowSerName
True = show percentual value in pie/doughnut charts.
Definition: seriesmodel.hxx:42
PictureOptionsModel(bool bMSO2007Doc)
True = draw picture at top/bottom side of 3D data points.
Definition: seriesmodel.cxx:56
OptValue< bool > mobShowPercent
True = show legend key of data series.
Definition: seriesmodel.hxx:41
ShapeRef mxLeaderLines
Settings for individual data point labels.
Definition: seriesmodel.hxx:76
TrendlineModel(bool bMSO2007Doc)
True = show R-squared of the trendline.
Definition: seriesmodel.cxx:90
bool mbApplyToEnd
True = draw picture at left/right side of 3D data points.
Definition: seriesmodel.hxx:92
OptValue< sal_Int32 > monExplosion
Data point marker formatting.
OptValue< double > mfBackward
User-defined name of the trendline.
bool mbNoEndCap
Type of the values.
OptValue< bool > mobShowLegendKey
True = show category name of data points.
Definition: seriesmodel.hxx:40
ModelRef< DataLabelsModel > DataLabelsRef
ModelRef< LayoutModel > LayoutRef
Definition: seriesmodel.hxx:58
sal_Int32 mnIndex
Pie slice moved from pie center.
OptValue< double > mfForward
Size of trendline before first data point.
DataLabelsModel(bool bMSO2007Doc)
True = show connector lines between data points and labels.
Definition: seriesmodel.cxx:45
bool mbApplyToSides
True = draw picture at front/back side of 3D data points.
Definition: seriesmodel.hxx:91
ShapeRef mxMarkerProp
Fill bitmap settings.
TextBodyRef mxTextProp
Data label frame formatting.
Definition: seriesmodel.hxx:34
bool mbDispEquation
Type of the trendline.
bool mbInvertNeg
True = show bubbles with 3D shade.
LayoutRef mxLayout
Label text formatting.
ModelVector< DataPointModel > DataPointVector
ModelMap< SourceType, DataSourceModel > DataSourceMap
DataPointModel(bool bMSO2007Doc)
True = invert negative data points (not derived from series!).
OptValue< sal_Int32 > monShape
Data point label settings for all points.
sal_Int32 mnValueType
Type of the error bars (plus/minus/both).
ModelMap< SourceType, DataSourceModel > DataSourceMap
sal_Int32 mnOrder
Crossing point with Y axis.
NumberFormat maNumberFormat
Data label text formatting.
Definition: seriesmodel.hxx:35
NumberFormat maNumberFormat
Text source of the label.
OptValue< OUString > moaSeparator
Number format for numeric data labels.
Definition: seriesmodel.hxx:36
TextRef mxText
Layout/position of the data point label frame.
Definition: seriesmodel.hxx:62
ModelRef< TrendlineLabelModel > TrendlineLabelRef
const DataSourceModel * mpLabelsSource
Formatting of connector lines between data points and labels.
Definition: seriesmodel.hxx:79
bool mbSmooth
True = invert negative data points.
TextBodyRef mxTextProp
Label frame formatting.
TrendlineVector maTrendlines
All error bars of this series.
TextRef mxText
Layout/position of the frame.
ErrorBarVector maErrorBars
Series source ranges.
ShapeRef mxMarkerProp
Fill bitmap settings.
OptValue< bool > mobShowBubbleSize
Data label position.
Definition: seriesmodel.hxx:38
ModelVector< ErrorBarModel > ErrorBarVector
ModelVector< DataLabelModel > DataLabelVector
Definition: seriesmodel.hxx:72
TrendlineLabelRef mxLabel
Trendline formatting.
sal_Int32 mnTypeId
Direction of the error bars (x/y).
OptValue< bool > mobShowVal
True = show series name.
Definition: seriesmodel.hxx:43
SeriesModel(bool bMSO2007Doc)
True = smooth series line.
bool mbDispRSquared
True = show equation of the trendline.
ShapeRef mxShapeProp
Explicit formatted data points.
ModelVector< TrendlineModel > TrendlineVector
TrendlineLabelModel()
Number format for coefficients.
Definition: seriesmodel.cxx:82
bool mbInvertNeg
Unique data point index.
PictureOptionsRef mxPicOptions
Data point formatting.
ErrorBarModel(bool bMSO2007Doc)
True = no end cap at error bar lines.
Definition: seriesmodel.cxx:69
ModelRef< PictureOptionsModel > PictureOptionsRef
OptValue< sal_Int32 > monMarkerSymbol
Size of the series line marker (2...72).
sal_Int32 mnMarkerSymbol
Size of the series line marker (2...72).
Data point size (e.g. bubble size in bubble charts).
OptValue< bool > mobShowCatName
True = show size of bubbles in bubble charts.
Definition: seriesmodel.hxx:39
OptValue< double > mfIntercept
Size of trendline behind last data point.
double mfValue
Error line formatting.
const DataLabelsModel & mrParent
Manual or linked text for this data point label.
Definition: seriesmodel.hxx:63
sal_Int32 mnPeriod
Polynomial order in range [2, 6].
sal_Int32 mnDirection
Fixed value for several error bar types.
OptValue< sal_Int32 > monMarkerSize
Pie slice moved from pie center.
OptValue< sal_Int32 > monLabelPos
Separator between label components.
Definition: seriesmodel.hxx:37
DataLabelModelBase(bool bMSO2007Doc)
True = data label(s) deleted.
Definition: seriesmodel.cxx:25
OUString maName
Trendline label text object.