fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / sc / source / core / inc / grouptokenconverter.hxx
blobb2213636a1510507cc747b3bbe7cd550105cd861
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 INCLUDED_SC_SOURCE_CORE_INC_GROUPTOKENCONVERTER_HXX
11 #define INCLUDED_SC_SOURCE_CORE_INC_GROUPTOKENCONVERTER_HXX
13 #include "document.hxx"
14 #include "formulacell.hxx"
15 #include "scdllapi.h"
16 #include "tokenarray.hxx"
17 #include "types.hxx"
19 class SC_DLLPUBLIC ScGroupTokenConverter
21 ScTokenArray& mrGroupTokens;
22 ScDocument& mrDoc;
23 ScFormulaCell& mrCell;
24 const ScAddress& mrPos;
26 bool isSelfReferenceRelative(const ScAddress& rRefPos, SCROW nRelRow);
27 bool isSelfReferenceAbsolute(const ScAddress& rRefPos);
28 SCROW trimLength(SCTAB nTab, SCCOL nCol1, SCCOL nCol2, SCROW nRow, SCROW nRowLen);
30 public:
31 ScGroupTokenConverter(ScTokenArray& rGroupTokens, ScDocument& rDoc, ScFormulaCell& rCell, const ScAddress& rPos);
33 bool convert(ScTokenArray& rCode, std::vector<ScTokenArray*>& rConversionStack);
36 #endif // INCLUDED_SC_SOURCE_CORE_INC_GROUPTOKENCONVERTER_HXX
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */