WKSContentListener::FormulaInstruction Struct Reference documentation

Public Types | Public Member Functions | Public Attributes | Friends | List of all members
WKSContentListener::FormulaInstruction Struct Reference

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 More...
librevenge::RVNGPropertyList | getPropertyList () const
| return a proplist corresponding to a instruction More...

## Public Attributes
What | 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...
Vec2i | m_position [2]
| cell position ( if type==F_Cell or F_CellList ) More...
Vec2b | m_positionRelative [2]
| relative cell position ( if type==F_Cell or F_CellList ) More...
librevenge::RVNGString | m_sheetName [2]
| the sheet name More...
int | m_sheetId [2]
| the sheet id More...
librevenge::RVNGString | m_fileName
| the file name (external reference) More...

## Friends
std::ostream & | operator<< (std::ostream &o, FormulaInstruction const &inst)
| operator<< More...

## Detailed Description

small class use to define a formula instruction

## Member Enumeration Documentation

## ◆ What

enum WKSContentListener::FormulaInstruction::What

Enumerator
F_Operator |
F_Function |
F_Cell |
F_CellList |
F_Long |
F_Double |
F_Text |

## Constructor & Destructor Documentation

## ◆ FormulaInstruction()

WKSContentListener::FormulaInstruction::FormulaInstruction | ( |  | ) |
| inline

constructor

## Member Function Documentation

## ◆ getPropertyList()

librevenge::RVNGPropertyList WKSContentListener::FormulaInstruction::getPropertyList | ( |  | ) | const

return a proplist corresponding to a instruction

## Friends And Related Function Documentation

## ◆ operator<<

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

operator<<

## Member Data Documentation

## ◆ m_content

std::string WKSContentListener::FormulaInstruction::m_content

the content ( if type == F_Operator or type = F_Function or type==F_Text)

Referenced by getPropertyList(), operator<<(), QuattroSpreadsheet::readFormula(), QuattroDosSpreadsheet::readFormula(), WKS4Spreadsheet::readFormula(), and LotusSpreadsheet::readFormula().

## ◆ m_doubleValue

double WKSContentListener::FormulaInstruction::m_doubleValue

value ( if type==F_Double )

Referenced by getPropertyList(), operator<<(), QuattroSpreadsheet::readFormula(), QuattroDosSpreadsheet::readFormula(), WKS4Spreadsheet::readFormula(), and LotusSpreadsheet::readFormula().

## ◆ m_fileName

librevenge::RVNGString WKSContentListener::FormulaInstruction::m_fileName

the file name (external reference)

Referenced by getPropertyList(), operator<<(), LotusSpreadsheet::parseVariable(), QuattroSpreadsheet::readCell(), and QuattroDosSpreadsheet::readCell().

## ◆ m_longValue

double WKSContentListener::FormulaInstruction::m_longValue

value ( if type==F_Long )

Referenced by getPropertyList(), operator<<(), QuattroSpreadsheet::readFormula(), QuattroDosSpreadsheet::readFormula(), WKS4Spreadsheet::readFormula(), and LotusSpreadsheet::readFormula().

## ◆ m_position

Vec2i WKSContentListener::FormulaInstruction::m_position[2]

cell position ( if type==F_Cell or F_CellList )

Referenced by FormulaInstruction(), getPropertyList(), operator<<(), LotusSpreadsheet::parseVariable(), QuattroSpreadsheet::readCell(), QuattroDosSpreadsheet::readCell(), WKS4Spreadsheet::readCell(), LotusSpreadsheet::readCell(), QuattroParser::readFieldName(), QuattroSpreadsheet::readFormula(), QuattroDosSpreadsheet::readFormula(), WKS4Spreadsheet::readFormula(), and LotusSpreadsheet::readFormula().

## ◆ m_positionRelative

Vec2b WKSContentListener::FormulaInstruction::m_positionRelative[2]

relative cell position ( if type==F_Cell or F_CellList )

Referenced by FormulaInstruction(), getPropertyList(), operator<<(), LotusSpreadsheet::parseVariable(), QuattroSpreadsheet::readCell(), QuattroDosSpreadsheet::readCell(), WKS4Spreadsheet::readCell(), LotusSpreadsheet::readCell(), QuattroParser::readFieldName(), QuattroSpreadsheet::readFormula(), QuattroDosSpreadsheet::readFormula(), WKS4Spreadsheet::readFormula(), and LotusSpreadsheet::readFormula().

## ◆ m_sheetId

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(), operator<<(), QuattroSpreadsheet::readCell(), QuattroParser::readFieldName(), and QuattroSpreadsheet::readFormula().

## ◆ m_sheetName

librevenge::RVNGString WKSContentListener::FormulaInstruction::m_sheetName[2]

the sheet name

Referenced by getPropertyList(), operator<<(), LotusSpreadsheet::parseVariable(), QuattroSpreadsheet::readCell(), QuattroDosSpreadsheet::readCell(), LotusSpreadsheet::readCell(), QuattroSpreadsheet::readFormula(), QuattroDosSpreadsheet::readFormula(), and LotusSpreadsheet::readFormula().

## ◆ m_type

What WKSContentListener::FormulaInstruction::m_type

the type

Referenced by getPropertyList(), operator<<(), LotusSpreadsheet::parseVariable(), QuattroSpreadsheet::readCell(), QuattroDosSpreadsheet::readCell(), WKS4Spreadsheet::readCell(), LotusSpreadsheet::readCell(), QuattroParser::readFieldName(), QuattroSpreadsheet::readFormula(), QuattroDosSpreadsheet::readFormula(), WKS4Spreadsheet::readFormula(), and LotusSpreadsheet::readFormula().

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

- WKSContentListener.h
- WKSContentListener.cpp