/src/libreoffice/oox/source/drawingml/chart/axismodel.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/axismodel.hxx> |
21 | | #include <oox/token/tokens.hxx> |
22 | | |
23 | | namespace oox::drawingml::chart { |
24 | | |
25 | | AxisDispUnitsModel::AxisDispUnitsModel() : |
26 | 0 | mfCustomUnit( 0.0 ) |
27 | 0 | { |
28 | 0 | } |
29 | | |
30 | | AxisDispUnitsModel::~AxisDispUnitsModel() |
31 | 0 | { |
32 | 0 | } |
33 | | |
34 | | AxisModel::AxisModel( sal_Int32 nTypeId, bool bMSO2007Doc ) : |
35 | 0 | mnAxisId( -1 ), |
36 | 0 | mnAxisPos( XML_TOKEN_INVALID ), |
37 | 0 | mnCrossAxisId( -1 ), |
38 | 0 | mnCrossBetween( -1 ), |
39 | 0 | mnCrossMode( XML_autoZero ), |
40 | 0 | mnLabelAlign( XML_ctr ), |
41 | 0 | mnLabelOffset( 100 ), |
42 | 0 | mnMajorTickMark( bMSO2007Doc ? XML_out : XML_cross ), |
43 | 0 | mnMajorTimeUnit( XML_days ), |
44 | 0 | mnMinorTickMark( bMSO2007Doc ? XML_none : XML_cross ), |
45 | 0 | mnMinorTimeUnit( XML_days ), |
46 | 0 | mnOrientation( XML_minMax ), |
47 | 0 | mnTickLabelPos( XML_nextTo ), |
48 | 0 | mnTickLabelSkip( 0 ), |
49 | 0 | mnTickMarkSkip( 0 ), |
50 | 0 | mnTypeId( nTypeId ), |
51 | 0 | mbAuto( false ), |
52 | 0 | mbDeleted( false ), |
53 | 0 | mbNoMultiLevel( false ) |
54 | 0 | { |
55 | 0 | } |
56 | | |
57 | | AxisModel::~AxisModel() |
58 | 0 | { |
59 | 0 | } |
60 | | |
61 | | } // namespace oox::drawingml::chart |
62 | | |
63 | | /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |