1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24 #include "oox/drawingml/chart/seriesmodel.hxx" 25 26 namespace oox { 27 namespace drawingml { 28 namespace chart { 29 30 // ============================================================================ 31 32 DataLabelModelBase::DataLabelModelBase() : 33 mbDeleted( false ) 34 { 35 } 36 37 DataLabelModelBase::~DataLabelModelBase() 38 { 39 } 40 41 // ============================================================================ 42 43 DataLabelModel::DataLabelModel() : 44 mnIndex( -1 ) 45 { 46 } 47 48 DataLabelModel::~DataLabelModel() 49 { 50 } 51 52 // ============================================================================ 53 54 DataLabelsModel::DataLabelsModel() : 55 mbShowLeaderLines( false ) 56 { 57 } 58 59 DataLabelsModel::~DataLabelsModel() 60 { 61 } 62 63 // ============================================================================ 64 65 PictureOptionsModel::PictureOptionsModel() : 66 mfStackUnit( 1.0 ), 67 mnPictureFormat( XML_stretch ), 68 mbApplyToFront( false ), 69 mbApplyToSides( false ), 70 mbApplyToEnd( false ) 71 { 72 } 73 74 PictureOptionsModel::~PictureOptionsModel() 75 { 76 } 77 78 // ============================================================================ 79 80 ErrorBarModel::ErrorBarModel() : 81 mfValue( 0.0 ), 82 mnDirection( XML_y ), 83 mnTypeId( XML_both ), 84 mnValueType( XML_fixedVal ), 85 mbNoEndCap( false ) 86 { 87 } 88 89 ErrorBarModel::~ErrorBarModel() 90 { 91 } 92 93 // ============================================================================ 94 95 TrendlineLabelModel::TrendlineLabelModel() 96 { 97 } 98 99 TrendlineLabelModel::~TrendlineLabelModel() 100 { 101 } 102 103 // ============================================================================ 104 105 TrendlineModel::TrendlineModel() : 106 mnOrder( 2 ), 107 mnPeriod( 2 ), 108 mnTypeId( XML_linear ), 109 mbDispEquation( false ), 110 mbDispRSquared( false ) 111 { 112 } 113 114 TrendlineModel::~TrendlineModel() 115 { 116 } 117 118 // ============================================================================ 119 120 DataPointModel::DataPointModel() : 121 mnIndex( -1 ), 122 mbInvertNeg( false ) 123 { 124 } 125 126 DataPointModel::~DataPointModel() 127 { 128 } 129 130 // ============================================================================ 131 132 SeriesModel::SeriesModel() : 133 mnExplosion( 0 ), 134 mnIndex( -1 ), 135 mnMarkerSize( 5 ), 136 mnMarkerSymbol( XML_auto ), 137 mnOrder( -1 ), 138 mbBubble3d( false ), 139 mbInvertNeg( false ), 140 mbSmooth( false ) 141 { 142 } 143 144 SeriesModel::~SeriesModel() 145 { 146 } 147 148 // ============================================================================ 149 150 } // namespace chart 151 } // namespace drawingml 152 } // namespace oox 153