Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / oox / source / drawingml / chart / typegroupmodel.cxx
blob9d5e96053e325617be376a3a811a65907b8fe1a5
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #include "drawingml/chart/typegroupmodel.hxx"
21 #include <oox/token/tokens.hxx>
23 namespace oox {
24 namespace drawingml {
25 namespace chart {
27 UpDownBarsModel::UpDownBarsModel() :
28 mnGapWidth( 150 )
32 UpDownBarsModel::~UpDownBarsModel()
36 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 mbBubble3d( !bMSO2007Doc ),
55 mbShowMarker( !bMSO2007Doc ),
56 mbShowNegBubbles( !bMSO2007Doc ),
57 mbSmooth( !bMSO2007Doc ),
58 mbVaryColors( !bMSO2007Doc ),
59 mbWireframe( !bMSO2007Doc )
63 TypeGroupModel::~TypeGroupModel()
67 } // namespace chart
68 } // namespace drawingml
69 } // namespace oox
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */