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/axismodel.hxx" 25 26 namespace oox { 27 namespace drawingml { 28 namespace chart { 29 30 // ============================================================================ 31 32 AxisDispUnitsModel::AxisDispUnitsModel() : 33 mfCustomUnit( 0.0 ), 34 mnBuiltInUnit( XML_TOKEN_INVALID ) 35 { 36 } 37 38 AxisDispUnitsModel::~AxisDispUnitsModel() 39 { 40 } 41 42 // ============================================================================ 43 44 AxisModel::AxisModel( sal_Int32 nTypeId ) : 45 mnAxisId( -1 ), 46 mnAxisPos( XML_TOKEN_INVALID ), 47 mnCrossAxisId( -1 ), 48 mnCrossBetween( XML_between ), 49 mnCrossMode( XML_autoZero ), 50 mnLabelAlign( XML_ctr ), 51 mnLabelOffset( 100 ), 52 mnMajorTickMark( XML_out ), 53 mnMajorTimeUnit( XML_days ), 54 mnMinorTickMark( XML_none ), 55 mnMinorTimeUnit( XML_days ), 56 mnOrientation( XML_minMax ), 57 mnTickLabelPos( XML_nextTo ), 58 mnTickLabelSkip( 0 ), 59 mnTickMarkSkip( 0 ), 60 mnTypeId( nTypeId ), 61 mbAuto( false ), 62 mbDeleted( false ), 63 mbNoMultiLevel( false ) 64 { 65 } 66 67 AxisModel::~AxisModel() 68 { 69 } 70 71 // ============================================================================ 72 73 } // namespace chart 74 } // namespace drawingml 75 } // namespace oox 76