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 , F_Unicode
}
 

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 )
 
librevenge::RVNGString m_sheet [2]
 the sheet names (if not empty)
 
librevenge::RVNGString m_fileName
 the file name (if not empty)
 

Friends

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

Detailed Description

small class use to define a formula instruction

Member Enumeration Documentation

◆ Type

Enumerator
F_Operator 
F_Function 
F_Cell 
F_CellList 
F_Long 
F_Double 
F_Text 
F_Unicode 

Constructor & Destructor Documentation

◆ FormulaInstruction()

MWAWCellContent::FormulaInstruction::FormulaInstruction ( )
inline

constructor

Member Function Documentation

◆ getPropertyList()

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

◆ operator<<

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

operator<<

Member Data Documentation

◆ m_content

◆ m_doubleValue

◆ m_fileName

librevenge::RVNGString MWAWCellContent::FormulaInstruction::m_fileName

the file name (if not empty)

Referenced by MultiplanParser::readLink(), and MultiplanParser::readLinkFilename().

◆ m_longValue

◆ m_position

◆ m_positionRelative

◆ m_sheet

◆ m_type


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

Generated on Wed May 3 2023 07:18:29 for libmwaw by doxygen 1.9.6