/src/libreoffice/oox/source/drawingml/chart/seriesmodel.cxx
Line | Count | Source |
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 | | #include <drawingml/chart/seriesmodel.hxx> |
21 | | #include <oox/token/tokens.hxx> |
22 | | |
23 | | namespace oox::drawingml::chart { |
24 | | |
25 | | DataLabelModelBase::DataLabelModelBase(bool bMSO2007Doc) : |
26 | 0 | mbDeleted( !bMSO2007Doc ) |
27 | 0 | { |
28 | 0 | } |
29 | | |
30 | | DataLabelModelBase::~DataLabelModelBase() |
31 | 0 | { |
32 | 0 | } |
33 | | |
34 | | DataLabelModel::DataLabelModel(const DataLabelsModel& rParent, bool bMSO2007Doc) : |
35 | 0 | DataLabelModelBase(bMSO2007Doc), |
36 | 0 | mrParent( rParent ), |
37 | 0 | mnIndex( -1 ) |
38 | 0 | { |
39 | 0 | } |
40 | | |
41 | | DataLabelModel::~DataLabelModel() |
42 | 0 | { |
43 | 0 | } |
44 | | |
45 | | DataLabelsModel::DataLabelsModel(bool bMSO2007Doc) : |
46 | 0 | DataLabelModelBase(bMSO2007Doc), |
47 | 0 | mpLabelsSource( nullptr ), |
48 | 0 | mbShowLeaderLines( !bMSO2007Doc ) |
49 | 0 | { |
50 | 0 | } |
51 | | |
52 | | DataLabelsModel::~DataLabelsModel() |
53 | 0 | { |
54 | 0 | } |
55 | | |
56 | | PictureOptionsModel::PictureOptionsModel(bool bMSO2007Doc) : |
57 | 0 | mfStackUnit( 1.0 ), |
58 | 0 | mnPictureFormat( XML_stretch ), |
59 | 0 | mbApplyToFront( !bMSO2007Doc ), |
60 | 0 | mbApplyToSides( !bMSO2007Doc ), |
61 | 0 | mbApplyToEnd( !bMSO2007Doc ) |
62 | 0 | { |
63 | 0 | } |
64 | | |
65 | | ErrorBarModel::ErrorBarModel(bool bMSO2007Doc) : |
66 | 0 | mfValue( 0.0 ), |
67 | 0 | mnDirection( XML_y ), |
68 | 0 | mnTypeId( XML_both ), |
69 | 0 | mnValueType( XML_fixedVal ), |
70 | 0 | mbNoEndCap( !bMSO2007Doc ) |
71 | 0 | { |
72 | 0 | } |
73 | | |
74 | | ErrorBarModel::~ErrorBarModel() |
75 | 0 | { |
76 | 0 | } |
77 | | |
78 | | TrendlineLabelModel::TrendlineLabelModel() |
79 | 0 | { |
80 | 0 | } |
81 | | |
82 | | TrendlineLabelModel::~TrendlineLabelModel() |
83 | 0 | { |
84 | 0 | } |
85 | | |
86 | | TrendlineModel::TrendlineModel(bool bMSO2007Doc) : |
87 | 0 | mnOrder( 2 ), |
88 | 0 | mnPeriod( 2 ), |
89 | 0 | mnTypeId( XML_linear ), |
90 | 0 | mbDispEquation( !bMSO2007Doc ), |
91 | 0 | mbDispRSquared( !bMSO2007Doc ) |
92 | 0 | { |
93 | 0 | } |
94 | | |
95 | | TrendlineModel::~TrendlineModel() |
96 | 0 | { |
97 | 0 | } |
98 | | |
99 | | DataPointModel::DataPointModel(bool bMSO2007Doc) : |
100 | 0 | mnIndex( -1 ), |
101 | 0 | mbInvertNeg( !bMSO2007Doc ) |
102 | 0 | { |
103 | 0 | } |
104 | | |
105 | | DataPointModel::~DataPointModel() |
106 | 0 | { |
107 | 0 | } |
108 | | |
109 | | BinningModel::BinningModel() : |
110 | 0 | maBinSizeOrCount(), |
111 | 0 | meIntervalClosed() |
112 | 0 | { |
113 | 0 | } |
114 | | |
115 | | SeriesModel::SeriesModel(bool bMSO2007Doc) : |
116 | 0 | mnExplosion( 0 ), |
117 | 0 | mnIndex( -1 ), |
118 | 0 | mnMarkerSize( 5 ), |
119 | 0 | mnMarkerSymbol( XML_auto ), |
120 | 0 | mnOrder( -1 ), |
121 | 0 | mnDataId(-1), |
122 | 0 | mbBubble3d( !bMSO2007Doc ), |
123 | 0 | mbInvertNeg( !bMSO2007Doc ), |
124 | 0 | mbSmooth( !bMSO2007Doc ) |
125 | 0 | { |
126 | 0 | } |
127 | | |
128 | | SeriesModel::~SeriesModel() |
129 | 0 | { |
130 | 0 | } |
131 | | |
132 | | } // namespace oox::drawingml::chart |
133 | | |
134 | | /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |