Ensure p:txBody has at least one a:p child. Intuitively, reverse a ".clear_content()" operation to minimum conformance with spec (single empty paragraph).
(self)
| 168 | return txPr |
| 169 | |
| 170 | def unclear_content(self): |
| 171 | """Ensure p:txBody has at least one a:p child. |
| 172 | |
| 173 | Intuitively, reverse a ".clear_content()" operation to minimum conformance with spec |
| 174 | (single empty paragraph). |
| 175 | """ |
| 176 | if len(self.p_lst) > 0: |
| 177 | return |
| 178 | self.add_p() |
| 179 | |
| 180 | @classmethod |
| 181 | def _a_txBody_tmpl(cls): |