LibreOffice Module lotuswordpro (master) 1
Public Member Functions | Protected Attributes | List of all members
LwpFormulaFunc Class Reference

#include <lwptblformula.hxx>

Inheritance diagram for LwpFormulaFunc:
[legend]
Collaboration diagram for LwpFormulaFunc:
[legend]

Public Member Functions

 LwpFormulaFunc (sal_uInt16 nTokenType)
 
virtual ~LwpFormulaFunc () override
 
void AddArg (std::unique_ptr< LwpFormulaArg > pArg)
 
virtual OUString ToString (LwpTableLayout *pCellsMap) override
 Convert the function to a formula string. More...
 
OUString ToArgString (LwpTableLayout *pCellsMap) override
 Convert the functions to a string, which is an argument of other formula. More...
 
- Public Member Functions inherited from LwpFormulaArg
virtual ~LwpFormulaArg ()=0
 
virtual OUString ToString (LwpTableLayout *pCellsMap)=0
 
virtual OUString ToArgString (LwpTableLayout *pCellsMap)
 

Protected Attributes

std::vector< std::unique_ptr< LwpFormulaArg > > m_aArgs
 
sal_uInt16 m_nTokenType
 

Detailed Description

Definition at line 169 of file lwptblformula.hxx.

Constructor & Destructor Documentation

◆ LwpFormulaFunc()

LwpFormulaFunc::LwpFormulaFunc ( sal_uInt16  nTokenType)
explicit

Definition at line 396 of file lwptblformula.cxx.

◆ ~LwpFormulaFunc()

LwpFormulaFunc::~LwpFormulaFunc ( )
overridevirtual

Definition at line 400 of file lwptblformula.cxx.

Member Function Documentation

◆ AddArg()

void LwpFormulaFunc::AddArg ( std::unique_ptr< LwpFormulaArg pArg)

Definition at line 403 of file lwptblformula.cxx.

References m_aArgs.

Referenced by LwpFormulaInfo::ReadArguments().

◆ ToArgString()

OUString LwpFormulaFunc::ToArgString ( LwpTableLayout pCellsMap)
overridevirtual

Convert the functions to a string, which is an argument of other formula.

Reimplemented from LwpFormulaArg.

Definition at line 410 of file lwptblformula.cxx.

References ToString().

◆ ToString()

OUString LwpFormulaFunc::ToString ( LwpTableLayout pCellsMap)
overridevirtual

Convert the function to a formula string.

Implements LwpFormulaArg.

Reimplemented in LwpFormulaOp, and LwpFormulaUnaryOp.

Definition at line 417 of file lwptblformula.cxx.

References LwpFormulaTools::GetName(), m_aArgs, and m_nTokenType.

Referenced by ToArgString().

Member Data Documentation

◆ m_aArgs

std::vector<std::unique_ptr<LwpFormulaArg> > LwpFormulaFunc::m_aArgs
protected

◆ m_nTokenType

sal_uInt16 LwpFormulaFunc::m_nTokenType
protected

The documentation for this class was generated from the following files: