|
|
|
|
Location:
SHGAPI.H
Link against: sheng.lib
class CShgName : public CBase;
A spreadsheet engine name entry.
A name is a user-specified identifier for particular cells, ranges, or values.
CBase - Base class for all classes to be instantiated on the heap
CShgName - A spreadsheet engine name entry
Defined in CShgName:
AsTextL(), ECell, EError, EFormula, EInt, EPermanentlyDeleted, ERange, EReal, EText, Error(), Formula(), GetCell(), GetRange(), Int(), Name(), Real(), TType, Text(), Type(), ~CShgName()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
IMPORT_C TPtrC Name() const;
Gets the name identifier.
|
IMPORT_C void AsTextL(const CShgWorkBook *aWorkBook, TDes &aDes) const;
Gets the name value as a string.
Where the name value is not a string type, the returned value is an appropriate conversion.
|
IMPORT_C TType Type() const;
Gets the name value type.
|
IMPORT_C TInt32 Int() const;
Gets the value of an integer type name.
|
IMPORT_C TReal64 Real() const;
Gets the value of a real number type name.
|
IMPORT_C TShgCell::TErrorType Error() const;
Gets the error type, if the value results in an error.
|
IMPORT_C const TDesC &Text() const;
Gets the value of a text type name.
|
IMPORT_C void GetCell(TInt &aWorkSheetNo, TCellRef &aCellRef) const;
Gets the value of a cell type name.
|
IMPORT_C void GetRange(TInt &aWorkSheetNo, TRangeRef &aRangeRef) const;
Gets the value of a cell range type name.
|
IMPORT_C const TDesC8 *Formula() const;
Gets the value of a formula type name.
|
TType
Defines possible name value types.
|