<< Return to Main Index

< Return to Class Index

CGXFormulaSheet::StoreStyleRowCol

virtual BOOL StoreStyleRowCol(ROWCOL nRow, ROWCOL nCol, const CGXStyle* pStyle, GXModifyType mt, int nType = 0);

virtual BOOL StoreStyleRowCol(ROWCOL nRow, ROWCOL nCol, const CGXStyle& style, GXModifyType mt, int nType = 0);

nRow

Specifies the row id.

nCol

Specifies the column id.

pStyle

A pointer to the style-object to be stored.

style

A reference to the style-object to be stored.

mt

Modify-Type: gxOverride, gxApplyNew, gxCopy or gxRemove (see CGXStyle class).

nType

Specifies the type of information to be stored:

Return Value

Always TRUE.

Remarks

Stores the value into the formula engine and attaches additional formatting information if any. If called with nType = GX_VALUE_EXPRESSION the style value will be interpreted (by calling SetExpressionRowCol). Otherwise the style value will be assigned to the cell as text label (by calling SetTextRowCol).

See Also

CGXGridCore::StoreStyleRowCol

CGXFormulaSheet

Class Overview | Class Members