update credits
[LibreOffice.git] / sc / inc / calcconfig.hxx
blob96eabcc14858cf6d1275a131325858bb23c0781c
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/.
8 */
10 #ifndef __SC_CALCCONFIG_HXX__
11 #define __SC_CALCCONFIG_HXX__
13 #include "scdllapi.h"
14 #include "formula/grammar.hxx"
16 // have to match the registry values
17 enum ScRecalcOptions
19 RECALC_ALWAYS = 0,
20 RECALC_NEVER,
21 RECALC_ASK,
24 /**
25 * Configuration options for formula interpreter.
27 struct SC_DLLPUBLIC ScCalcConfig
29 formula::FormulaGrammar::AddressConvention meStringRefAddressSyntax;
30 bool mbEmptyStringAsZero:1;
32 ScCalcConfig();
34 void reset();
36 bool operator== (const ScCalcConfig& r) const;
37 bool operator!= (const ScCalcConfig& r) const;
40 #endif
42 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */