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

Method add_tab

src/docx/text/run.py:83–86  ·  view source on GitHub ↗

Add a `` `` element at the end of the run, which Word interprets as a tab character.

(self)

Source from the content-addressed store, hash-verified

81 return InlineShape(inline)
82
83 def add_tab(self) -> None:
84 """Add a ``<w:tab/>`` element at the end of the run, which Word interprets as a
85 tab character."""
86 self._r.add_tab()
87
88 def add_text(self, text: str):
89 """Returns a newly appended |_Text| object (corresponding to a new ``<w:t>``

Callers 3

it_can_add_a_tabMethod · 0.95
when_I_add_a_tabFunction · 0.80
add_charMethod · 0.80

Calls

no outgoing calls

Tested by 1

it_can_add_a_tabMethod · 0.76