a struct to store what a cell contains More...
Public Types | |
enum | IdPosition { Value =0, Union, GraphicStyle, TextStyle, BorderPrevVStyle, BorderNextVStyle, BorderPrevHStyle, BorderNextHStyle } |
enum to define the id position More... | |
Public Member Functions | |
CellContent (MWAWVec2i const &pos, int plane) | |
constructor More... | |
bool | isMergedCell () const |
returns true if the cell is merged More... | |
void | setContent (int id, int contentId) |
sets the cell content More... | |
bool | hasContent () const |
returns true if the cell has no id or is merged More... | |
Public Attributes | |
MWAWVec2i | m_position |
the cell position More... | |
int | m_plane |
the cell plane More... | |
bool | m_isMerged |
a flag to know if the cell is merged More... | |
int | m_id [8] |
the list of id More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, CellContent const &cell) |
small operator<< More... | |
a struct to store what a cell contains
|
inline |
constructor
|
inline |
returns true if the cell has no id or is merged
|
inline |
returns true if the cell is merged
Referenced by RagTime5Spreadsheet::send().
|
inline |
sets the cell content
Referenced by RagTime5SpreadsheetInternal::Sheet::Row::update().
|
friend |
small operator<<
int RagTime5SpreadsheetInternal::CellContent::m_id[8] |
the list of id
Referenced by CellContent(), hasContent(), RagTime5Spreadsheet::send(), setContent(), and RagTime5SpreadsheetInternal::Sheet::Row::splitColumns().
bool RagTime5SpreadsheetInternal::CellContent::m_isMerged |
a flag to know if the cell is merged
Referenced by hasContent(), isMergedCell(), RagTime5SpreadsheetInternal::Sheet::Row::splitColumns(), and RagTime5SpreadsheetInternal::Sheet::Row::update().
int RagTime5SpreadsheetInternal::CellContent::m_plane |
the cell plane
Referenced by RagTime5Spreadsheet::send().
MWAWVec2i RagTime5SpreadsheetInternal::CellContent::m_position |
the cell position
Referenced by RagTime5Spreadsheet::send(), RagTime5SpreadsheetInternal::Sheet::Row::splitColumns(), and RagTime5SpreadsheetInternal::Sheet::Row::update().