MCPcopy Create free account
hub / github.com/scanny/python-pptx / new_p_txBody

Method new_p_txBody

src/pptx/oxml/text.py:145–148  ·  view source on GitHub ↗

Return a new `p:txBody` element tree, suitable for use in an `p:sp` element.

(cls)

Source from the content-addressed store, hash-verified

143
144 @classmethod
145 def new_p_txBody(cls):
146 """Return a new `p:txBody` element tree, suitable for use in an `p:sp` element."""
147 xml = cls._p_txBody_tmpl()
148 return parse_xml(xml)
149
150 @classmethod
151 def new_txPr(cls):

Callers 1

_new_txBodyMethod · 0.80

Calls 2

parse_xmlFunction · 0.90
_p_txBody_tmplMethod · 0.80

Tested by

no test coverage detected