Module Expr Str ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return TupleLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign TupleStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Call AttributeLoad NameLoad attr For NameStore Call NameLoad Num BinOpAdd Call NameLoad NameLoad Num body If CompareNotIn NameLoad NameLoad body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad decorator_list
N/A N/A 
|DocumentPart| and closely related objects
 __future__ absolute_import division print_function unicode_literals document Document numbering NumberingPart opc.constants RELATIONSHIP_TYPE RT opc.part XmlPart oxml.shape CT_Inline shape InlineShapes shared lazyproperty styles StylesPart DocumentPart N/A XmlPart N/A N/A 
    Main document part of a WordprocessingML (WML) package, aka a .docx file.
    Acts as broker to other parts such as image, core properties, and style
    parts. It also acts as a convenient delegate when a mid-document object
    needs a service involving a remote ancestor. The `Parented.part` property
    inherited by many content objects provides access to this part object for
    that purpose.
     core_properties N/A N/A self N/A N/A N/A 
        A |CoreProperties| object providing read/write access to the core
        properties of this document.
         N/A N/A N/A self package core_properties N/A property document N/A N/A self N/A N/A N/A 
        A |Document| object providing access to the content of this document.
         N/A N/A Document N/A self _element self N/A property get_or_add_image N/A N/A self image_descriptor N/A N/A N/A 
        Return an (rId, image) 2-tuple for the image identified by
        *image_descriptor*. *image* is an |Image| instance providing access
        to the properties of the image, such as dimensions and image type.
        *rId* is the key for the relationship between this document part and
        the image part, reused if already present, newly created if not.
         N/A image_part N/A N/A N/A N/A self _package image_parts get_or_add_image_part image_descriptor N/A rId N/A N/A self relate_to image_part N/A RT IMAGE N/A N/A rId N/A image_part image N/A get_style N/A N/A self style_id style_type N/A N/A N/A 
        Return the style in this document matching *style_id*. Returns the
        default style for *style_type* if *style_id* is |None| or does not
        match a defined style of *style_type*.
         N/A N/A N/A N/A self styles get_by_id style_id style_type N/A get_style_id N/A N/A self style_or_name style_type N/A N/A N/A 
        Return the style_id (|str|) of the style of *style_type* matching
        *style_or_name*. Returns |None| if the style resolves to the default
        style for *style_type* or if *style_or_name* is itself |None|. Raises
        if *style_or_name* is a style of the wrong type or names a style not
        present in the document.
         N/A N/A N/A N/A self styles get_style_id style_or_name style_type N/A inline_shapes N/A N/A self N/A N/A N/A 
        The |InlineShapes| instance containing the inline shapes in the
        document.
         N/A N/A InlineShapes N/A N/A self _element body self N/A lazyproperty new_pic_inline N/A N/A self image_descriptor width height N/A N/A N/A 
        Return a newly-created `w:inline` element containing the image
        specified by *image_descriptor* and scaled based on the values of
        *width* and *height*.
         N/A N/A rId image N/A N/A self get_or_add_image image_descriptor N/A N/A cx cy N/A N/A image scaled_dimensions width height N/A N/A shape_id filename N/A N/A self next_id N/A image filename N/A N/A N/A CT_Inline new_pic_inline shape_id rId filename cx cy N/A next_id N/A N/A self N/A N/A N/A 
        The next available positive integer id value in this document. Gaps
        in id sequence are filled. The id attribute value is unique in the
        document, without regard to the element type it appears on.
         N/A id_str_lst N/A N/A N/A self _element xpath //@id N/A used_ids N/A N/A int id_str N/A id_str id_str_lst N/A N/A id_str isdigit N/A n N/A range 1 N/A N/A len used_ids 2 N/A N/A N/A n used_ids N/A N/A n N/A property numbering_part N/A N/A self N/A N/A N/A 
        A |NumberingPart| object providing access to the numbering
        definitions for this document. Creates an empty numbering part if one
        is not present.
         N/A N/A N/A N/A N/A self part_related_by N/A RT NUMBERING N/A N/A N/A KeyError N/A N/A numbering_part N/A N/A NumberingPart new N/A N/A N/A self relate_to numbering_part N/A RT NUMBERING N/A numbering_part N/A lazyproperty save N/A N/A self path_or_stream N/A N/A N/A 
        Save this document to *path_or_stream*, which can be either a path to
        a filesystem location (a string) or a file-like object.
         N/A N/A N/A N/A self package save path_or_stream N/A styles N/A N/A self N/A N/A N/A 
        A |Styles| object providing access to the styles in the styles part
        of this document.
         N/A N/A N/A self _styles_part styles N/A property _styles_part N/A N/A self N/A N/A N/A 
        Instance of |StylesPart| for this document. Creates an empty styles
        part if one is not present.
         N/A N/A N/A N/A N/A self part_related_by N/A RT STYLES N/A N/A N/A KeyError N/A N/A styles_part N/A N/A StylesPart default N/A self package N/A N/A N/A self relate_to styles_part N/A RT STYLES N/A styles_part N/A property N/A