跳到主要内容

ApiStyle

Represents the ApiStyle class.

Methods

MethodReturnsDescription
GetClassType"style"Returns a type of the ApiStyle class.
GetConditionalTableStyleApiTableStylePrReturns a set of formatting properties which will be conditionally applied to the parts of a table that match the requirement specified in the sType parameter.
GetNamestringReturns a name of the current style.
GetParaPrApiParaPrReturns the paragraph properties of the current style.
GetTableCellPrApiTableCellPrReturns the table cell properties of the current style.
GetTablePrApiTablePrReturns the table properties of the current style.
GetTableRowPrApiTableRowPrReturns the table row properties of the current style.
GetTextPrApiTextPrReturns the text properties of the current style.
GetTypeStyleTypeReturns a type of the current style.
SetBasedOnbooleanSpecifies the reference to the parent style which this style inherits from in the style hierarchy.
SetConditionalTableStyleApiStyleSets conditional formatting properties that are applied to table parts matching the specified table style type.
SetNamebooleanSets a name of the current style.
SetParaPrApiStyleSets the paragraph properties to the current style.
SetTableCellPrApiStyleSets the table cell properties to the current style.
SetTablePrApiStyleSets the table properties to the current style.
SetTableRowPrApiStyleSets the table row properties to the current style.
SetTextPrApiStyleSets the text properties to the current style.
ToJSONJSONConverts the ApiStyle object into the JSON object.