a row: a list of cell map More...
Public Member Functions | |
Row (MWAWVec2i const &row, int plane) | |
constructor More... | |
MWAWVec2i const & | getRows () const |
returns the rows More... | |
bool | isEmpty () const |
returns true if the row is empty More... | |
void | splitColumns (MWAWVec2i const &cols) |
split columns if needed, so that we can insert cells correspond to the cols interval More... | |
void | update (MWAWVec2i const &cols, int id, int contentId, MWAWVec2i const &beginCellPos, std::set< MWAWVec2i > &unsetCell) |
update the cells content type More... | |
void | resetMinRow (int row) |
reset each row's cell position to new row position More... | |
Public Attributes | |
MWAWVec2i | m_rows |
the rows (min-max) More... | |
std::map< MWAWVec2i, CellContent > | m_columnsToDataMap |
the map columns to data More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, Row const &row) |
a row: a list of cell map
|
inline |
constructor
|
inline |
returns the rows
|
inline |
returns true if the row is empty
|
inline |
reset each row's cell position to new row position
Referenced by RagTime5SpreadsheetInternal::Sheet::Plane::splitRows().
|
inline |
split columns if needed, so that we can insert cells correspond to the cols interval
Referenced by update().
|
inline |
update the cells content type
|
friend |
std::map<MWAWVec2i, CellContent> RagTime5SpreadsheetInternal::Sheet::Row::m_columnsToDataMap |
the map columns to data
Referenced by isEmpty(), resetMinRow(), Row(), splitColumns(), update(), and RagTime5SpreadsheetInternal::Sheet::Plane::update().
MWAWVec2i RagTime5SpreadsheetInternal::Sheet::Row::m_rows |
the rows (min-max)
Referenced by getRows(), Row(), and RagTime5SpreadsheetInternal::Sheet::Plane::splitRows().