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

Class CT_Default

src/pptx/opc/oxml.py:64–75  ·  view source on GitHub ↗

` ` element. Specifies the default content type to be applied to a part with the specified extension.

Source from the content-addressed store, hash-verified

62
63
64class CT_Default(BaseOxmlElement):
65 """`<Default>` element.
66
67 Specifies the default content type to be applied to a part with the specified extension.
68 """
69
70 extension: str = RequiredAttribute( # pyright: ignore[reportAssignmentType]
71 "Extension", ST_Extension
72 )
73 contentType: str = RequiredAttribute( # pyright: ignore[reportAssignmentType]
74 "ContentType", ST_ContentType
75 )
76
77
78class CT_Override(BaseOxmlElement):

Callers

nothing calls this directly

Calls 1

RequiredAttributeClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…