Return a new `` `` element having numId of `num_id` and having a `` `` child with val attribute set to `abstractNum_id`.
(cls, num_id, abstractNum_id)
| 28 | |
| 29 | @classmethod |
| 30 | def new(cls, num_id, abstractNum_id): |
| 31 | """Return a new ``<w:num>`` element having numId of `num_id` and having a |
| 32 | ``<w:abstractNumId>`` child with val attribute set to `abstractNum_id`.""" |
| 33 | num = OxmlElement("w:num") |
| 34 | num.numId = num_id |
| 35 | abstractNumId = CT_DecimalNumber.new("w:abstractNumId", abstractNum_id) |
| 36 | num.append(abstractNumId) |
| 37 | return num |
| 38 | |
| 39 | |
| 40 | class CT_NumLvl(BaseOxmlElement): |
no test coverage detected