a cell More...
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 | |
a cell
|
inline |
constructor
| Format libwps::PocketExcelParserInternal::Cell::m_format |
the cell format
Referenced by Cell(), libwps::PocketExcelParser::readCell(), and libwps::PocketExcelParser::sendCellContent().
| librevenge::RVNGString libwps::PocketExcelParserInternal::Cell::m_formulaText |
the result of a formula as text
Referenced by Cell().
| librevenge::RVNGString libwps::PocketExcelParserInternal::Cell::m_text |
the cell's text (if label)
Referenced by Cell(), libwps::PocketExcelParser::readCell(), and libwps::PocketExcelParser::sendCellContent().
| 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().