Return a new ``CT_DecimalNumber`` element having tagname `nsptagname` and ``val`` attribute set to `val`.
(cls, nsptagname: str, val: int)
| 19 | |
| 20 | @classmethod |
| 21 | def new(cls, nsptagname: str, val: int): |
| 22 | """Return a new ``CT_DecimalNumber`` element having tagname `nsptagname` and |
| 23 | ``val`` attribute set to `val`.""" |
| 24 | return OxmlElement(nsptagname, attrs={qn("w:val"): str(val)}) |
| 25 | |
| 26 | |
| 27 | class CT_OnOff(BaseOxmlElement): |
nothing calls this directly
no test coverage detected