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

Class CT_TableCellProperties

src/pptx/oxml/table.py:363–394  ·  view source on GitHub ↗

`a:tcPr` custom element class

Source from the content-addressed store, hash-verified

361
362
363class CT_TableCellProperties(BaseOxmlElement):
364 """`a:tcPr` custom element class"""
365
366 eg_fillProperties = ZeroOrOneChoice(
367 (
368 Choice("a:noFill"),
369 Choice("a:solidFill"),
370 Choice("a:gradFill"),
371 Choice("a:blipFill"),
372 Choice("a:pattFill"),
373 Choice("a:grpFill"),
374 ),
375 successors=("a:headers", "a:extLst"),
376 )
377 anchor: MSO_VERTICAL_ANCHOR | None = OptionalAttribute( # pyright: ignore[reportAssignmentType]
378 "anchor", MSO_VERTICAL_ANCHOR
379 )
380 marL: Length | None = OptionalAttribute( # pyright: ignore[reportAssignmentType]
381 "marL", ST_Coordinate32
382 )
383 marR: Length | None = OptionalAttribute( # pyright: ignore[reportAssignmentType]
384 "marR", ST_Coordinate32
385 )
386 marT: Length | None = OptionalAttribute( # pyright: ignore[reportAssignmentType]
387 "marT", ST_Coordinate32
388 )
389 marB: Length | None = OptionalAttribute( # pyright: ignore[reportAssignmentType]
390 "marB", ST_Coordinate32
391 )
392
393 def _new_gradFill(self):
394 return CT_GradientFillProperties.new_gradFill()
395
396
397class CT_TableCol(BaseOxmlElement):

Callers

nothing calls this directly

Calls 3

ZeroOrOneChoiceClass · 0.90
ChoiceClass · 0.90
OptionalAttributeClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…