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

Method move_content_to_origin

src/pptx/oxml/table.py:534–539  ·  view source on GitHub ↗

Move all paragraphs in range to origin cell.

(self)

Source from the content-addressed store, hash-verified

532 yield tc
533
534 def move_content_to_origin(self):
535 """Move all paragraphs in range to origin cell."""
536 tcs = list(self.iter_tcs())
537 origin_tc = tcs[0]
538 for spanned_tc in tcs[1:]:
539 origin_tc.append_ps_from(spanned_tc)
540
541 @lazyproperty
542 def _bottom(self):

Callers 2

mergeMethod · 0.95

Calls 2

iter_tcsMethod · 0.95
append_ps_fromMethod · 0.80