LibreOffice Module sc (master)  1
qproform.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 http://mozilla.org/MPL/2.0/.
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 http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #pragma once
21 
22 #include <sal/config.h>
23 #include "formel.hxx"
24 
26 
28 {
49 };
50 
51 class QProToSc : public ConverterBase
52 {
53 private:
56 
57 public:
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);
69 };
70 
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ConvErr
Definition: formel.hxx:39
Single reference (one address) into the sheet.
Definition: refdata.hxx:29
signed char sal_Int8
ConvErr Convert(const ScDocument &rDoc, std::unique_ptr< ScTokenArray > &pArray)
Definition: qproform.cxx:190
static DefTokenId IndexToDLLId(sal_uInt16 nIndex)
Definition: qproform.cxx:580
void IncToken(TokenId &aParam)
Definition: qproform.cxx:169
QProToSc(SvStream &aStr, svl::SharedStringPool &rSPool, const ScAddress &rRefPos)
Definition: qproform.cxx:63
OpCode DefTokenId
Definition: qproform.hxx:25
void DoFunc(DefTokenId eOc, sal_uInt16 nArgs, const char *pExtString)
Definition: qproform.cxx:70
TokenId mnAddToken
Definition: qproform.hxx:54
void ReadSRD(const ScDocument &rDoc, ScSingleRefData &rR, sal_Int8 nPage, sal_Int8 nCol, sal_uInt16 rRel)
Definition: qproform.cxx:28
OpCode
static DefTokenId IndexToToken(sal_uInt16 nToken)
Definition: qproform.cxx:566
DefTokenId nToken
Definition: qproform.cxx:397
static const size_t nBufSize
Definition: qproform.hxx:58
QPRO_FUNC_TYPE
Definition: qproform.hxx:27
unsigned char sal_uInt8
static const char * getString(sal_uInt8 nIndex)
Definition: qproform.cxx:660
SvStream & maIn
Definition: qproform.hxx:55
static QPRO_FUNC_TYPE IndexToType(sal_uInt8 nToken)
Definition: qproform.cxx:573