Provides access to all Features of a Document.
Provide access to all Features of a Document.
Features in an OOXML document are identified in two ways:
For completeness, we use either means of identification, allowing either one to identify a feature.
For example:
>>> part = doc.part_by_name['/word/media/image1.jpeg']
>>> part.content_type()
'image/jpeg'
>>> part.relationships_in()[0].type
'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image'
Content-Types and Relationships are mainly referenced from the OOXML specifications at ISO/IEC:29500-1 15.2 and ISO/IEC:29500-2 13.2.
Variables: |
|
---|