MCPcopy Index your code
hub / github.com/python-openxml/python-docx / _inline_xml

Method _inline_xml

src/docx/oxml/shape.py:106–118  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

104
105 @classmethod
106 def _inline_xml(cls):
107 return (
108 "<wp:inline %s>\n"
109 ' <wp:extent cx="914400" cy="914400"/>\n'
110 ' <wp:docPr id="666" name="unnamed"/>\n'
111 " <wp:cNvGraphicFramePr>\n"
112 ' <a:graphicFrameLocks noChangeAspect="1"/>\n'
113 " </wp:cNvGraphicFramePr>\n"
114 " <a:graphic>\n"
115 ' <a:graphicData uri="URI not set"/>\n'
116 " </a:graphic>\n"
117 "</wp:inline>" % nsdecls("wp", "a", "pic", "r")
118 )
119
120
121class CT_NonVisualDrawingProps(BaseOxmlElement):

Callers 1

newMethod · 0.80

Calls 1

nsdeclsFunction · 0.90

Tested by

no test coverage detected