Package com.grapecity.documents.excel
Interface ITableStyle
public interface ITableStyle
Represents a single style that can be applied to a table.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Deletes theITableStyleobject.Duplicates theITableStyleobject and returns a reference to the newcopy.Duplicates theITableStyleobject and returns a reference to the newcopy.getName()Returns the name of the object.booleanGets a pivot style shown as available in the pivot styles gallery .booleanGets whether the specified table style is shown as available in the slicer styles gallery.booleanGets a table style shown as available in the table styles gallery .Returns theITableStyleElementsobject.booleanGets whether the style is a built-in style.voidsetShowAsAvailablePivotStyle(boolean value) Sets a pivot style shown as available in the pivot styles gallery .voidsetShowAsAvailableSlicerStyle(boolean value) Sets whether the specified table style is shown as available in the slicer styles gallery.voidsetShowAsAvailableTableStyle(boolean value) Sets a table style shown as available in the table styles gallery .
-
Method Details
-
isBuiltIn
boolean isBuiltIn()Gets whether the style is a built-in style. -
getName
String getName()Returns the name of the object. -
getTableStyleElements
ITableStyleElements getTableStyleElements()Returns theITableStyleElementsobject. -
delete
void delete()Deletes theITableStyleobject. -
duplicate
ITableStyle duplicate()Duplicates theITableStyleobject and returns a reference to the newcopy. -
duplicate
Duplicates theITableStyleobject and returns a reference to the newcopy.- Parameters:
newName- The name of the new table style.
-
getShowAsAvailableSlicerStyle
boolean getShowAsAvailableSlicerStyle()Gets whether the specified table style is shown as available in the slicer styles gallery. -
setShowAsAvailableSlicerStyle
void setShowAsAvailableSlicerStyle(boolean value) Sets whether the specified table style is shown as available in the slicer styles gallery. -
getShowAsAvailableTableStyle
boolean getShowAsAvailableTableStyle()Gets a table style shown as available in the table styles gallery . -
setShowAsAvailableTableStyle
void setShowAsAvailableTableStyle(boolean value) Sets a table style shown as available in the table styles gallery . -
getShowAsAvailablePivotStyle
boolean getShowAsAvailablePivotStyle()Gets a pivot style shown as available in the pivot styles gallery . -
setShowAsAvailablePivotStyle
void setShowAsAvailablePivotStyle(boolean value) Sets a pivot style shown as available in the pivot styles gallery .
-