ApiStyle
Represents the ApiStyle class.
Methods
| Method | Returns | Description |
|---|---|---|
| GetClassType | "style" | Returns a type of the ApiStyle class. |
| GetConditionalTableStyle | ApiTableStylePr | Returns 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. |
| GetName | string | Returns a name of the current style. |
| GetParaPr | ApiParaPr | Returns the paragraph properties of the current style. |
| GetTableCellPr | ApiTableCellPr | Returns the table cell properties of the current style. |
| GetTablePr | ApiTablePr | Returns the table properties of the current style. |
| GetTableRowPr | ApiTableRowPr | Returns the table row properties of the current style. |
| GetTextPr | ApiTextPr | Returns the text properties of the current style. |
| GetType | StyleType | Returns a type of the current style. |
| SetBasedOn | boolean | Specifies the reference to the parent style which this style inherits from in the style hierarchy. |
| SetConditionalTableStyle | ApiStyle | Sets conditional formatting properties that are applied to table parts matching the specified table style type. |
| SetName | boolean | Sets a name of the current style. |
| SetParaPr | ApiStyle | Sets the paragraph properties to the current style. |
| SetTableCellPr | ApiStyle | Sets the table cell properties to the current style. |
| SetTablePr | ApiStyle | Sets the table properties to the current style. |
| SetTableRowPr | ApiStyle | Sets the table row properties to the current style. |
| SetTextPr | ApiStyle | Sets the text properties to the current style. |
| ToJSON | JSON | Converts the ApiStyle object into the JSON object. |