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<< | |
small class use to define a formula instruction
| 
 | inline | 
constructor
| librevenge::RVNGPropertyList WKSContentListener::FormulaInstruction::getPropertyList | ( | ) | const | 
return a proplist corresponding to a instruction
| 
 | friend | 
operator<<
| std::string WKSContentListener::FormulaInstruction::m_content | 
the content ( if type == F_Operator or type = F_Function or type==F_Text)
Referenced by QuattroFormulaInternal::CellReference::addInstruction(), QuattroParser::getField(), Quattro9Parser::getField(), getPropertyList(), QuattroDosSpreadsheet::readFormula(), WKS4Spreadsheet::readFormula(), QuattroFormulaManager::readFormula(), libwps::MultiplanParser::readFormula(), LotusSpreadsheet::readFormula(), libwps::MultiplanParser::readFormulaV2(), libwps::MultiplanParser::readLink(), and libwps::MultiplanParser::readName().
| double WKSContentListener::FormulaInstruction::m_doubleValue | 
value ( if type==F_Double )
Referenced by getPropertyList(), QuattroDosSpreadsheet::readFormula(), WKS4Spreadsheet::readFormula(), QuattroFormulaManager::readFormula(), libwps::MultiplanParser::readFormula(), LotusSpreadsheet::readFormula(), and libwps::MultiplanParser::readFormulaV2().
| librevenge::RVNGString WKSContentListener::FormulaInstruction::m_fileName | 
the file name (external reference)
Referenced by getPropertyList(), LotusSpreadsheet::parseVariable(), Quattro9Spreadsheet::readCell(), QuattroSpreadsheet::readCell(), QuattroDosSpreadsheet::readCell(), and libwps::MultiplanParser::readLink().
| double WKSContentListener::FormulaInstruction::m_longValue | 
value ( if type==F_Long )
Referenced by getPropertyList(), QuattroDosSpreadsheet::readFormula(), WKS4Spreadsheet::readFormula(), QuattroFormulaManager::readFormula(), and LotusSpreadsheet::readFormula().
| Vec2i WKSContentListener::FormulaInstruction::m_position[2] | 
cell position ( if type==F_Cell or F_CellList )
Referenced by FormulaInstruction(), getPropertyList(), LotusSpreadsheet::parseVariable(), Quattro9Spreadsheet::readCell(), QuattroSpreadsheet::readCell(), WKS4Spreadsheet::readCell(), QuattroDosSpreadsheet::readCell(), LotusSpreadsheet::readCell(), Quattro9Spreadsheet::readCellReference(), QuattroSpreadsheet::readCellReference(), QuattroDosSpreadsheet::readFormula(), WKS4Spreadsheet::readFormula(), libwps::MultiplanParser::readFormula(), LotusSpreadsheet::readFormula(), libwps::MultiplanParser::readFormulaV2(), libwps::MultiplanParser::readLink(), and libwps::MultiplanParser::readName().
| Vec2b WKSContentListener::FormulaInstruction::m_positionRelative[2] | 
relative cell position ( if type==F_Cell or F_CellList )
Referenced by FormulaInstruction(), getPropertyList(), LotusSpreadsheet::parseVariable(), Quattro9Spreadsheet::readCell(), QuattroSpreadsheet::readCell(), WKS4Spreadsheet::readCell(), QuattroDosSpreadsheet::readCell(), LotusSpreadsheet::readCell(), Quattro9Spreadsheet::readCellReference(), QuattroSpreadsheet::readCellReference(), QuattroDosSpreadsheet::readFormula(), WKS4Spreadsheet::readFormula(), libwps::MultiplanParser::readFormula(), LotusSpreadsheet::readFormula(), libwps::MultiplanParser::readFormulaV2(), libwps::MultiplanParser::readLink(), and libwps::MultiplanParser::readName().
| int WKSContentListener::FormulaInstruction::m_sheetId[2] | 
the sheet id
\note local field which can be used to store the sheet id before setting the sheet name
Referenced by FormulaInstruction(), Quattro9Spreadsheet::readCell(), QuattroSpreadsheet::readCell(), QuattroDosSpreadsheet::readCell(), Quattro9Spreadsheet::readCellReference(), QuattroSpreadsheet::readCellReference(), and QuattroDosSpreadsheet::readFormula().
| librevenge::RVNGString WKSContentListener::FormulaInstruction::m_sheetName[2] | 
the sheet name
Referenced by getPropertyList(), LotusSpreadsheet::parseVariable(), Quattro9Spreadsheet::readCell(), QuattroSpreadsheet::readCell(), LotusSpreadsheet::readCell(), Quattro9Spreadsheet::readCellReference(), QuattroSpreadsheet::readCellReference(), LotusSpreadsheet::readFormula(), and libwps::MultiplanParser::readLink().
| What WKSContentListener::FormulaInstruction::m_type | 
the type
Referenced by QuattroFormulaInternal::CellReference::addInstruction(), QuattroParser::getField(), Quattro9Parser::getField(), getPropertyList(), LotusSpreadsheet::parseVariable(), Quattro9Spreadsheet::readCell(), QuattroSpreadsheet::readCell(), WKS4Spreadsheet::readCell(), QuattroDosSpreadsheet::readCell(), LotusSpreadsheet::readCell(), Quattro9Spreadsheet::readCellReference(), QuattroSpreadsheet::readCellReference(), QuattroDosSpreadsheet::readFormula(), WKS4Spreadsheet::readFormula(), QuattroFormulaManager::readFormula(), libwps::MultiplanParser::readFormula(), LotusSpreadsheet::readFormula(), libwps::MultiplanParser::readFormulaV2(), libwps::MultiplanParser::readLink(), and libwps::MultiplanParser::readName().