paper-docxAPI referenceopc.oxml
docx.opc.oxml
paper-docx 0.2.0 API reference
Temporary stand-in for main oxml module.
This module came across with the PackageReader transplant. Probably much will get replaced with objects from the pptx.oxml.core and then this module will either get deleted or only hold the package related custom element classes.
ct_namespace
attributect_namespace= element_class_lookup.get_namespace(nsmap['ct'])element_class_lookup
attributeelement_class_lookup= etree.ElementNamespaceClassLookup()nsmap
attributensmap= {'ct': NS.OPC_CONTENT_TYPES, 'pr': NS.OPC_RELATIONSHIPS, 'r': NS.OFC_RELATIONSHIPS}oxml_parser
attributeoxml_parser= etree.XMLParser(remove_blank_text=True, resolve_entities=False)pr_namespace
attributepr_namespace= element_class_lookup.get_namespace(nsmap['pr'])