Module Expr Str ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias identifier ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad BinOpAdd NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return BinOpMod NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore BinOpMult Str AttributeLoad NameLoad attr Return BinOpMod NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore BinOpMult Str AttributeLoad NameLoad attr Return BinOpMod NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr IfExp CompareEq NameLoad Str NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return Str Return BinOpMod Str AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore BinOpMult Str AttributeLoad NameLoad attr Return BinOpMod NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr TupleLoad TupleLoad Str Str Str Str TupleLoad Str Str Str Str TupleLoad Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpMod Str AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameStore NameStore AttributeLoad NameLoad attr body AugAssignAdd NameStore AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr NameLoad attr NameLoad attr NameLoad attr NameLoad attr Num attr attr AugAssignAdd NameStore Str Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr TupleLoad TupleLoad Str Str TupleLoad Str Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr TupleLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return BinOpMod Str AttributeLoad NameLoad attr Assign NameStore BinOpMod Str AttributeLoad NameLoad attr For TupleStore NameStore NameStore AttributeLoad NameLoad attr body AugAssignAdd NameStore AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr NameLoad attr NameLoad attr Num attr attr For TupleStore NameStore NameStore AttributeLoad NameLoad attr body AugAssignAdd NameStore AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr NameLoad attr NameLoad attr Num attr attr AugAssignAdd NameStore Str Return NameLoad decorator_list NameLoad decorator_list FunctionDef arguments args defaults body Return Call NameLoad decorator_list FunctionDef arguments args defaults body Return Call NameLoad decorator_list FunctionDef arguments args defaults body Return Call NameLoad decorator_list FunctionDef arguments args defaults body Return Call NameLoad decorator_list FunctionDef arguments args defaults body Return Call NameLoad decorator_list
N/A N/A 
Test data for relationship-related unit tests.
 __future__ absolute_import docx.opc.constants RELATIONSHIP_TYPE RT docx.opc.rel Relationships docx.opc.constants NAMESPACE NS docx.opc.oxml parse_xml BaseBuilder N/A object N/A N/A 
    Provides common behavior for all data builders.
     element N/A N/A self N/A N/A N/A Return element based on XML generated by builder N/A N/A parse_xml N/A self xml N/A property with_indent N/A N/A self indent N/A N/A N/A Add integer *indent* spaces at beginning of element XML N/A N/A self _indent indent N/A self N/A N/A RelationshipsBuilder N/A object N/A N/A Builder class for test Relationships N/A partname_tmpls N/A N/A RT SLIDE_MASTER N/A RT SLIDE /ppt/slideMasters/slideMaster%d.xml /ppt/slides/slide%d.xml __init__ N/A N/A self N/A N/A N/A N/A self relationships N/A N/A N/A self next_rel_num 1 N/A N/A self next_partnums N/A N/A _next_partnum N/A N/A self reltype N/A N/A N/A N/A reltype N/A self next_partnums N/A N/A N/A N/A self next_partnums N/A reltype 1 N/A partnum N/A N/A self next_partnums N/A reltype N/A N/A N/A self next_partnums N/A reltype N/A partnum 1 N/A partnum N/A next_rId N/A N/A self N/A N/A N/A rId N/A rId%d N/A self next_rel_num N/A N/A self next_rel_num 1 N/A rId N/A property _next_tuple_partname N/A N/A self reltype N/A N/A N/A partname_tmpl N/A N/A self partname_tmpls N/A reltype N/A partnum N/A N/A self _next_partnum reltype N/A N/A partname_tmpl partnum N/A build N/A N/A self N/A N/A N/A rels N/A Relationships N/A rel N/A self relationships N/A N/A N/A N/A rels add_rel rel N/A rels N/A N/A CT_DefaultBuilder N/A BaseBuilder N/A N/A 
    Test data builder for CT_Default (Default) XML element that appears in
    `[Content_Types].xml`.
     __init__ N/A N/A self N/A N/A N/A Establish instance variables with default values N/A N/A self _content_type application/xml N/A N/A self _extension xml N/A N/A self _indent 0 N/A N/A self _namespace N/A  xmlns="%s" N/A NS OPC_CONTENT_TYPES N/A with_content_type N/A N/A self content_type N/A N/A N/A Set ContentType attribute to *content_type* N/A N/A self _content_type content_type N/A self N/A with_extension N/A N/A self extension N/A N/A N/A Set Extension attribute to *extension* N/A N/A self _extension extension N/A self N/A without_namespace N/A N/A self N/A N/A N/A Don't include an 'xmlns=' attribute N/A N/A self _namespace N/A self N/A xml N/A N/A self N/A N/A N/A Return Default element N/A tmpl %s<Default%s Extension="%s" ContentType="%s"/>
 N/A indent N/A N/A self _indent N/A N/A tmpl N/A indent N/A self _namespace N/A self _extension N/A self _content_type N/A property N/A CT_OverrideBuilder N/A BaseBuilder N/A N/A 
    Test data builder for CT_Override (Override) XML element that appears in
    `[Content_Types].xml`.
     __init__ N/A N/A self N/A N/A N/A Establish instance variables with default values N/A N/A self _content_type app/vnd.type N/A N/A self _indent 0 N/A N/A self _namespace N/A  xmlns="%s" N/A NS OPC_CONTENT_TYPES N/A N/A self _partname /part/name.xml N/A with_content_type N/A N/A self content_type N/A N/A N/A Set ContentType attribute to *content_type* N/A N/A self _content_type content_type N/A self N/A with_partname N/A N/A self partname N/A N/A N/A Set PartName attribute to *partname* N/A N/A self _partname partname N/A self N/A without_namespace N/A N/A self N/A N/A N/A Don't include an 'xmlns=' attribute N/A N/A self _namespace N/A self N/A xml N/A N/A self N/A N/A N/A Return Override element N/A tmpl %s<Override%s PartName="%s" ContentType="%s"/>
 N/A indent N/A N/A self _indent N/A N/A tmpl N/A indent N/A self _namespace N/A self _partname N/A self _content_type N/A property N/A CT_RelationshipBuilder N/A BaseBuilder N/A N/A 
    Test data builder for CT_Relationship (Relationship) XML element that
    appears in .rels files
     __init__ N/A N/A self N/A N/A N/A Establish instance variables with default values N/A N/A self _rId rId9 N/A N/A self _reltype ReLtYpE N/A N/A self _target docProps/core.xml N/A N/A self _target_mode None N/A N/A self _indent 0 N/A N/A self _namespace N/A  xmlns="%s" N/A NS OPC_RELATIONSHIPS N/A with_rId N/A N/A self rId N/A N/A N/A Set Id attribute to *rId* N/A N/A self _rId rId N/A self N/A with_reltype N/A N/A self reltype N/A N/A N/A Set Type attribute to *reltype* N/A N/A self _reltype reltype N/A self N/A with_target N/A N/A self target N/A N/A N/A Set XXX attribute to *target* N/A N/A self _target target N/A self N/A with_target_mode N/A N/A self target_mode N/A N/A N/A Set TargetMode attribute to *target_mode* N/A N/A self _target_mode N/A N/A target_mode Internal None target_mode N/A self N/A without_namespace N/A N/A self N/A N/A N/A Don't include an 'xmlns=' attribute N/A N/A self _namespace N/A self N/A target_mode N/A N/A self N/A N/A N/A N/A N/A self _target_mode None N/A N/A N/A N/A  TargetMode="%s" N/A self _target_mode N/A property xml N/A N/A self N/A N/A N/A Return Relationship element N/A tmpl %s<Relationship%s Id="%s" Type="%s" Target="%s"%s/>
 N/A indent N/A N/A self _indent N/A N/A tmpl N/A indent N/A self _namespace N/A self _rId N/A self _reltype N/A self _target N/A self target_mode N/A property N/A CT_RelationshipsBuilder N/A BaseBuilder N/A N/A 
    Test data builder for CT_Relationships (Relationships) XML element, the
    root element in .rels files.
     __init__ N/A N/A self N/A N/A N/A Establish instance variables with default values N/A N/A self _rels N/A N/A rId1 http://reltype1 docProps/core.xml Internal N/A rId2 http://linktype http://some/link External N/A rId3 http://reltype2 ../slides/slide1.xml Internal N/A xml N/A N/A self N/A N/A N/A 
        Return XML string based on settings accumulated via method calls.
         N/A xml N/A <Relationships xmlns="%s">
 N/A NS OPC_RELATIONSHIPS N/A N/A rId reltype target target_mode N/A self _rels N/A N/A xml N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A a_Relationship with_rId rId with_reltype reltype with_target target with_target_mode target_mode with_indent 2 without_namespace xml N/A xml </Relationships>
 N/A xml N/A property N/A CT_TypesBuilder N/A BaseBuilder N/A N/A 
    Test data builder for CT_Types (<Types>) XML element, the root element in
    [Content_Types].xml files
     __init__ N/A N/A self N/A N/A N/A Establish instance variables with default values N/A N/A self _defaults N/A N/A xml application/xml N/A jpeg image/jpeg N/A N/A self _empty False N/A N/A self _overrides N/A N/A /docProps/core.xml app/vnd.type1 N/A /ppt/presentation.xml app/vnd.type2 N/A /docProps/thumbnail.jpeg image/jpeg N/A empty N/A N/A self N/A N/A N/A N/A self _empty True N/A self N/A xml N/A N/A self N/A N/A N/A 
        Return XML string based on settings accumulated via method calls
         N/A N/A self _empty N/A N/A N/A <Types xmlns="%s"/>
 N/A NS OPC_CONTENT_TYPES N/A xml N/A <Types xmlns="%s">
 N/A NS OPC_CONTENT_TYPES N/A N/A extension content_type N/A self _defaults N/A N/A xml N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A a_Default with_extension extension with_content_type content_type with_indent 2 without_namespace xml N/A N/A partname content_type N/A self _overrides N/A N/A xml N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A an_Override with_partname partname with_content_type content_type with_indent 2 without_namespace xml N/A xml </Types>
 N/A xml N/A property N/A a_Default N/A N/A N/A N/A N/A N/A CT_DefaultBuilder N/A a_Relationship N/A N/A N/A N/A N/A N/A CT_RelationshipBuilder N/A a_Relationships N/A N/A N/A N/A N/A N/A CT_RelationshipsBuilder N/A a_Types N/A N/A N/A N/A N/A N/A CT_TypesBuilder N/A an_Override N/A N/A N/A N/A N/A N/A CT_OverrideBuilder N/A