Bump version to 4.3-4
[LibreOffice.git] / sc / source / core / inc / grouptokenconverter.hxx
blob9685681886e0d2aaf3fa4d3f56e2e2861d307448
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);
36 #endif // INCLUDED_SC_SOURCE_CORE_INC_GROUPTOKENCONVERTER_HXX
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */