fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / oox / source / drawingml / chart / seriesmodel.cxx
blobf6a4140d731435fd41618566e6d6b873eba020c0
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 #include "drawingml/chart/seriesmodel.hxx"
21 #include <oox/token/tokens.hxx>
23 namespace oox {
24 namespace drawingml {
25 namespace chart {
27 DataLabelModelBase::DataLabelModelBase(bool bMSO2007Doc) :
28 mbDeleted( !bMSO2007Doc )
32 DataLabelModelBase::~DataLabelModelBase()
36 DataLabelModel::DataLabelModel(bool bMSO2007Doc) :
37 DataLabelModelBase(bMSO2007Doc),
38 mnIndex( -1 )
42 DataLabelModel::~DataLabelModel()
46 DataLabelsModel::DataLabelsModel(bool bMSO2007Doc) :
47 DataLabelModelBase(bMSO2007Doc),
48 mbShowLeaderLines( !bMSO2007Doc )
52 DataLabelsModel::~DataLabelsModel()
56 PictureOptionsModel::PictureOptionsModel(bool bMSO2007Doc) :
57 mfStackUnit( 1.0 ),
58 mnPictureFormat( XML_stretch ),
59 mbApplyToFront( !bMSO2007Doc ),
60 mbApplyToSides( !bMSO2007Doc ),
61 mbApplyToEnd( !bMSO2007Doc )
65 PictureOptionsModel::~PictureOptionsModel()
69 ErrorBarModel::ErrorBarModel(bool bMSO2007Doc) :
70 mfValue( 0.0 ),
71 mnDirection( XML_y ),
72 mnTypeId( XML_both ),
73 mnValueType( XML_fixedVal ),
74 mbNoEndCap( !bMSO2007Doc )
78 ErrorBarModel::~ErrorBarModel()
82 TrendlineLabelModel::TrendlineLabelModel()
86 TrendlineLabelModel::~TrendlineLabelModel()
90 TrendlineModel::TrendlineModel(bool bMSO2007Doc) :
91 mnOrder( 2 ),
92 mnPeriod( 2 ),
93 mnTypeId( XML_linear ),
94 mbDispEquation( !bMSO2007Doc ),
95 mbDispRSquared( !bMSO2007Doc )
99 TrendlineModel::~TrendlineModel()
103 DataPointModel::DataPointModel(bool bMSO2007Doc) :
104 mnIndex( -1 ),
105 mbInvertNeg( !bMSO2007Doc )
109 DataPointModel::~DataPointModel()
113 SeriesModel::SeriesModel(bool bMSO2007Doc) :
114 mnExplosion( 0 ),
115 mnIndex( -1 ),
116 mnMarkerSize( 5 ),
117 mnMarkerSymbol( XML_auto ),
118 mnOrder( -1 ),
119 mbBubble3d( !bMSO2007Doc ),
120 mbInvertNeg( !bMSO2007Doc ),
121 mbSmooth( !bMSO2007Doc )
125 SeriesModel::~SeriesModel()
129 } // namespace chart
130 } // namespace drawingml
131 } // namespace oox
133 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */