Inherits CollectionBase.
|
virtual bool | IsRefreshAllConnections ()=0 |
| Indicates whether refresh all connections on opening file in MS Excel. More...
|
|
virtual void | SetRefreshAllConnections (bool value)=0 |
| Indicates whether refresh all connections on opening file in MS Excel. More...
|
|
virtual intrusive_ptr< Aspose::Cells::IRange > | CreateIRange (intrusive_ptr< Aspose::Cells::Systems::String > address, Aspose::Cells::Systems::Int32 sheetIndex)=0 |
| Creates a IRange object from an address of the range. More...
|
|
virtual intrusive_ptr< Aspose::Cells::INameCollection > | GetINames ()=0 |
| Gets the collection of all the Name objects in the spreadsheet. More...
|
|
virtual intrusive_ptr< Aspose::Cells::IWorksheet > | GetObjectByIndex (Aspose::Cells::Systems::Int32 index)=0 |
| Gets the IWorksheet element at the specified index. More...
|
|
virtual intrusive_ptr< Aspose::Cells::IWorksheet > | GetObjectByIndex (intrusive_ptr< Aspose::Cells::Systems::String > sheetName)=0 |
| Gets the IWorksheet element with the specified name. More...
|
|
virtual intrusive_ptr< Aspose::Cells::IWorksheet > | GetISheetByCodeName (intrusive_ptr< Aspose::Cells::Systems::String > codeName)=0 |
| Gets the worksheet by the code name. More...
|
|
virtual intrusive_ptr< Aspose::Cells::Systems::String > | GetActiveSheetName ()=0 |
| Represents the name of active worksheet when the spreadsheet is opened. More...
|
|
virtual void | SetActiveSheetName (intrusive_ptr< Aspose::Cells::Systems::String > value)=0 |
| Represents the name of active worksheet when the spreadsheet is opened. More...
|
|
virtual Aspose::Cells::Systems::Int32 | GetActiveSheetIndex ()=0 |
| Represents the index of active worksheet when the spreadsheet is opened. More...
|
|
virtual void | SetActiveSheetIndex (Aspose::Cells::Systems::Int32 value)=0 |
| Represents the index of active worksheet when the spreadsheet is opened. More...
|
|
virtual void | SortNames ()=0 |
| Sorts defined names. More...
|
|
virtual intrusive_ptr< Aspose::Cells::IWorksheet > | InsertIWorksheet (Aspose::Cells::Systems::Int32 index, Aspose::Cells::SheetType sheetType)=0 |
| Insert a worksheet. More...
|
|
virtual intrusive_ptr< Aspose::Cells::IWorksheet > | InsertIWorksheet (Aspose::Cells::Systems::Int32 index, Aspose::Cells::SheetType sheetType, intrusive_ptr< Aspose::Cells::Systems::String > sheetName)=0 |
| Insert a worksheet. More...
|
|
virtual Aspose::Cells::Systems::Int32 | Add (Aspose::Cells::SheetType type)=0 |
| Adds a worksheet to the collection. More...
|
|
virtual void | SwapSheet (Aspose::Cells::Systems::Int32 sheetIndex1, Aspose::Cells::Systems::Int32 sheetIndex2)=0 |
| Swaps the two sheets. More...
|
|
virtual Aspose::Cells::Systems::Int32 | Add ()=0 |
| Adds a worksheet to the collection. More...
|
|
virtual intrusive_ptr< Aspose::Cells::IWorksheet > | AddIWorksheet (intrusive_ptr< Aspose::Cells::Systems::String > sheetName)=0 |
| Adds a worksheet to the collection. More...
|
|
virtual Aspose::Cells::Systems::Int32 | RegisterAddInFunction (intrusive_ptr< Aspose::Cells::Systems::String > addInFile, intrusive_ptr< Aspose::Cells::Systems::String > functionName, bool lib)=0 |
| Adds addin function into the workbook More...
|
|
virtual intrusive_ptr< Aspose::Cells::Systems::String > | RegisterAddInFunction (Aspose::Cells::Systems::Int32 id, intrusive_ptr< Aspose::Cells::Systems::String > functionName)=0 |
| Adds addin function into the workbook More...
|
|
virtual void | RemoveAt (intrusive_ptr< Aspose::Cells::Systems::String > name)=0 |
| Removes the element at a specified name. More...
|
|
virtual void | RemoveAt (Aspose::Cells::Systems::Int32 index)=0 |
| Removes the element at a specified index. More...
|
|
virtual void | Clear ()=0 |
| Clear all worksheets. More...
|
|
virtual Aspose::Cells::Systems::Int32 | AddCopy (intrusive_ptr< Aspose::Cells::Systems::String > sheetName)=0 |
| Adds a worksheet to the collection and copies data from an existed worksheet. More...
|
|
virtual Aspose::Cells::Systems::Int32 | AddCopy (Aspose::Cells::Systems::Int32 sheetIndex)=0 |
| Adds a worksheet to the collection and copies data from an existed worksheet. More...
|
|
virtual intrusive_ptr< Aspose::Cells::IRange > | GetIRangeByName (intrusive_ptr< Aspose::Cells::Systems::String > rangeName)=0 |
| Gets Range object by pre-defined name. More...
|
|
virtual intrusive_ptr< Aspose::Cells::IRange > | GetIRangeByName (intrusive_ptr< Aspose::Cells::Systems::String > rangeName, Aspose::Cells::Systems::Int32 currentSheetIndex, bool includeTable)=0 |
| Gets IRange by pre-defined name or table's name More...
|
|
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::IRange * > > | GetNamedIRanges ()=0 |
| Gets all pre-defined named ranges in the spreadsheet. More...
|
|
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::IRange * > > | GetNamedIRangesAndTables ()=0 |
| Gets all pre-defined named ranges in the spreadsheet. More...
|
|
virtual intrusive_ptr< Aspose::Cells::Properties::IBuiltInDocumentPropertyCollection > | GetIBuiltInDocumentProperties ()=0 |
| Returns a DocumentProperties collection that represents all the built-in document properties of the spreadsheet. More...
|
|
virtual intrusive_ptr< Aspose::Cells::Properties::ICustomDocumentPropertyCollection > | GetICustomDocumentProperties ()=0 |
| Returns an ICustomDocumentPropertyCollection that represents all the custom document properties of the spreadsheet. More...
|
|
virtual intrusive_ptr< Aspose::Cells::Systems::Object > | GetOleSize ()=0 |
| Gets and Sets displayed size when Workbook file is used as an Ole object. More...
|
|
virtual void | SetOleSize (intrusive_ptr< Aspose::Cells::Systems::Object > value)=0 |
| Gets and Sets displayed size when Workbook file is used as an Ole object. More...
|
|
virtual void | SetOleSize (Aspose::Cells::Systems::Int32 startRow, Aspose::Cells::Systems::Int32 endRow, Aspose::Cells::Systems::Int32 startColumn, Aspose::Cells::Systems::Int32 endColumn)=0 |
| Sets displayed size when Workbook file is used as an Ole object. More...
|
|
virtual intrusive_ptr< Aspose::Cells::IExternalLinkCollection > | GetIExternalLinks ()=0 |
| Represents external links in a workbook. More...
|
|
virtual void | ClearPivottables ()=0 |
| Clears pivot tables from the spreadsheet. More...
|
|
virtual void | RefreshPivotTables ()=0 |
| Refreshes all the PivotTables in the WorksheetCollection. More...
|
|
Encapsulates a collection of IWorksheet objects.
[C++]
intrusive_ptr<Aspose::Cells::IWorksheetCollection> sheets = workbook->GetIWorksheets();
sheets->Add();
sheets->GetObjectByIndex(0)->SetName(new Aspose::Cells::Systems::String("First Sheet"));
sheets->SetActiveSheetIndex(1);