libwps::PocketExcelParserInternal::Cell Struct Reference

a cell More...

Inheritance diagram for libwps::PocketExcelParserInternal::Cell:
WKSContentListener::CellContent

Public Member Functions

 Cell ()
 constructor
Public Member Functions inherited from WKSContentListener::CellContent
 CellContent ()
 constructor
 CellContent (CellContent const &)=default
CellContent & operator= (CellContent const &)=default
 ~CellContent ()
 destructor
bool empty () const
 returns true if the cell has no content
void setValue (long double value)
 sets the double value
bool isValueSet () const
 returns true if the value has been setted
bool hasText () const
 returns true if the text is set

Public Attributes

int m_type
 the cell type: 0 unknown, 1 blank, 2: number, 3:label, 4: error, 5: formula
Format m_format
 the cell format
librevenge::RVNGString m_text
 the cell's text (if label)
librevenge::RVNGString m_formulaText
 the result of a formula as text
Public Attributes inherited from WKSContentListener::CellContent
ContentType m_contentType
 the content type ( by default unknown )
long double m_value
 the cell value
bool m_valueSet
 true if the value has been set
WPSEntry m_textEntry
 the cell string
std::vector< FormulaInstruction > m_formula
 the formula list of instruction

Additional Inherited Members

Public Types inherited from WKSContentListener::CellContent
enum  ContentType {
  C_NONE , C_TEXT , C_NUMBER , C_FORMULA ,
  C_UNKNOWN
}
 the different types of cell's field More...
Static Public Member Functions inherited from WKSContentListener::CellContent
static bool double2Date (long double val, int &Y, int &M, int &D)
 conversion beetween double days since 1900 and date
static bool double2Time (long double val, int &H, int &M, int &S)
 conversion beetween double: second since 0:00 and time

Detailed Description

a cell

Constructor & Destructor Documentation

◆ Cell()

libwps::PocketExcelParserInternal::Cell::Cell ( )
inline

constructor

Member Data Documentation

◆ m_format

Format libwps::PocketExcelParserInternal::Cell::m_format

◆ m_formulaText

librevenge::RVNGString libwps::PocketExcelParserInternal::Cell::m_formulaText

the result of a formula as text

Referenced by Cell().

◆ m_text

librevenge::RVNGString libwps::PocketExcelParserInternal::Cell::m_text

◆ m_type

int libwps::PocketExcelParserInternal::Cell::m_type

the cell type: 0 unknown, 1 blank, 2: number, 3:label, 4: error, 5: formula

Referenced by Cell(), and libwps::PocketExcelParser::readCell().


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

Generated on for libwps by doxygen 1.17.0