Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <SHGCOORD.H>
Link against: sheng.lib
This item is not part of the S60 5th Edition SDK

Class TShgCellRef

Interface status: deprecated

class TShgCellRef;

Description

A cell reference, specifying a cell's row and column, in either absolute or relative terms.

Members

Defined in TShgCellRef:


Construction and destruction


TShgCellRef()

Interface status: deprecated Inherited from: TShgCellRef

inline TShgCellRef();

Description

Default constructor.


TShgCellRef(TInt,TInt,TInt)

Interface status: deprecated Inherited from: TShgCellRef

inline TShgCellRef(TInt aRow, TInt aCol, TInt aWorkSheetNo);

Description

Constructor, specifying absolute cell position.

Parameters

TInt aRow

Cell row

TInt aCol

Cell column

TInt aWorkSheetNo

Cell worksheet


TShgCellRef(const TShgCellRef &)

Interface status: deprecated Inherited from: TShgCellRef

inline TShgCellRef(const TShgCellRef &aCell);

Description

Constructor, copying another cell reference.

Parameters

const TShgCellRef &aCell

Cell reference to copy

[Top]


Member functions


SetRow(TInt)

Interface status: deprecated Inherited from: TShgCellRef

inline void SetRow(TInt aRow);

Description

Sets the cell row.

Parameters

TInt aRow

Cell row


Row()const

Interface status: deprecated Inherited from: TShgCellRef

inline TInt Row() const;

Description

Gets the cell row.

Return value

TInt

Cell row


SetCol(TInt)

Interface status: deprecated Inherited from: TShgCellRef

inline void SetCol(TInt aCol);

Description

Sets the cell column.

Parameters

TInt aCol

Cell column


Col()const

Interface status: deprecated Inherited from: TShgCellRef

inline TInt Col() const;

Description

Gets the cell column.

Return value

TInt

Cell column


SetRowCol(TInt,TInt)

Interface status: deprecated Inherited from: TShgCellRef

inline void SetRowCol(TInt aRow, TInt aCol);

Description

Sets the cell row and column.

Parameters

TInt aRow

Cell row

TInt aCol

Cell column


SetWorkSheetNo(TInt)

Interface status: deprecated Inherited from: TShgCellRef

inline void SetWorkSheetNo(TInt aWorkSheetNo);

Description

Sets the cell worksheet.

Parameters

TInt aWorkSheetNo

Cell worksheet


WorkSheetNo()const

Interface status: deprecated Inherited from: TShgCellRef

inline TInt WorkSheetNo() const;

Description

Gets the cell worksheet.

Return value

TInt

Cell worksheet


AsCellRef()const

Interface status: deprecated Inherited from: TShgCellRef

inline TCellRef AsCellRef() const;

Description

Gets the cell reference converted to a Grid API cell reference.

Return value

TCellRef

Grid API cell reference


IsAbs()const

Interface status: deprecated Inherited from: TShgCellRef

inline TBool IsAbs() const;

Description

Tests if the reference is absolute.

Return value

TBool

True if the reference is absolute


IsRowAbs()const

Interface status: deprecated Inherited from: TShgCellRef

inline TBool IsRowAbs() const;

Description

Tests if the row setting is absolute.

Return value

TBool

True if the row setting is absolute


IsColAbs()const

Interface status: deprecated Inherited from: TShgCellRef

inline TBool IsColAbs() const;

Description

Tests if the column setting is absolute.

Return value

TBool

True if the column setting is absolute


SetRowRel()

Interface status: deprecated Inherited from: TShgCellRef

inline void SetRowRel();

Description

Sets the row setting to be relative.


SetRowAbs()

Interface status: deprecated Inherited from: TShgCellRef

inline void SetRowAbs();

Description

Sets the row setting to be absolute.


SetColRel()

Interface status: deprecated Inherited from: TShgCellRef

inline void SetColRel();

Description

Sets the column setting to be relative.


SetColAbs()

Interface status: deprecated Inherited from: TShgCellRef

inline void SetColAbs();

Description

Sets the column setting to be absolute.


SetWorkSheetExplicit()

Interface status: deprecated Inherited from: TShgCellRef

inline void SetWorkSheetExplicit();

Description

Sets a flag indicating that a worksheet has been set for the cell.


SetWorkSheetNotExplicit()

Interface status: deprecated Inherited from: TShgCellRef

inline void SetWorkSheetNotExplicit();

Description

Sets a flag indicating that a worksheet has not been set for the cell.


IsWorkSheetExplicit()const

Interface status: deprecated Inherited from: TShgCellRef

inline TBool IsWorkSheetExplicit() const;

Description

Tests if a worksheet has been set for the cell.

Return value

TBool

True if a worksheet has been set for the cell


Externalize(CBufBase *)const

Interface status: deprecated Inherited from: TShgCellRef

IMPORT_C void Externalize(CBufBase *aBuf) const;

Description

Externalises the object to a dynamic buffer.

Parameters

CBufBase *aBuf

Buffer to write to.


Externalize(TDes8 &)const

Interface status: deprecated Inherited from: TShgCellRef

IMPORT_C void Externalize(TDes8 &aDes) const;

Description

Externalises the object to a descriptor.

Parameters

TDes8 &aDes

Descriptor to write to


Internalize(const TUint8 *)

Interface status: deprecated Inherited from: TShgCellRef

IMPORT_C TInt Internalize(const TUint8 *aPtr);

Description

Internalises the object from raw memory.

Parameters

const TUint8 *aPtr

Pointer to memory to read

Return value

TInt

Object memory size

[Top]


Member enumerations


Enum anonymous

Interface status: deprecated Inherited from: TShgCellRef

n/a

Description

Constant definition.

EAbsoluteIndicator

Character to use in string references to indicate an absolute reference.