a plane: a list of rows map More...
Public Member Functions | |
Plane (int plane) | |
constructor More... | |
int | getPlane () const |
returns the plane More... | |
bool | isEmpty () const |
returns true if the row is empty More... | |
MWAWVec2i | getSpan (MWAWVec2i const &position) const |
returns the span value corresponding to an id More... | |
void | splitRows (MWAWVec2i const &rows) |
split rows if needed, so that we can insert cells correspond to the rows interval More... | |
void | update (Sheet const &sheet, MWAWBox2i const &box, int id, int contentId) |
update the cells content type More... | |
Public Attributes | |
int | m_plane |
the plane More... | |
std::map< MWAWVec2i, Row > | m_rowsToDataMap |
the map rows to data More... | |
std::map< MWAWVec2i, MWAWVec2i > | m_unitedCellMap |
the list of united cell: map from TL cell to RB cell More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, Plane const &plane) |
a plane: a list of rows map
|
inlineexplicit |
constructor
|
inline |
returns the plane
|
inline |
returns the span value corresponding to an id
|
inline |
returns true if the row is empty
|
inline |
split rows if needed, so that we can insert cells correspond to the rows interval
Referenced by RagTime5SpreadsheetInternal::Sheet::setMergedCells(), and update().
|
inline |
update the cells content type
Referenced by RagTime5SpreadsheetInternal::Sheet::setMergedCells(), and RagTime5SpreadsheetInternal::Sheet::setPLCValues().
|
friend |
int RagTime5SpreadsheetInternal::Sheet::Plane::m_plane |
the plane
Referenced by getPlane().
the map rows to data
Referenced by isEmpty(), Plane(), splitRows(), and update().
the list of united cell: map from TL cell to RB cell
Referenced by getSpan(), and RagTime5SpreadsheetInternal::Sheet::setMergedCells().