接口 ITableStyle
public interface ITableStyle
Represents a single style that can be applied to a table.
-
方法概要
修饰符和类型方法说明void
delete()
Deletes theITableStyle
object.Duplicates theITableStyle
object and returns a reference to the newcopy.Duplicates theITableStyle
object and returns a reference to the newcopy.getName()
Returns the name of the object.boolean
Gets a pivot style shown as available in the pivot styles gallery .boolean
Gets whether the specified table style is shown as available in the slicer styles gallery.boolean
Gets a table style shown as available in the table styles gallery .Returns theITableStyleElements
object.boolean
Gets whether the style is a built-in style.void
setShowAsAvailablePivotStyle
(boolean value) Sets a pivot style shown as available in the pivot styles gallery .void
setShowAsAvailableSlicerStyle
(boolean value) Sets whether the specified table style is shown as available in the slicer styles gallery.void
setShowAsAvailableTableStyle
(boolean value) Sets a table style shown as available in the table styles gallery .
-
方法详细资料
-
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 theITableStyleElements
object. -
delete
void delete()Deletes theITableStyle
object. -
duplicate
ITableStyle duplicate()Duplicates theITableStyle
object and returns a reference to the newcopy. -
duplicate
Duplicates theITableStyle
object and returns a reference to the newcopy.- 参数:
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 .
-