Paper Office
paper-pptxAPI referenceoxml.xmlchemy

BaseAttribute

paper-pptx 0.2.0 API reference

Base class for OptionalAttribute and RequiredAttribute, providing common methods.

BaseAttribute(attr_name: str, simple_type: type[AttributeType])

Functions

populate_class_members

funcpopulate_class_members(element_cls: Type[BaseOxmlElement], prop_name: str)

Add the appropriate methods to element_cls.

paramelement_clsType[BaseOxmlElement]
paramprop_namestr

On this page