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

Class CT_TextCharacterProperties

lab/cust-elm-classes/main.py:233–256  ·  view source on GitHub ↗

custom element class

Source from the content-addressed store, hash-verified

231
232
233class CT_TextCharacterProperties(ElementBase):
234 """<a:rPr> custom element class"""
235 # child accessors -----------------
236 ln = property(lambda self: _get_child_or_append(self, 'a:ln'))
237
238 # attribute accessors -------------
239 sz = property(lambda self: self.get('sz'),
240 lambda self, value: self.set('sz', value))
241 b = property(lambda self: self.get('b'),
242 lambda self, value: self.set('b', value))
243 i = property(lambda self: self.get('i'),
244 lambda self, value: self.set('i', value))
245 u = property(lambda self: self.get('u'),
246 lambda self, value: self.set('u', value))
247 strike = property(lambda self: self.get('strike'),
248 lambda self, value: self.set('strike', value))
249 kern = property(lambda self: self.get('kern'),
250 lambda self, value: self.set('kern', value))
251 cap = property(lambda self: self.get('cap'),
252 lambda self, value: self.set('cap', value))
253 spc = property(lambda self: self.get('spc'),
254 lambda self, value: self.set('spc', value))
255 baseline = property(lambda self: self.get('baseline'),
256 lambda self, value: self.set('baseline', value))
257
258
259class CT_TextParagraph(ElementBase):

Callers

nothing calls this directly

Calls 2

_get_child_or_appendFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…