#include <SHGAPI.H>
Link against:
sheng.lib
This item is not part of the S60 5th Edition SDK
Interface status: |
deprecated |
|
class CShgWorkBook : public CBase;
Description
A spreadsheet engine workbook.
A workbook defines an array of worksheets (CShgWorkSheet
).
Derivation
CBase
-
Base class for all classes to be instantiated on the heap.
CShgWorkBook
- A spreadsheet engine workbook.
Members
Defined in CShgWorkBook
:
Inherited from CBase
:
Construction and destruction
Interface status: |
deprecated |
Inherited from: CShgWorkBook |
virtual ~CShgWorkBook();
Description
Destructor.
Interface status: |
deprecated |
Inherited from: CShgWorkBook |
inline CSheetEngine* SheetEngine() const;
Description
Gets the spreadsheet engine set for this object.
Return value
StoreL(CStreamStore &)const
Interface status: |
deprecated |
Inherited from: CShgWorkBook |
IMPORT_C TStreamId StoreL(CStreamStore &aStore) const;
Description
Stores the object.
Parameters
Return value
RestoreL(const CStreamStore &,TStreamId)
Interface status: |
deprecated |
Inherited from: CShgWorkBook |
IMPORT_C void RestoreL(const CStreamStore &aStore, TStreamId aStreamId);
Description
Restores the object.
Parameters
WorkSheet(const TDesC &)const
Interface status: |
deprecated |
Inherited from: CShgWorkBook |
IMPORT_C CShgWorkSheet* WorkSheet(const TDesC &aName) const;
Description
Gets a worksheet specified by name.
Parameters
const TDesC16 &aName |
Worksheet name
|
|
Return value
Interface status: |
deprecated |
Inherited from: CShgWorkBook |
IMPORT_C CShgWorkSheet* WorkSheet(TInt aWorkSheetNo) const;
Description
Gets a worksheet specified by index.
Parameters
TInt aWorkSheetNo |
Worksheet index
|
|
Return value
SetCurrentWorkSheet(const TDesC &)
Interface status: |
deprecated |
Inherited from: CShgWorkBook |
IMPORT_C void SetCurrentWorkSheet(const TDesC &aName);
Description
Sets the current worksheet.
Parameters
const TDesC16 &aName |
Worksheet name
|
|
Interface status: |
deprecated |
Inherited from: CShgWorkBook |
IMPORT_C CShgWorkSheet* CurrentWorkSheet() const;
Description
Gets the current worksheet.
Return value
CreateWorkSheetL(const TDesC &)
Interface status: |
deprecated |
Inherited from: CShgWorkBook |
IMPORT_C TShgError CreateWorkSheetL(const TDesC &aName);
Description
Creates a new worksheet.
Parameters
const TDesC16 &aName |
Worksheet name
|
|
Return value
DeleteWorkSheetL(const TDesC &)
Interface status: |
deprecated |
Inherited from: CShgWorkBook |
IMPORT_C TShgError DeleteWorkSheetL(const TDesC &aName);
Description
Deletes a worksheet.
Parameters
const TDesC16 &aName |
Worksheet name
|
|
Return value
ChangeNameL(const TDesC &,const TDesC &)
Interface status: |
deprecated |
Inherited from: CShgWorkBook |
IMPORT_C void ChangeNameL(const TDesC &aOldName, const TDesC &aNewName);
Description
Renames a worksheet.
Parameters
const TDesC16 &aOldName |
Current worksheet name
|
const TDesC16 &aNewName |
New worksheet name
|
|
Interface status: |
deprecated |
Inherited from: CShgWorkBook |
IMPORT_C void StartEditOperation();
Description
Marks the start of an edit operation.
Interface status: |
deprecated |
Inherited from: CShgWorkBook |
IMPORT_C void EditOperationComplete();
Description
Marks the completion of an edit operation.
Interface status: |
deprecated |
Inherited from: CShgWorkBook |
IMPORT_C TInt Count() const;
Description
Gets the number of worksheets in the workbook.
Return value
TInt
|
Number of worksheets in the workbook
|
|
WorkSheetNo(const TDesC &)const
Interface status: |
deprecated |
Inherited from: CShgWorkBook |
IMPORT_C TInt WorkSheetNo(const TDesC &aName) const;
Description
Gets the index of a named worksheet.
Parameters
const TDesC16 &aName |
Worksheet name
|
|
Return value
TInt
|
Index of the named worksheet, or KErrNotFound.
|
|
CurrentWorkSheetNo()const
Interface status: |
deprecated |
Inherited from: CShgWorkBook |
IMPORT_C TInt CurrentWorkSheetNo() const;
Description
Gets the index of the current worksheet.
Return value
TInt
|
Index of the current worksheet
|
|
Enum TShgInvalidWorkSheetNameChars
Interface status: |
deprecated |
Inherited from: CShgWorkBook |
TShgInvalidWorkSheetNameChars
Description
Specifies characters that are not allowed in worksheet names.