Package com.grapecity.documents.excel
Interface ISlicerCache
public interface ISlicerCache
Represents the current filter state for a slicer and information about which
IPivotCache.-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the filter for slicer, depending on the slicer cache type.voiddelete()Deletes the specified slicer cache and the slicers associated with it.booleanReturns whether the slicer filter state is cleared.booleangetList()True if the slicer cache is for a slicer on a table.getName()Returns the name of the slicer cache.Returns aISlicerPivotTablescollection that contains informationabout the PivotTables the slicer cache is currently filtering.Returns aISlicerItemscollection that contains the collection of allitems in the slicer cache.Returns aISlicerscollection that contains the collection ofISlicerobjects associated with the specifiedISlicerCache.Returns the sort order of the items in the slicer.Returns the name of the data source the slicer is connected to.getTable()Returns aITableobject associated with slicer.voidSets the name of the slicer cache.voidsetSortItems(SlicerSortOrder value) Sets the sort order of the items in the slicer.
-
Method Details
-
getFilterCleared
boolean getFilterCleared()Returns whether the slicer filter state is cleared. -
getList
boolean getList()True if the slicer cache is for a slicer on a table. False otherwise. -
getTable
ITable getTable()Returns aITableobject associated with slicer. -
getName
String getName()Returns the name of the slicer cache. -
setName
Sets the name of the slicer cache. -
getSourceName
String getSourceName()Returns the name of the data source the slicer is connected to. -
getPivotTables
ISlicerPivotTables getPivotTables()Returns aISlicerPivotTablescollection that contains informationabout the PivotTables the slicer cache is currently filtering. -
getSlicerItems
ISlicerItems getSlicerItems()Returns aISlicerItemscollection that contains the collection of allitems in the slicer cache. -
getSlicers
ISlicers getSlicers()Returns aISlicerscollection that contains the collection ofISlicerobjects associated with the specifiedISlicerCache. -
getSortItems
SlicerSortOrder getSortItems()Returns the sort order of the items in the slicer. -
setSortItems
Sets the sort order of the items in the slicer. -
clearAllFilters
void clearAllFilters()Clears the filter for slicer, depending on the slicer cache type. -
delete
void delete()Deletes the specified slicer cache and the slicers associated with it.
-