Paper Office
paper-pptxAPI referenceshared

ParentedElementProxy

paper-pptx 0.2.0 API reference

Provides access to ancestor objects and part.

An ancestor may occasionally be required to provide a service, such as add or drop a relationship. Provides the :attr:_parent attribute to subclasses and the public :attr:parent read-only property.

ParentedElementProxy(element: BaseOxmlElement, parent: ProvidesPart)

Attributes

element

attributeelement

The lxml element proxied by this object.

parent

attributeparent

The ancestor proxy object to this one.

For example, the parent of a shape is generally the SlideShapes object that contains it.

part

attributepartXmlPart

The package part containing this object.

On this page