custom element class
| 215 | |
| 216 | |
| 217 | class CT_TextBodyProperties(ElementBase): |
| 218 | """<a:bodyPr> custom element class""" |
| 219 | # child accessors ----------------- |
| 220 | spAutoFit = property(lambda self: _get_child_or_append(self, 'a:spAutoFit')) |
| 221 | |
| 222 | # attribute accessors ------------- |
| 223 | wrap = property(lambda self: self.get('wrap'), |
| 224 | lambda self, value: self.set('wrap', value)) |
| 225 | rtlCol = property(lambda self: self.get('rtlCol'), |
| 226 | lambda self, value: self.set('rtlCol', value)) |
| 227 | anchor = property(lambda self: self.get('anchor'), |
| 228 | lambda self, value: self.set('anchor', value)) |
| 229 | anchorCtr = property(lambda self: self.get('anchorCtr'), |
| 230 | lambda self, value: self.set('anchorCtr', value)) |
| 231 | |
| 232 | |
| 233 | class CT_TextCharacterProperties(ElementBase): |
nothing calls this directly
no test coverage detected
searching dependent graphs…