Paper Office
paper-docxAPI referenceopc.oxml

CT_Override

paper-docx 0.2.0 API reference

<Override> element, specifying the content type to be applied for a part with the specified partname.

Attributes

content_type

attributecontent_type

String held in the ContentType attribute of this <Override> element.

partname

attributepartname

String held in the PartName attribute of this <Override> element.

xml

attributexmlstr

Return XML string for this element, suitable for testing purposes.

Pretty printed for readability and without an XML declaration at the top.

Functions

new

funcnew(partname, content_type)

Return a new <Override> element with attributes set to parameter values.

parampartname
paramcontent_type

On this page