LibreOffice Module sc (master) 1
|
#include <qproform.hxx>
Public Member Functions | |
QProToSc (SvStream &aStr, svl::SharedStringPool &rSPool, const ScAddress &rRefPos) | |
ConvErr | Convert (const ScDocument &rDoc, std::unique_ptr< ScTokenArray > &pArray) |
void | DoFunc (DefTokenId eOc, sal_uInt16 nArgs, const char *pExtString) |
void | ReadSRD (const ScDocument &rDoc, ScSingleRefData &rR, sal_Int8 nPage, sal_Int8 nCol, sal_uInt16 rRel) |
void | IncToken (TokenId &aParam) |
Static Public Member Functions | |
static DefTokenId | IndexToToken (sal_uInt16 nToken) |
static QPRO_FUNC_TYPE | IndexToType (sal_uInt8 nToken) |
static DefTokenId | IndexToDLLId (sal_uInt16 nIndex) |
static const char * | getString (sal_uInt8 nIndex) |
Static Public Attributes | |
static const size_t | nBufSize = 256 |
Private Attributes | |
TokenId | mnAddToken |
SvStream & | maIn |
Additional Inherited Members | |
Protected Member Functions inherited from ConverterBase | |
ConverterBase (svl::SharedStringPool &rSPool) | |
virtual | ~ConverterBase () |
void | Reset () |
Protected Attributes inherited from ConverterBase | |
TokenPool | aPool |
TokenStack | aStack |
ScAddress | aEingPos |
Definition at line 51 of file qproform.hxx.
QProToSc::QProToSc | ( | SvStream & | aStr, |
svl::SharedStringPool & | rSPool, | ||
const ScAddress & | rRefPos | ||
) |
Definition at line 63 of file qproform.cxx.
References ConverterBase::aEingPos.
ConvErr QProToSc::Convert | ( | const ScDocument & | rDoc, |
std::unique_ptr< ScTokenArray > & | pArray | ||
) |
Definition at line 190 of file qproform.cxx.
References aLabel, ConverterBase::aPool, ConverterBase::aStack, Count, DoFunc(), eType, FT_Braces, FT_ConstFloat, FT_ConstInt, FT_ConstString, FT_Cref, FT_DLL, FT_FuncFix0, FT_FuncFix1, FT_FuncFix2, FT_FuncFix3, FT_FuncFix4, FT_FuncFix5, FT_FuncFix6, FT_FuncVar, FT_Neg, FT_NOP, FT_NotImpl, FT_Op, FT_Range, FT_Return, TokenStack::Get(), SvStream::GetStreamCharSet(), getString(), TokenPool::GetTokenArray(), i, IndexToDLLId(), IndexToToken(), IndexToType(), ScSingleRefData::InitFlags(), ScComplexRefData::InitFlags(), ScSingleRefData::IsFlag3D(), ScSingleRefData::IsTabRel(), maIn, nBufSize, nRef, ocClose, ocNegSub, ocNoName, ocOpen, OK, SvStream::ReadDouble(), SvStream::ReadSChar(), ReadSRD(), SvStream::ReadUChar(), SvStream::ReadUInt16(), ScComplexRefData::Ref1, ScComplexRefData::Ref2, SAFEDEC_OR_RET, SAFEREAD_OR_BREAK, ScSingleRefData::SetFlag3D(), TokenPool::Store(), and ScSingleRefData::Tab().
Referenced by ScQProReader::readSheet().
void QProToSc::DoFunc | ( | DefTokenId | eOc, |
sal_uInt16 | nArgs, | ||
const char * | pExtString | ||
) |
Definition at line 70 of file qproform.cxx.
References ConverterBase::aPool, ConverterBase::aStack, SvStream::GetStreamCharSet(), TokenStack::HasMoreTokens(), IncToken(), maIn, nBufSize, nCount, ocClose, ocFixed, ocGetYear, ocIndex, ocIpmt, ocIRR, ocNoName, ocOpen, ocRRI, ocSep, ocSub, ocTrue, SAL_WARN_IF, and TokenPool::Store().
Referenced by Convert().
|
static |
void QProToSc::IncToken | ( | TokenId & | aParam | ) |
Definition at line 169 of file qproform.cxx.
References ConverterBase::aPool, mnAddToken, ocOpen, and TokenPool::Store().
Referenced by DoFunc().
|
static |
|
static |
Definition at line 566 of file qproform.cxx.
References aFuncMap, nIndex, nIndexCount, and ocNoName.
Referenced by Convert().
|
static |
Definition at line 573 of file qproform.cxx.
References aFuncMap, FT_NotImpl, nIndex, and nIndexCount.
Referenced by Convert().
void QProToSc::ReadSRD | ( | const ScDocument & | rDoc, |
ScSingleRefData & | rR, | ||
sal_Int8 | nPage, | ||
sal_Int8 | nCol, | ||
sal_uInt16 | rRel | ||
) |
Definition at line 28 of file qproform.cxx.
References ConverterBase::aEingPos, ScSingleRefData::InitAddress(), ScSingleRefData::SetAbsCol(), ScSingleRefData::SetAbsRow(), ScSingleRefData::SetAbsTab(), ScSingleRefData::SetFlag3D(), ScSingleRefData::SetRelCol(), ScSingleRefData::SetRelRow(), ScSingleRefData::SetRelTab(), ScAddress::Tab(), and ScSingleRefData::toAbs().
Referenced by Convert().
|
private |
Definition at line 55 of file qproform.hxx.
|
private |
Definition at line 54 of file qproform.hxx.
Referenced by IncToken().
|
static |
Definition at line 58 of file qproform.hxx.