Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

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

Class CShgName

Interface status: deprecated

class CShgName : public CBase;

Description

A spreadsheet engine name entry.

A name is a user-specified identifier for particular cells, ranges, or values.

Derivation

Members

Defined in CShgName:

Inherited from CBase:


Construction and destruction


~CShgName()

Interface status: deprecated Inherited from: CShgName

virtual ~CShgName();

Description

Destructor.

[Top]


Member functions


Name()const

Interface status: deprecated Inherited from: CShgName

IMPORT_C TPtrC Name() const;

Description

Gets the name identifier.

Return value

TPtrC16

Name identifier


AsTextL(const CShgWorkBook *,TDes &)const

Interface status: deprecated Inherited from: CShgName

IMPORT_C void AsTextL(const CShgWorkBook *aWorkBook, TDes &aDes) const;

Description

Gets the name value as a string.

Where the name value is not a string type, the returned value is an appropriate conversion.

Parameters

const CShgWorkBook *aWorkBook

Workbook containing the name

TDes16 &aDes

On return, the name value as a string


Type()const

Interface status: deprecated Inherited from: CShgName

IMPORT_C TType Type() const;

Description

Gets the name value type.

Return value

CShgName::TType

Name value type


Int()const

Interface status: deprecated Inherited from: CShgName

IMPORT_C TInt32 Int() const;

Description

Gets the value of an integer type name.

Return value

TInt32

Name value


Real()const

Interface status: deprecated Inherited from: CShgName

IMPORT_C TReal64 Real() const;

Description

Gets the value of a real number type name.

Return value

TReal64

Name value


Error()const

Interface status: deprecated Inherited from: CShgName

IMPORT_C TShgCell::TErrorType Error() const;

Description

Gets the error type, if the value results in an error.

Return value

TShgCell::TErrorType

Error


Text()const

Interface status: deprecated Inherited from: CShgName

IMPORT_C const TDesC& Text() const;

Description

Gets the value of a text type name.

Return value

const TDesC16 &

Name value


GetCell(TInt &,TCellRef &)const

Interface status: deprecated Inherited from: CShgName

IMPORT_C void GetCell(TInt &aWorkSheetNo, TCellRef &aCellRef) const;

Description

Gets the value of a cell type name.

Parameters

TInt &aWorkSheetNo

On return, worksheet on which the cell appears

TCellRef &aCellRef

On return, named cell


GetRange(TInt &,TRangeRef &)const

Interface status: deprecated Inherited from: CShgName

IMPORT_C void GetRange(TInt &aWorkSheetNo, TRangeRef &aRangeRef) const;

Description

Gets the value of a cell range type name.

Parameters

TInt &aWorkSheetNo

On return, worksheet on which the cell range appears

TRangeRef &aRangeRef

On return, named cell range


Formula()const

Interface status: deprecated Inherited from: CShgName

IMPORT_C const TDesC8* Formula() const;

Description

Gets the value of a formula type name.

Return value

const TDesC8 *

Name value

[Top]


Member enumerations


Enum TType

Interface status: deprecated Inherited from: CShgName

TType

Description

Defines possible name value types.

EInt

Name refers to an integer.

EReal

Name refers to a real number.

EText

Name refers to a string.

ECell

Name refers to a cell.

ERange

Name refers to a cell range.

EFormula

Name refers to a formula.

EPermanentlyDeleted

Name refers to an item that has been permanently deleted.

EError

Name refers to an item in an error state.