Line data Source code
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/typegroupmodel.hxx"
21 : #include <oox/token/tokens.hxx>
22 :
23 : namespace oox {
24 : namespace drawingml {
25 : namespace chart {
26 :
27 2 : UpDownBarsModel::UpDownBarsModel() :
28 2 : mnGapWidth( 150 )
29 : {
30 2 : }
31 :
32 2 : UpDownBarsModel::~UpDownBarsModel()
33 : {
34 2 : }
35 :
36 178 : TypeGroupModel::TypeGroupModel( sal_Int32 nTypeId, bool bMSO2007Doc ) :
37 : mfSplitPos( 0.0 ),
38 : mnBarDir( XML_col ),
39 : mnBubbleScale( 100 ),
40 : mnFirstAngle( 0 ),
41 : mnGapDepth( 150 ),
42 : mnGapWidth( 150 ),
43 : mnGrouping( bMSO2007Doc ? XML_standard : XML_clustered ),
44 : mnHoleSize( 10 ),
45 : mnOfPieType( XML_pie ),
46 : mnOverlap( 0 ),
47 : mnRadarStyle( XML_standard ),
48 : mnScatterStyle( XML_marker ),
49 : mnSecondPieSize( 75 ),
50 : mnShape( XML_box ),
51 : mnSizeRepresents( XML_area ),
52 : mnSplitType( XML_auto ),
53 : mnTypeId( nTypeId ),
54 178 : mbBubble3d( !bMSO2007Doc ),
55 178 : mbShowMarker( !bMSO2007Doc ),
56 178 : mbShowNegBubbles( !bMSO2007Doc ),
57 178 : mbSmooth( !bMSO2007Doc ),
58 178 : mbVaryColors( !bMSO2007Doc ),
59 1068 : mbWireframe( !bMSO2007Doc )
60 : {
61 178 : }
62 :
63 178 : TypeGroupModel::~TypeGroupModel()
64 : {
65 178 : }
66 :
67 : } // namespace chart
68 : } // namespace drawingml
69 246 : } // namespace oox
70 :
71 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|