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_TYPES_HXX__
11 #define __SC_TYPES_HXX__
13 #include <boost/intrusive_ptr.hpp>
17 typedef ::boost::intrusive_ptr
<ScMatrix
> ScMatrixRef
;
18 typedef ::boost::intrusive_ptr
<const ScMatrix
> ScConstMatrixRef
;
21 typedef ::boost::intrusive_ptr
<ScToken
> ScTokenRef
;
23 struct ScFormulaCellGroup
;
24 typedef ::boost::intrusive_ptr
<ScFormulaCellGroup
> ScFormulaCellGroupRef
;
27 * When vectorization is enabled, we could potentially mass-calculate a
28 * series of formula token arrays in adjacent formula cells in one step,
29 * provided that they all contain identical set of tokens.
31 enum ScFormulaVectorState
33 FormulaVectorDisabled
= 0,
35 FormulaVectorCheckReference
,
41 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */