StyleChainResolver

StyleChainResolver

Overview

StyleChainResolver is a class in Aspose.Words FOSS for Python.

Walk the <w:basedOn> graph for a styleId.

This class provides 3 methods for working with StyleChainResolver objects in Python programs. Available methods include: __init__, chain, numPr_from_style. All public members are accessible to any Python application after installing the Aspose.Words FOSS for Python package.

Methods

SignatureDescription
__init__(ctx: ReaderContext)
chain(style_id_or_name: str)list[str]
numPr_from_style(style_id: str)Optional[ET.Element]Find the first <w:numPr> while walking the chain back to root.

See Also