custom element class
| 203 | |
| 204 | |
| 205 | class CT_TextBody(ElementBase): |
| 206 | """<p:txBody> custom element class""" |
| 207 | def _init(self): |
| 208 | _required_child(self, 'p:bodyPr') |
| 209 | _required_child(self, 'a:p') |
| 210 | |
| 211 | # child accessors ----------------- |
| 212 | bodyPr = property(lambda self: _child(self, 'p:bodyPr')) |
| 213 | p = property(lambda self: _child_list(self, 'a:p')) |
| 214 | lstStyle = property(lambda self: _get_child_or_insert(self, 'a:lstStyle', 1)) |
| 215 | |
| 216 | |
| 217 | class CT_TextBodyProperties(ElementBase): |
nothing calls this directly
no test coverage detected
searching dependent graphs…