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 | |
| librevenge::RVNGPropertyList | getPropertyList (MWAWFontConverter &fontConverter, int fontId) const |
| returns a proplist corresponding to a instruction using a font converter to send the text | |
Public Attributes | |
| Type | 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 ) | |
| MWAWVec2i | m_position [2] |
| cell position ( if type==F_Cell or F_CellList ) | |
| MWAWVec2b | m_positionRelative [2] |
| relative cell position ( if type==F_Cell or F_CellList ) | |
| std::string | m_sheet |
| the sheet name (if not empty) | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, FormulaInstruction const &inst) |
| operator<< | |
small class use to define a formula instruction
constructor
| 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
| std::ostream& operator<< | ( | std::ostream & | o, |
| MWAWCellContent::FormulaInstruction const & | inst | ||
| ) | [friend] |
operator<<
| std::string MWAWCellContent::FormulaInstruction::m_content |
the content ( if type == F_Operator or type = F_Function or type==F_Text)
Referenced by operator<<(), BeagleWksStructManager::readFormula(), WingzParser::readFormula(), GreatWksDocument::readFormula(), RagTimeSpreadsheet::readFormula(), ClarisWksDbaseContent::readFormula(), MsWksDocument::readFormula(), RagTimeSpreadsheet::readFormulaV2(), GreatWksDBParserInternal::Field::updateCell(), MsWksDBParserInternal::SerialFormula::updateContent(), and RagTimeSpreadsheetInternal::Cell::validateFormula().
value ( if type==F_Double )
Referenced by operator<<(), BeagleWksStructManager::readFormula(), WingzParser::readFormula(), GreatWksDocument::readFormula(), RagTimeSpreadsheet::readFormula(), ClarisWksDbaseContent::readFormula(), MsWksDocument::readFormula(), and RagTimeSpreadsheet::readFormulaV2().
cell position ( if type==F_Cell or F_CellList )
Referenced by FormulaInstruction(), operator<<(), BeagleWksStructManager::readCellInFormula(), GreatWksDocument::readCellInFormula(), ClarisWksDbaseContent::readCellInFormula(), RagTimeSpreadsheet::readCellInFormula(), MsWksDocument::readCellInFormula(), RagTimeSpreadsheet::readCellInFormulaV2(), BeagleWksStructManager::readFormula(), WingzParser::readFormula(), GreatWksDocument::readFormula(), GreatWksDBParser::readFormula(), ClarisWksDbaseContent::readFormula(), MsWksDocument::readFormula(), WingzParser::readSpreadsheetCellName(), WingzParserInternal::Spreadsheet::update(), GreatWksDBParserInternal::Field::updateCell(), ClarisWksDbaseContent::Record::updateFormulaCells(), BeagleWksDBParserInternal::Database::updateWithContent(), and MsWksDBParserInternal::FieldType::updateWithContent().
relative cell position ( if type==F_Cell or F_CellList )
Referenced by FormulaInstruction(), operator<<(), BeagleWksStructManager::readCellInFormula(), GreatWksDocument::readCellInFormula(), ClarisWksDbaseContent::readCellInFormula(), RagTimeSpreadsheet::readCellInFormula(), MsWksDocument::readCellInFormula(), RagTimeSpreadsheet::readCellInFormulaV2(), BeagleWksStructManager::readFormula(), WingzParser::readFormula(), GreatWksDocument::readFormula(), ClarisWksDbaseContent::readFormula(), MsWksDocument::readFormula(), WingzParser::readSpreadsheetCellName(), WingzParserInternal::Spreadsheet::update(), and GreatWksDBParserInternal::Field::updateCell().
| std::string MWAWCellContent::FormulaInstruction::m_sheet |
the sheet name (if not empty)
Referenced by operator<<(), RagTimeSpreadsheet::readCellInFormula(), RagTimeSpreadsheet::readCellInFormulaV2(), and RagTimeSpreadsheetInternal::Cell::validateFormula().
the type
Referenced by operator<<(), BeagleWksStructManager::readCellInFormula(), GreatWksDocument::readCellInFormula(), ClarisWksDbaseContent::readCellInFormula(), RagTimeSpreadsheet::readCellInFormula(), MsWksDocument::readCellInFormula(), RagTimeSpreadsheet::readCellInFormulaV2(), BeagleWksStructManager::readFormula(), WingzParser::readFormula(), GreatWksDocument::readFormula(), GreatWksDBParser::readFormula(), RagTimeSpreadsheet::readFormula(), ClarisWksDbaseContent::readFormula(), MsWksDocument::readFormula(), RagTimeSpreadsheet::readFormulaV2(), WingzParser::readSpreadsheetCellName(), WingzParserInternal::Spreadsheet::update(), GreatWksDBParserInternal::Field::updateCell(), MsWksDBParserInternal::SerialFormula::updateContent(), ClarisWksDbaseContent::Record::updateFormulaCells(), BeagleWksDBParserInternal::Database::updateWithContent(), MsWksDBParserInternal::FieldType::updateWithContent(), and RagTimeSpreadsheetInternal::Cell::validateFormula().