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

#include <lwptblformula.hxx>

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

Public Member Functions

 LwpFormulaUnaryOp (sal_uInt16 nTokenType)
 
virtual OUString ToString (LwpTableLayout *pCellsMap) override
 convert the formula in unary operators into string : e.g. More...
 
- Public Member Functions inherited from LwpFormulaFunc
 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)
 

Additional Inherited Members

- Protected Attributes inherited from LwpFormulaFunc
std::vector< std::unique_ptr< LwpFormulaArg > > m_aArgs
 
sal_uInt16 m_nTokenType
 

Detailed Description

Definition at line 192 of file lwptblformula.hxx.

Constructor & Destructor Documentation

◆ LwpFormulaUnaryOp()

LwpFormulaUnaryOp::LwpFormulaUnaryOp ( sal_uInt16  nTokenType)
inlineexplicit

Definition at line 195 of file lwptblformula.hxx.

Member Function Documentation

◆ ToString()

OUString LwpFormulaUnaryOp::ToString ( LwpTableLayout pCellsMap)
overridevirtual

convert the formula in unary operators into string : e.g.

-2

Reimplemented from LwpFormulaFunc.

Definition at line 468 of file lwptblformula.cxx.

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


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