kspread_cluster.h
For every cell in the spread sheet there is a Cell object.
Definition kspread_cell.h:138
Philipp This class defines a pointer map to all cells, which makes access to them more performant and...
Definition kspread_cluster.h:73
Cell * getNextCellDown(int col, int row) const
Retrieves the next used cell below the given col/row pair.
Definition kspread_cluster.cpp:761
Cell * getNextCellRight(int col, int row) const
Retrieves the next used cell to the right of the given col/row pair.
Definition kspread_cluster.cpp:819
Cell * getNextCellLeft(int col, int row) const
Retrieves the next used cell to the left of the given col/row pair.
Definition kspread_cluster.cpp:790
Cell * getLastCellRow(int row) const
Retrieve the last used cell in a given row.
Definition kspread_cluster.cpp:721
Cell * getFirstCellRow(int row) const
Retrieve the first used cell in a given row.
Definition kspread_cluster.cpp:710
void remove(int x, int y)
Removes the cell at the given position, if there is any.
Definition kspread_cluster.cpp:169
void clear()
Removes all cells from the sheet and frees memory that was used for the clusters.
Definition kspread_cluster.cpp:78
bool shiftColumn(const TQPoint &marker)
Moves all cells in the column marker.x() beginning with the one at marker.y() one position downwards.
Definition kspread_cluster.cpp:222
Cell * getNextCellUp(int col, int row) const
Retrieves the next used cell above the given col/row pair.
Definition kspread_cluster.cpp:732
void unshiftColumn(const TQPoint &marker)
Moves all cells in the column marker.x() beginning with the one at marker.y() + 1 one position upward...
Definition kspread_cluster.cpp:228
Cell * getLastCellColumn(int col) const
Retrieve the last used cell in a given column.
Definition kspread_cluster.cpp:699
Cell * getFirstCellColumn(int col) const
Retrieve the first used cell in a given column.
Definition kspread_cluster.cpp:688
bool insertColumn(int col)
Moves all columns beginning with col one position to the right.
Definition kspread_cluster.cpp:370
Value valueRange(int col1, int row1, int col2, int row2) const
Retrieve a range of values stored in a Value.
Definition kspread_cluster.cpp:634
void removeColumn(int col)
Removes all elements from the column and move all columns right of col one position to the left.
Definition kspread_cluster.cpp:526
void insert(Cell *cell, int x, int y)
Inserts a cell at the requested position.
Definition kspread_cluster.cpp:127
