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 ) | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, FormulaInstruction const &inst) |
| operator<< | |
small class use to define a formula instruction
constructor
| librevenge::RVNGPropertyList WKSContentListener::FormulaInstruction::getPropertyList | ( | ) | const |
return a proplist corresponding to a instruction
| std::ostream& operator<< | ( | std::ostream & | o, |
| WKSContentListener::FormulaInstruction const & | inst | ||
| ) | [friend] |
operator<<
the content ( if type == F_Operator or type = F_Function or type==F_Text)
Referenced by getPropertyList(), operator<<(), and WKS4Spreadsheet::readFormula().
value ( if type==F_Double )
Referenced by getPropertyList(), operator<<(), and WKS4Spreadsheet::readFormula().
value ( if type==F_Long )
Referenced by getPropertyList(), operator<<(), and WKS4Spreadsheet::readFormula().
cell position ( if type==F_Cell or F_CellList )
Referenced by FormulaInstruction(), getPropertyList(), operator<<(), WKS4Spreadsheet::readCell(), and WKS4Spreadsheet::readFormula().
relative cell position ( if type==F_Cell or F_CellList )
Referenced by FormulaInstruction(), getPropertyList(), operator<<(), WKS4Spreadsheet::readCell(), and WKS4Spreadsheet::readFormula().
the type
Referenced by getPropertyList(), operator<<(), WKS4Spreadsheet::readCell(), and WKS4Spreadsheet::readFormula().