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 retrieved:
Always TRUE.
Stores a style into the cells-array (or formula engine). If called with nType = GX_VALUE_EXPRESSION the style value will be parsed (by calling SetExpressionRoweCol). Otherwise the style value will be assigned to the cell as text label (by calling SetTextRowCol).
Note:
If you don't want to change your existing code (and you don't need formula support at all) you can disable assigning expressions to cells by calling
GXGetAppData()->m_nExpressionValueType = GX_VALUE_TEXT
Class Overview | Class Members