Clone a paragraph in a shape.
(paragraph_id: int, shape: BaseShape)
| 185 | |
| 186 | |
| 187 | def clone_para(paragraph_id: int, shape: BaseShape): |
| 188 | """ |
| 189 | Clone a paragraph in a shape. |
| 190 | """ |
| 191 | para = shape.text_frame.paragraphs[paragraph_id] |
| 192 | shape.text_frame.paragraphs[-1]._element.addnext(parse_xml(para._element.xml)) |
| 193 | |
| 194 | |
| 195 | def del_para(paragraph_id: int, shape: BaseShape): |
nothing calls this directly
no outgoing calls
no test coverage detected