paper-docxAPI referenceshared
ElementProxy
paper-docx 0.2.0 API reference
Base class for lxml element proxy classes.
An element proxy class is one whose primary responsibilities are fulfilled by manipulating the attributes and child elements of an XML element. They are the most common type of class in python-docx other than custom element (oxml) classes.
ElementProxy(element: BaseOxmlElement, parent: t.ProvidesXmlPart | None = None)Attributes
element
attributeelementThe lxml element proxied by this object.
part
attributepartXmlPartThe package part containing this object.