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

Method new_a_txBody

src/pptx/oxml/text.py:135–142  ·  view source on GitHub ↗

Return a new `a:txBody` element tree. Suitable for use in a table cell and possibly other situations.

(cls)

Source from the content-addressed store, hash-verified

133
134 @classmethod
135 def new_a_txBody(cls) -> CT_TextBody:
136 """Return a new `a:txBody` element tree.
137
138 Suitable for use in a table cell and possibly other situations.
139 """
140 xml = cls._a_txBody_tmpl()
141 txBody = cast(CT_TextBody, parse_xml(xml))
142 return txBody
143
144 @classmethod
145 def new_p_txBody(cls):

Callers 1

_new_txBodyMethod · 0.80

Calls 2

parse_xmlFunction · 0.90
_a_txBody_tmplMethod · 0.80

Tested by

no test coverage detected