1 /************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28 #include "oox/drawingml/chart/seriesmodel.hxx" 29 30 namespace oox { 31 namespace drawingml { 32 namespace chart { 33 34 // ============================================================================ 35 36 DataLabelModelBase::DataLabelModelBase() : 37 mbDeleted( false ) 38 { 39 } 40 41 DataLabelModelBase::~DataLabelModelBase() 42 { 43 } 44 45 // ============================================================================ 46 47 DataLabelModel::DataLabelModel() : 48 mnIndex( -1 ) 49 { 50 } 51 52 DataLabelModel::~DataLabelModel() 53 { 54 } 55 56 // ============================================================================ 57 58 DataLabelsModel::DataLabelsModel() : 59 mbShowLeaderLines( false ) 60 { 61 } 62 63 DataLabelsModel::~DataLabelsModel() 64 { 65 } 66 67 // ============================================================================ 68 69 PictureOptionsModel::PictureOptionsModel() : 70 mfStackUnit( 1.0 ), 71 mnPictureFormat( XML_stretch ), 72 mbApplyToFront( false ), 73 mbApplyToSides( false ), 74 mbApplyToEnd( false ) 75 { 76 } 77 78 PictureOptionsModel::~PictureOptionsModel() 79 { 80 } 81 82 // ============================================================================ 83 84 ErrorBarModel::ErrorBarModel() : 85 mfValue( 0.0 ), 86 mnDirection( XML_y ), 87 mnTypeId( XML_both ), 88 mnValueType( XML_fixedVal ), 89 mbNoEndCap( false ) 90 { 91 } 92 93 ErrorBarModel::~ErrorBarModel() 94 { 95 } 96 97 // ============================================================================ 98 99 TrendlineLabelModel::TrendlineLabelModel() 100 { 101 } 102 103 TrendlineLabelModel::~TrendlineLabelModel() 104 { 105 } 106 107 // ============================================================================ 108 109 TrendlineModel::TrendlineModel() : 110 mnOrder( 2 ), 111 mnPeriod( 2 ), 112 mnTypeId( XML_linear ), 113 mbDispEquation( false ), 114 mbDispRSquared( false ) 115 { 116 } 117 118 TrendlineModel::~TrendlineModel() 119 { 120 } 121 122 // ============================================================================ 123 124 DataPointModel::DataPointModel() : 125 mnIndex( -1 ), 126 mbInvertNeg( false ) 127 { 128 } 129 130 DataPointModel::~DataPointModel() 131 { 132 } 133 134 // ============================================================================ 135 136 SeriesModel::SeriesModel() : 137 mnExplosion( 0 ), 138 mnIndex( -1 ), 139 mnMarkerSize( 5 ), 140 mnMarkerSymbol( XML_auto ), 141 mnOrder( -1 ), 142 mbBubble3d( false ), 143 mbInvertNeg( false ), 144 mbSmooth( false ) 145 { 146 } 147 148 SeriesModel::~SeriesModel() 149 { 150 } 151 152 // ============================================================================ 153 154 } // namespace chart 155 } // namespace drawingml 156 } // namespace oox 157