Return a new ` ` element inserted directly prior to this one.
(self)
| 31 | r = ZeroOrMore("w:r") |
| 32 | |
| 33 | def add_p_before(self) -> CT_P: |
| 34 | """Return a new `<w:p>` element inserted directly prior to this one.""" |
| 35 | new_p = cast(CT_P, OxmlElement("w:p")) |
| 36 | self.addprevious(new_p) |
| 37 | return new_p |
| 38 | |
| 39 | @property |
| 40 | def alignment(self) -> WD_PARAGRAPH_ALIGNMENT | None: |
no test coverage detected