kspread_cell.h
275 // Note: This used to remove any links from this cell to other cells. However, this caused a problem
295 TQDomElement save( TQDomDocument& doc, int _x_offset = 0, int _y_offset = 0, bool force = false, bool copy = false, bool era = false );
316 bool loadOasis( const TQDomElement & element, KoOasisLoadingContext &oasisContext , Style* style);
350 Border_SizeGrip =0x10 //the size grip is the little square on the bottom right-hand corner of a highlighted range of cells
796 TQString pasteOperation( const TQString &new_text, const TQString &old_text, Paste::Operation op );
double dblHeight(int _row=-1, const Canvas *_canvas=0L) const
Definition kspread_cell.cpp:4218
void setLayoutDirtyFlag(bool format=false)
Causes the format to be recalculated when the cell is drawn next time.
Definition kspread_cell.cpp:762
const TQPen & effBottomBorderPen(int col, int row) const
Definition kspread_cell.cpp:4437
TQString encodeFormula(bool _era=false, int _col=-1, int _row=-1) const
encode a formula into a text representation
Definition kspread_cell.cpp:952
TQValueList< Conditional > conditionList() const
Gets a copy of the list of current conditions.
Definition kspread_cell.cpp:7228
void setRightBorderPen(const TQPen &p)
Definition kspread_cell.cpp:4305
TQValueList< Cell * > obscuringCells() const
Definition kspread_cell.cpp:908
const TQPen & topBorderPen(int col, int row) const
Definition kspread_cell.cpp:4367
void setConditionList(const TQValueList< Conditional > &newList)
Replace the old set of conditions with a new one.
Definition kspread_cell.cpp:7239
void paintCell(const KoRect &rect, TQPainter &painter, View *view, const KoPoint &coordinate, const TQPoint &cellRef, int paintBorder, TQPen &rightPen, TQPen &bottomPen, TQPen &leftPen, TQPen &topPen, TQValueList< TQPoint > &mergedCellsPainted, bool drawCursor=true)
Paints the cell.
Definition kspread_cell.cpp:2136
void sheetDies()
This method notifies the cell that the parent sheet is being deleted.
Definition kspread_cell.cpp:7062
bool isEmpty() const
Returns true if this cell has no content, i.e no text and no formula.
Definition kspread_cell.cpp:822
void setCellValue(const Value &value, FormatType fmtType=No_format, const TQString &inputText=TQString())
Sets the value for this cell and its formatting and input text, if appropriate.
Definition kspread_cell.cpp:516
TQString pasteOperation(const TQString &new_text, const TQString &old_text, Paste::Operation op)
Merges the new_text with old_text during a paste operation.
Definition kspread_cell.cpp:6942
void calculateTextParameters(TQPainter &painter, int _col, int _row)
Calculates the text parameters stored in cell Applies font to use to painter.
Definition kspread_cell.cpp:2023
const TQPen & effFallDiagonalPen(int col, int row) const
Definition kspread_cell.cpp:4463
Cell * ultimateObscuringCell() const
Return the cell that is obscuring this one (merged cells only).
Definition kspread_cell.cpp:875
uint effRightBorderValue(int col, int row) const
Definition kspread_cell.cpp:4488
const TQPen & effTopBorderPen(int col, int row) const
Definition kspread_cell.cpp:4405
void setDisplayText(const TQString &_text)
Sets the text in the cell when the user inputs it.
Definition kspread_cell.cpp:4654
const TQPen & leftBorderPen(int col, int row) const
Definition kspread_cell.cpp:4343
const TQPen & effRightBorderPen(int col, int row) const
Definition kspread_cell.cpp:4421
void obscure(Cell *cell, bool isForcing=false)
Tells this cell that the Cell 'cell' obscures this one.
Definition kspread_cell.cpp:925
bool loadOasis(const TQDomElement &element, KoOasisLoadingContext &oasisContext, Style *style)
Loads a cell from an OASIS XML element.
Definition kspread_cell.cpp:5686
uint effLeftBorderValue(int col, int row) const
Definition kspread_cell.cpp:4503
uint effTopBorderValue(int col, int row) const
Definition kspread_cell.cpp:4518
int height(int _row=-1, const Canvas *_canvas=0L) const
Definition kspread_cell.cpp:4239
TQDomElement save(TQDomDocument &doc, int _x_offset=0, int _y_offset=0, bool force=false, bool copy=false, bool era=false)
Save this cell.
Definition kspread_cell.cpp:5151
TQString saveOasisCellStyle(KoGenStyle ¤tCellStyle, KoGenStyles &mainStyles)
Definition kspread_cell.cpp:5372
const TQPen & bottomBorderPen(int col, int row) const
Definition kspread_cell.cpp:4355
void setCellText(const TQString &_text, bool asString=false)
The high-level method for setting text, when the user inputs it.
Definition kspread_cell.cpp:4621
const TQPen & effLeftBorderPen(int col, int row) const
Definition kspread_cell.cpp:4389
void setBottomBorderPen(const TQPen &p)
Definition kspread_cell.cpp:4318
void NotifyDepending(int col, int row, Sheet *sheet, bool isDepending)
Notify this cell that another cell is depending, or no longer depending on this cell's value.
void makeLayout(TQPainter &_painter, int _col, int _row)
Calculates the layout of the cell, i,e, determines what should be shown for this cell,...
Definition kspread_cell.cpp:1221
double dblWidth(int _col=-1, const Canvas *_canvas=0L) const
Definition kspread_cell.cpp:4192
uint effBottomBorderValue(int col, int row) const
Definition kspread_cell.cpp:4473
void mergeCells(int _col, int _row, int _x, int _y)
Merge a number of cells, i.e.
Definition kspread_cell.cpp:676
void unobscure(Cell *cell)
Tells this cell that it is no longer obscured.
Definition kspread_cell.cpp:944
void copyFormat(const int column, const int row)
Copyies the format from the cell at the position (_column|_row).
Definition kspread_cell.cpp:575
const TQPen & rightBorderPen(int col, int row) const
Definition kspread_cell.cpp:4331
const TQBrush & backGroundBrush(int col, int row) const
Definition kspread_cell.cpp:4251
bool isDefault() const
Returns true if this is a default cell (with row and column equal to zero).
Definition kspread_cell.cpp:328
const TQColor & bgColor(int col, int row) const
Definition kspread_cell.cpp:4262
bool isPartOfMerged() const
If this cell is part of a merged cell, then the marker may never reside on this cell.
Definition kspread_cell.cpp:842
bool isDate() const
returns true, if cell format is of date type or content is a date
Definition kspread_cell.cpp:4975
bool isTime() const
returns true, if cell format is of time type or content is a time
Definition kspread_cell.cpp:4983
const TQPen & effGoUpDiagonalPen(int col, int row) const
Definition kspread_cell.cpp:4453
bool testValidity() const
return true if value is good else show a messagebox
Definition kspread_cell.cpp:4726
void setLeftBorderPen(const TQPen &p)
Definition kspread_cell.cpp:4280
int width(int _col=-1, const Canvas *_canvas=0L) const
Definition kspread_cell.cpp:4213
