Paper Office
paper-docxAPI referenceshared

StoryChild

paper-docx 0.2.0 API reference

A document element within a story part.

Story parts include DocumentPart and Header/FooterPart and can contain block items (paragraphs and tables). Items from the block-item subtree occasionally require an ancestor object to provide access to part-level or package-level items like styles or images or to add or drop a relationship.

Provides self._parent attribute to subclasses.

StoryChild(parent: t.ProvidesStoryPart)

Attributes

part

attributepartStoryPart

The package part containing this object.

On this page