MWAWCellContent::FormulaInstruction Struct Reference

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

#include <MWAWCell.hxx>

Public Types

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

Public Member Functions

 FormulaInstruction ()
 constructor More...
 
librevenge::RVNGPropertyList getPropertyList (MWAWFontConverter &fontConverter, int fontId) const
 returns a proplist corresponding to a instruction using a font converter to send the text More...
 

Public Attributes

Type m_type
 the type More...
 
std::string m_content
 the content ( if type == F_Operator or type = F_Function or type==F_Text) More...
 
double m_longValue
 value ( if type==F_Long ) More...
 
double m_doubleValue
 value ( if type==F_Double ) More...
 
MWAWVec2i m_position [2]
 cell position ( if type==F_Cell or F_CellList ) More...
 
MWAWVec2b m_positionRelative [2]
 relative cell position ( if type==F_Cell or F_CellList ) More...
 
std::string m_sheet
 the sheet name (if not empty) More...
 

Friends

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

Detailed Description

small class use to define a formula instruction

Member Enumeration Documentation

Enumerator
F_Operator 
F_Function 
F_Cell 
F_CellList 
F_Long 
F_Double 
F_Text 

Constructor & Destructor Documentation

MWAWCellContent::FormulaInstruction::FormulaInstruction ( )
inline

constructor

Member Function Documentation

librevenge::RVNGPropertyList MWAWCellContent::FormulaInstruction::getPropertyList ( MWAWFontConverter fontConverter,
int  fontId 
) const

returns a proplist corresponding to a instruction using a font converter to send the text

Friends And Related Function Documentation

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

operator<<

Member Data Documentation

std::string MWAWCellContent::FormulaInstruction::m_sheet

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

Generated on Thu Jul 9 2015 20:26:38 for libmwaw by doxygen 1.8.8