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

Method iter_tcs

src/pptx/oxml/table.py:517–526  ·  view source on GitHub ↗

Generate each `a:tc` element in this range. Cell elements are generated left-to-right, top-to-bottom.

(self)

Source from the content-addressed store, hash-verified

515 yield tr.tc_lst[col_idx]
516
517 def iter_tcs(self):
518 """Generate each `a:tc` element in this range.
519
520 Cell elements are generated left-to-right, top-to-bottom.
521 """
522 return (
523 tc
524 for tr in self._tbl.tr_lst[self._top : self._bottom]
525 for tc in tr.tc_lst[self._left : self._right]
526 )
527
528 def iter_top_row_tcs(self):
529 """Generate each `a:tc` element in topmost row of range."""

Callers 4

contains_merged_cellMethod · 0.95
iter_cellsMethod · 0.45
splitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected