Style
Overview
Style is a class in Aspose.Words for Python.
Inherits from: BaseModel.
Style objects encapsulate style metadata including name, type, heading flag, base style name, linked paragraph style, and associated paragraph and font formatting.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | str | Read | Holds the style’s identifier string |
type | int | Read | Returns the integer representing the style’s category |
is_heading | bool | Read | Indicates whether the style is a heading style |
base_style_name | str | Read | Returns the name of the style this style inherits from |
next_paragraph_style_name | str | Read | Gives the name of the style applied to the following paragraph |
paragraph_format | ParagraphFormat | None | Read | Returns the ParagraphFormat object for this style, or None if unavailable |
font | Font | None | Read |