ParsedStyle

Overview

ParsedStyle is a class in Aspose.Words for Python.

Parsed style information.

Properties

NameTypeAccessDescription
namestrReadStores the style’s identifier as a string
base_styleOptional[str]ReadReturns the name of the style this style inherits from, or None
heading_levelintReadReturns the numeric heading level of the style (e.g., 1 for H1)
is_quoteboolReadIndicates whether the style represents a block quote
quote_levelintReadIndicates the nesting depth of a block quote
is_codeboolReadIs True when the paragraph represents a code block
code_typestrReadReturns the type of code formatting, such as “block” or “inline”
code_languagestrReadReturns the programming language specified for the code block
is_list_paragraphboolReadIndicates if the style is applied to a list paragraph