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 #ifndef __SC_CALCCONFIG_HXX__
11 #define __SC_CALCCONFIG_HXX__
14 #include "formula/grammar.hxx"
16 #include "rtl/ustring.hxx"
18 // have to match the registry values
27 * Configuration options for formula interpreter.
29 struct SC_DLLPUBLIC ScCalcConfig
31 formula::FormulaGrammar::AddressConvention meStringRefAddressSyntax
;
32 bool mbEmptyStringAsZero
:1;
33 bool mbOpenCLEnabled
:1;
34 bool mbOpenCLAutoSelect
:1;
35 OUString maOpenCLDevice
;
41 bool operator== (const ScCalcConfig
& r
) const;
42 bool operator!= (const ScCalcConfig
& r
) const;
47 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */