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  bool mbDeleted;
45 
46  explicit DataLabelModelBase(bool bMSO2007Doc);
48 };
49 
51 {
54 
55  LayoutRef mxLayout;
56  TextRef mxText;
57  sal_Int32 mnIndex;
58 
59  explicit DataLabelModel(bool bMSO2007Doc);
61 };
62 
64 {
67 
68  DataLabelVector maPointLabels;
69  ShapeRef mxLeaderLines;
71 
72  explicit DataLabelsModel(bool bMSO2007Doc);
74 };
75 
77 {
78  double mfStackUnit;
79  sal_Int32 mnPictureFormat;
82  bool mbApplyToEnd;
83 
84  explicit PictureOptionsModel(bool bMSO2007Doc);
86 };
87 
89 {
91  {
92  PLUS,
94  };
95 
98 
99  DataSourceMap maSources;
100  ShapeRef mxShapeProp;
101  double mfValue;
102  sal_Int32 mnDirection;
103  sal_Int32 mnTypeId;
104  sal_Int32 mnValueType;
105  bool mbNoEndCap;
106 
107  explicit ErrorBarModel(bool bMSO2007Doc);
108  ~ErrorBarModel();
109 };
110 
112 {
117 
118  ShapeRef mxShapeProp;
119  TextBodyRef mxTextProp;
120  LayoutRef mxLayout;
121  TextRef mxText;
123 
124  explicit TrendlineLabelModel();
126 };
127 
129 {
132 
133  ShapeRef mxShapeProp;
134  TrendlineLabelRef mxLabel;
135  OUString maName;
139  sal_Int32 mnOrder;
140  sal_Int32 mnPeriod;
141  sal_Int32 mnTypeId;
144 
145  explicit TrendlineModel(bool bMSO2007Doc);
146  ~TrendlineModel();
147 };
148 
150 {
153 
154  ShapeRef mxShapeProp;
155  PictureOptionsRef mxPicOptions;
156  ShapeRef mxMarkerProp;
161  sal_Int32 mnIndex;
162  bool mbInvertNeg;
163 
164  explicit DataPointModel(bool bMSO2007Doc);
165  ~DataPointModel();
166 };
167 
169 {
171  {
175  };
176 
185 
186  DataSourceMap maSources;
187  ErrorBarVector maErrorBars;
188  TrendlineVector maTrendlines;
189  DataPointVector maPoints;
190  ShapeRef mxShapeProp;
191  PictureOptionsRef mxPicOptions;
192  ShapeRef mxMarkerProp;
193  TextRef mxText;
194  DataLabelsRef mxLabels;
196  sal_Int32 mnExplosion;
197  sal_Int32 mnIndex;
198  sal_Int32 mnMarkerSize;
199  sal_Int32 mnMarkerSymbol;
200  sal_Int32 mnOrder;
201  bool mbBubble3d;
202  bool mbInvertNeg;
203  bool mbSmooth;
204 
205  explicit SeriesModel(bool bMSO2007Doc);
206  ~SeriesModel();
207 };
208 
209 } // namespace oox::drawingml::chart
210 
211 #endif
212 
213 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal_Int32 mnPictureFormat
Bitmap stacking unit.
Definition: seriesmodel.hxx:79
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
Manual or linked text for this data point label.
Definition: seriesmodel.hxx:57
DataLabelsRef mxLabels
Series title source.
ShapeRef mxShapeProp
Source ranges for manual error bar values.
PictureOptionsRef mxPicOptions
Series formatting.
bool mbApplyToFront
Bitmap mode (stretch/tile).
Definition: seriesmodel.hxx:80
bool mbShowLeaderLines
Formatting of connector lines between data points and labels.
Definition: seriesmodel.hxx:70
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:54
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:69
TrendlineModel(bool bMSO2007Doc)
True = show R-squared of the trendline.
Definition: seriesmodel.cxx:88
bool mbApplyToEnd
True = draw picture at left/right side of 3D data points.
Definition: seriesmodel.hxx:82
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:52
sal_Int32 mnIndex
Pie slice moved from pie center.
OptValue< double > mfForward
Size of trendline before first data point.
bool mbDeleted
True = show data point value.
Definition: seriesmodel.hxx:44
DataLabelsModel(bool bMSO2007Doc)
True = show connector lines between data points and labels.
Definition: seriesmodel.cxx:44
bool mbApplyToSides
True = draw picture at front/back side of 3D data points.
Definition: seriesmodel.hxx:81
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
Definition: seriesmodel.hxx:96
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:56
ModelRef< TrendlineLabelModel > TrendlineLabelRef
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.
DataLabelModel(bool bMSO2007Doc)
Data point index for this data label.
Definition: seriesmodel.cxx:34
OptValue< bool > mobShowBubbleSize
Data label position.
Definition: seriesmodel.hxx:38
ModelVector< ErrorBarModel > ErrorBarVector
ModelVector< DataLabelModel > DataLabelVector
Definition: seriesmodel.hxx:65
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:80
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:67
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).
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.
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.