use insert function instead of for loop
[LibreOffice.git] / oox / source / drawingml / chart / typegroupmodel.cxx
blob257237a8a57c487683f31f3eacc50ec111cd0d31
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::drawingml::chart {
25 UpDownBarsModel::UpDownBarsModel() :
26 mnGapWidth( 150 )
30 UpDownBarsModel::~UpDownBarsModel()
34 TypeGroupModel::TypeGroupModel( sal_Int32 nTypeId, bool bMSO2007Doc ) :
35 mfSplitPos( 2.0 ),
36 mnBarDir( XML_col ),
37 mnBubbleScale( 100 ),
38 mnFirstAngle( 0 ),
39 mnGapDepth( 150 ),
40 mnGapWidth( 150 ),
41 mnGrouping( bMSO2007Doc ? XML_standard : XML_clustered ),
42 mnHoleSize( 10 ),
43 mnOfPieType( XML_pie ),
44 mnOverlap( 0 ),
45 mnRadarStyle( XML_standard ),
46 mnScatterStyle( XML_marker ),
47 mnSecondPieSize( 75 ),
48 mnShape( XML_box ),
49 mnSizeRepresents( XML_area ),
50 mnSplitType( XML_auto ),
51 mnTypeId( nTypeId ),
52 mbBubble3d( !bMSO2007Doc ),
53 mbShowMarker( !bMSO2007Doc ),
54 mbShowNegBubbles( !bMSO2007Doc ),
55 mbSmooth( !bMSO2007Doc ),
56 mbVaryColors( false ),
57 mbWireframe( !bMSO2007Doc )
61 TypeGroupModel::~TypeGroupModel()
65 } // namespace oox::drawingml::chart
67 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */