Package com.grapecity.documents.excel
Interface IPivotTables
- All Superinterfaces:
Iterable<IPivotTable>
表示指定工作表上所有数据透视表对象的集合。
-
Method Summary
Modifier and TypeMethodDescriptionadd(IPivotCache PivotCache, IRange TableDestination) 添加一个新的数据透视表报告。add(IPivotCache PivotCache, IRange TableDestination, String TableName) 添加一个新的数据透视表报告。get(int index) 返回集合中的单个对象。返回集合中的一个单一对象。intgetCount()返回集合中的对象数量。Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getCount
int getCount()返回集合中的对象数量。 -
add
添加一个新的数据透视表报告。- Parameters:
PivotCache- 数据透视表缓存,新的数据透视表报告基于此缓存。该缓存为报告提供数据。TableDestination- 数据透视表报告目标范围左上角的单元格(即在工作表上放置结果报告的范围)。您必须指定一个包含由表达式指定的PivotTables对象的工作表上的目标范围。- Returns:
- 数据透视表对象
-
add
添加一个新的数据透视表报告。- Parameters:
PivotCache- 数据透视表缓存,新的数据透视表报告基于此缓存。该缓存为报告提供数据。TableDestination- 数据透视表报告目标范围的左上角单元格(即工作表中放置生成报告的范围)。您必须在包含由表达式指定的数据透视表对象的工作表上指定一个目标范围。TableName- 新数据透视表报告的名称。- Returns:
- 数据透视表对象
-
get
返回集合中的单个对象。- Parameters:
index- 对象的索引编号。
-
get
返回集合中的一个单一对象。- Parameters:
name- 对象的名称。
-