1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #include "dpnumgroupinfo.hxx"
12 ScDPNumGroupInfo::ScDPNumGroupInfo() :
18 mfStart(0.0), mfEnd(0.0), mfStep(0.0) {}
20 ScDPNumGroupInfo::ScDPNumGroupInfo(const ScDPNumGroupInfo
& r
) :
22 mbDateValues(r
.mbDateValues
),
23 mbAutoStart(r
.mbAutoStart
),
24 mbAutoEnd(r
.mbAutoEnd
),
25 mbIntegerOnly(r
.mbIntegerOnly
),
27 mfEnd(r
.mfEnd
), mfStep(r
.mfStep
) {}
33 void ScDPNumGroupInfo::Dump() const
35 cout
<< "--- ScDPNumGroupInfo" << endl
;
36 cout
<< " enabled: " << mbEnable
<< endl
;
37 cout
<< " auto start: " << mbAutoStart
<< endl
;
38 cout
<< " auto end: " << mbAutoEnd
<< endl
;
39 cout
<< " start: " << mfStart
<< endl
;
40 cout
<< " end: " << mfEnd
<< endl
;
41 cout
<< " step: " << mfStep
<< endl
;
42 cout
<< "---" << endl
;
46 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */