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 #ifndef INCLUDED_SC_SOURCE_FILTER_INC_QPROFORM_HXX
21 #define INCLUDED_SC_SOURCE_FILTER_INC_QPROFORM_HXX
22 
23 #include <sal/config.h>
24 #include "formel.hxx"
25 
27 
29 {
50 };
51 
52 class QProToSc : public ConverterBase
53 {
54 private:
57 
58 public:
59  static const size_t nBufSize = 256;
60  QProToSc( SvStream &aStr, svl::SharedStringPool& rSPool, const ScAddress& rRefPos );
61  ConvErr Convert( const ScDocument* pDoc, std::unique_ptr<ScTokenArray>& pArray );
62  void DoFunc( DefTokenId eOc, sal_uInt16 nArgs, const char* pExtString );
63  void ReadSRD( const ScDocument* pDoc, ScSingleRefData& rR, sal_Int8 nPage, sal_Int8 nCol, 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 #endif
71 
72 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ConvErr
Definition: formel.hxx:40
Single reference (one address) into the sheet.
Definition: refdata.hxx:30
signed char sal_Int8
static DefTokenId IndexToDLLId(sal_uInt16 nIndex)
Definition: qproform.cxx:583
void IncToken(TokenId &aParam)
Definition: qproform.cxx:170
void ReadSRD(const ScDocument *pDoc, ScSingleRefData &rR, sal_Int8 nPage, sal_Int8 nCol, sal_uInt16 rRel)
Definition: qproform.cxx:29
QProToSc(SvStream &aStr, svl::SharedStringPool &rSPool, const ScAddress &rRefPos)
Definition: qproform.cxx:64
OpCode DefTokenId
Definition: qproform.hxx:26
void DoFunc(DefTokenId eOc, sal_uInt16 nArgs, const char *pExtString)
Definition: qproform.cxx:71
TokenId mnAddToken
Definition: qproform.hxx:55
OpCode
static DefTokenId IndexToToken(sal_uInt16 nToken)
Definition: qproform.cxx:569
DefTokenId nToken
Definition: qproform.cxx:400
static const size_t nBufSize
Definition: qproform.hxx:59
QPRO_FUNC_TYPE
Definition: qproform.hxx:28
unsigned char sal_uInt8
ConvErr Convert(const ScDocument *pDoc, std::unique_ptr< ScTokenArray > &pArray)
Definition: qproform.cxx:191
static const char * getString(sal_uInt8 nIndex)
Definition: qproform.cxx:663
SvStream & maIn
Definition: qproform.hxx:56
static QPRO_FUNC_TYPE IndexToType(sal_uInt8 nToken)
Definition: qproform.cxx:576