|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.ms.System.Collections.CollectionBase
com.spire.xls.core.spreadsheet.collections.CollectionExtended
com.spire.xls.core.spreadsheet.collections.XlsPivotTablesCollection
public class XlsPivotTablesCollection
Constructor Summary | |
---|---|
XlsPivotTablesCollection(java.lang.Object parent)
|
Method Summary | |
---|---|
PivotTable |
add(java.lang.String name,
CellRange location,
PivotCache cache)
Adds new pivot table to the collection. |
PivotTablesCollection |
deepClone(XlsWorksheet worksheet,
com.spire.ms.System.Collections.Generic.Dictionary hashWorksheetNames)
|
IPivotTable |
get(int index)
Gets single entry from the collection. |
IPivotTable |
get(java.lang.String name)
Gets single entry from the collection. |
int |
getCount()
Returns number of items in the collection. |
void |
remove(java.lang.String name)
Removes pivot table from the collection. |
void |
removeAt(int index)
Removes piovt table from the collection base on the index. |
Constructor Detail |
---|
public XlsPivotTablesCollection(java.lang.Object parent)
Method Detail |
---|
public int getCount()
getCount
in interface IPivotTables
public IPivotTable get(int index)
get
in interface IPivotTables
index
- Zero-based index of the item to get.
public IPivotTable get(java.lang.String name)
get
in interface IPivotTables
name
- Pivot table name.
public PivotTable add(java.lang.String name, CellRange location, PivotCache cache)
add
in interface IPivotTables
name
- Name of the new pivot tablelocation
- Pivot table location.cache
-
public void remove(java.lang.String name)
remove
in interface IPivotTables
name
- name of the pivot table to remove.public void removeAt(int index)
removeAt
in interface IPivotTables
removeAt
in class com.spire.ms.System.Collections.CollectionBase
index
- public PivotTablesCollection deepClone(XlsWorksheet worksheet, com.spire.ms.System.Collections.Generic.Dictionary hashWorksheetNames)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |