WKSContentListener::FormulaInstruction Struct Reference

small class use to define a formula instruction More...

#include <WKSContentListener.h>

Public Types

enum  What {
  F_Operator , F_Function , F_Cell , F_CellList ,
  F_Long , F_Double , F_Text
}
 

Public Member Functions

 FormulaInstruction ()
 constructor
 
librevenge::RVNGPropertyList getPropertyList () const
 return a proplist corresponding to a instruction
 

Public Attributes

What m_type
 the type
 
std::string m_content
 the content ( if type == F_Operator or type = F_Function or type==F_Text)
 
double m_longValue
 value ( if type==F_Long )
 
double m_doubleValue
 value ( if type==F_Double )
 
Vec2i m_position [2]
 cell position ( if type==F_Cell or F_CellList )
 
Vec2b m_positionRelative [2]
 relative cell position ( if type==F_Cell or F_CellList )
 
librevenge::RVNGString m_sheetName [2]
 the sheet name
 
int m_sheetId [2]
 the sheet id
 
librevenge::RVNGString m_fileName
 the file name (external reference)
 

Friends

std::ostream & operator<< (std::ostream &o, FormulaInstruction const &inst)
 operator<<
 

Detailed Description

small class use to define a formula instruction

Member Enumeration Documentation

◆ What

Enumerator
F_Operator 
F_Function 
F_Cell 
F_CellList 
F_Long 
F_Double 
F_Text 

Constructor & Destructor Documentation

◆ FormulaInstruction()

WKSContentListener::FormulaInstruction::FormulaInstruction ( )
inline

constructor

Member Function Documentation

◆ getPropertyList()

librevenge::RVNGPropertyList WKSContentListener::FormulaInstruction::getPropertyList ( ) const

return a proplist corresponding to a instruction

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  o,
WKSContentListener::FormulaInstruction const &  inst 
)
friend

operator<<

Member Data Documentation

◆ m_content

◆ m_doubleValue

◆ m_fileName

librevenge::RVNGString WKSContentListener::FormulaInstruction::m_fileName

◆ m_longValue

double WKSContentListener::FormulaInstruction::m_longValue

◆ m_position

◆ m_positionRelative

◆ m_sheetId

int WKSContentListener::FormulaInstruction::m_sheetId[2]

◆ m_sheetName

◆ m_type


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

Generated on Thu Jul 27 2023 11:31:48 for libwps by doxygen 1.9.7