LibreOffice Module sc (master) 1
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
4 *
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
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at .
18 */
20#pragma once
22#include <sal/config.h>
23#include "formel.hxx"
51class QProToSc : public ConverterBase
58 static const size_t nBufSize = 256;
59 QProToSc(SvStream& aStr, svl::SharedStringPool& rSPool, const ScAddress& rRefPos);
60 ConvErr Convert(const ScDocument& rDoc, std::unique_ptr<ScTokenArray>& pArray);
61 void DoFunc(DefTokenId eOc, sal_uInt16 nArgs, const char* pExtString);
62 void ReadSRD(const ScDocument& rDoc, ScSingleRefData& rR, sal_Int8 nPage, sal_Int8 nCol,
63 sal_uInt16 rRel);
64 void IncToken(TokenId& aParam);
65 static DefTokenId IndexToToken(sal_uInt16 nToken);
67 static DefTokenId IndexToDLLId(sal_uInt16 nIndex);
68 static const char* getString(sal_uInt8 nIndex);
71/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void ReadSRD(const ScDocument &rDoc, ScSingleRefData &rR, sal_Int8 nPage, sal_Int8 nCol, sal_uInt16 rRel)
Definition: qproform.cxx:28
static QPRO_FUNC_TYPE IndexToType(sal_uInt8 nToken)
Definition: qproform.cxx:573
static DefTokenId IndexToDLLId(sal_uInt16 nIndex)
Definition: qproform.cxx:580
ConvErr Convert(const ScDocument &rDoc, std::unique_ptr< ScTokenArray > &pArray)
Definition: qproform.cxx:190
void IncToken(TokenId &aParam)
Definition: qproform.cxx:169
static DefTokenId IndexToToken(sal_uInt16 nToken)
Definition: qproform.cxx:566
SvStream & maIn
Definition: qproform.hxx:55
void DoFunc(DefTokenId eOc, sal_uInt16 nArgs, const char *pExtString)
Definition: qproform.cxx:70
static const char * getString(sal_uInt8 nIndex)
Definition: qproform.cxx:660
TokenId mnAddToken
Definition: qproform.hxx:54
static const size_t nBufSize
Definition: qproform.hxx:58
QProToSc(SvStream &aStr, svl::SharedStringPool &rSPool, const ScAddress &rRefPos)
Definition: qproform.cxx:63
Definition: formel.hxx:41
DefTokenId nToken
Definition: qproform.cxx:397
Definition: qproform.hxx:28
@ FT_NotImpl
Definition: qproform.hxx:41
@ FT_FuncFix6
Definition: qproform.hxx:36
@ FT_ConstFloat
Definition: qproform.hxx:42
@ FT_Braces
Definition: qproform.hxx:44
@ FT_Op
Definition: qproform.hxx:40
@ FT_FuncFix5
Definition: qproform.hxx:35
@ FT_ConstString
Definition: qproform.hxx:46
@ FT_FuncVar
Definition: qproform.hxx:37
@ FT_FuncFix1
Definition: qproform.hxx:31
@ FT_Range
Definition: qproform.hxx:43
@ FT_ConstInt
Definition: qproform.hxx:45
@ FT_FuncFix0
Definition: qproform.hxx:30
@ FT_Return
Definition: qproform.hxx:29
@ FT_Neg
Definition: qproform.hxx:39
@ FT_FuncFix2
Definition: qproform.hxx:32
Definition: qproform.hxx:38
Definition: qproform.hxx:47
@ FT_FuncFix3
Definition: qproform.hxx:33
@ FT_Cref
Definition: qproform.hxx:48
@ FT_FuncFix4
Definition: qproform.hxx:34
OpCode DefTokenId
Definition: qproform.hxx:25
Single reference (one address) into the sheet.
Definition: refdata.hxx:30
unsigned char sal_uInt8
signed char sal_Int8