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, F_Unicode } |
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... | |
librevenge::RVNGString | m_sheet [2] |
the sheet names (if not empty) More... | |
librevenge::RVNGString | m_fileName |
the file name (if not empty) More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, FormulaInstruction const &inst) |
operator<< More... | |
small class use to define a formula instruction
|
inline |
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
|
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<<(), ClarisWksDbaseContent::readFormula(), BeagleWksStructManager::readFormula(), JazzSSParser::readFormula(), WingzParser::readFormula(), RagTime5Formula::readFormula(), GreatWksDocument::readFormula(), MultiplanParser::readFormula(), RagTimeSpreadsheet::readFormula(), MsWksDocument::readFormula(), RagTime5Formula::readFormulaDefinition(), RagTimeSpreadsheet::readFormulaV2(), MultiplanParser::readLink(), GreatWksDBParserInternal::Field::updateCell(), and MsWksDBParserInternal::SerialFormula::updateContent().
double MWAWCellContent::FormulaInstruction::m_doubleValue |
value ( if type==F_Double )
Referenced by operator<<(), ClarisWksDbaseContent::readFormula(), BeagleWksStructManager::readFormula(), JazzSSParser::readFormula(), WingzParser::readFormula(), RagTime5Formula::readFormula(), GreatWksDocument::readFormula(), MultiplanParser::readFormula(), RagTimeSpreadsheet::readFormula(), MsWksDocument::readFormula(), and RagTimeSpreadsheet::readFormulaV2().
librevenge::RVNGString MWAWCellContent::FormulaInstruction::m_fileName |
the file name (if not empty)
Referenced by operator<<(), MultiplanParser::readLink(), and MultiplanParser::readLinkFilename().
double MWAWCellContent::FormulaInstruction::m_longValue |
value ( if type==F_Long )
Referenced by operator<<(), ClarisWksDbaseContent::readFormula(), BeagleWksStructManager::readFormula(), JazzSSParser::readFormula(), RagTime5Formula::readFormula(), GreatWksDocument::readFormula(), RagTimeSpreadsheet::readFormula(), RagTimeSpreadsheet::readFormulaV2(), and MsWksDBParserInternal::SerialFormula::updateContent().
MWAWVec2i MWAWCellContent::FormulaInstruction::m_position[2] |
cell position ( if type==F_Cell or F_CellList )
Referenced by FormulaInstruction(), operator<<(), JazzSSParser::readCell(), RagTime5Spreadsheet::readCellBlocks(), BeagleWksStructManager::readCellInFormula(), GreatWksDocument::readCellInFormula(), RagTimeSpreadsheet::readCellInFormula(), ClarisWksDbaseContent::readCellInFormula(), MsWksDocument::readCellInFormula(), RagTimeSpreadsheet::readCellInFormulaV2(), ClarisWksDbaseContent::readFormula(), BeagleWksStructManager::readFormula(), JazzSSParser::readFormula(), WingzParser::readFormula(), MultiplanParser::readFormula(), MsWksDocument::readFormula(), RagTime5Formula::readFormulaDefinition(), MultiplanParser::readLink(), MultiplanParser::readName(), WingzParser::readSpreadsheetCellName(), RagTime5SpreadsheetInternal::Sheet::setPLCValues(), and GreatWksDBParserInternal::Field::updateCell().
MWAWVec2b MWAWCellContent::FormulaInstruction::m_positionRelative[2] |
relative cell position ( if type==F_Cell or F_CellList )
Referenced by FormulaInstruction(), operator<<(), JazzSSParser::readCell(), BeagleWksStructManager::readCellInFormula(), GreatWksDocument::readCellInFormula(), RagTimeSpreadsheet::readCellInFormula(), ClarisWksDbaseContent::readCellInFormula(), MsWksDocument::readCellInFormula(), RagTimeSpreadsheet::readCellInFormulaV2(), ClarisWksDbaseContent::readFormula(), BeagleWksStructManager::readFormula(), JazzSSParser::readFormula(), WingzParser::readFormula(), GreatWksDocument::readFormula(), MultiplanParser::readFormula(), MsWksDocument::readFormula(), MultiplanParser::readLink(), MultiplanParser::readName(), WingzParser::readSpreadsheetCellName(), and GreatWksDBParserInternal::Field::updateCell().
librevenge::RVNGString MWAWCellContent::FormulaInstruction::m_sheet[2] |
the sheet names (if not empty)
Referenced by operator<<(), RagTime5Spreadsheet::readCellBlocks(), RagTimeSpreadsheet::readCellInFormula(), RagTimeSpreadsheet::readCellInFormulaV2(), MultiplanParser::readLinkFilename(), and RagTime5SpreadsheetInternal::Sheet::setPLCValues().
Type MWAWCellContent::FormulaInstruction::m_type |
the type
Referenced by operator<<(), JazzSSParser::readCell(), RagTime5Spreadsheet::readCellBlocks(), BeagleWksStructManager::readCellInFormula(), GreatWksDocument::readCellInFormula(), RagTimeSpreadsheet::readCellInFormula(), ClarisWksDbaseContent::readCellInFormula(), MsWksDocument::readCellInFormula(), RagTimeSpreadsheet::readCellInFormulaV2(), ClarisWksDbaseContent::readFormula(), BeagleWksStructManager::readFormula(), JazzSSParser::readFormula(), WingzParser::readFormula(), RagTime5Formula::readFormula(), GreatWksDocument::readFormula(), MultiplanParser::readFormula(), RagTimeSpreadsheet::readFormula(), MsWksDocument::readFormula(), RagTime5Formula::readFormulaDefinition(), RagTimeSpreadsheet::readFormulaV2(), MultiplanParser::readLink(), MultiplanParser::readName(), WingzParser::readSpreadsheetCellName(), RagTime5SpreadsheetInternal::Sheet::setPLCValues(), GreatWksDBParserInternal::Field::updateCell(), and MsWksDBParserInternal::SerialFormula::updateContent().