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_FORMULAGROUP_HXX
11 #define SC_FORMULAGROUP_HXX
13 #include "address.hxx"
16 #include <boost/noncopyable.hpp>
17 #include <boost/ptr_container/ptr_vector.hpp>
24 struct FormulaGroupContext
: boost::noncopyable
26 typedef std::vector
<double> DoubleArrayType
;
27 typedef boost::ptr_vector
<DoubleArrayType
> ArrayStoreType
;
29 ArrayStoreType maArrays
;
33 * All the vectorized formula calculation code should be collectd here.
35 class FormulaGroupInterpreter
39 ScFormulaCellGroupRef mxGroup
;
42 FormulaGroupInterpreter(
43 ScDocument
& rDoc
, const ScAddress
& rTopPos
, const ScFormulaCellGroupRef
& xGroup
, ScTokenArray
& rCode
);
52 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */