In a docx, I have several paragraphs which are marked as inserted, deleted or modified with track changes.
Python-docx
does not saw them when I use the function Document.paragraphs()
as say in the documentation:
@property
def paragraphs(self):
"""
A list of |Paragraph| instances corresponding to the paragraphs in
the document, in document order. Note that paragraphs within revision
marks such as ``<w:ins>`` or ``<w:del>`` do not appear in this list.
"""
return self._body.paragraphs
Their is a possibility to use this function and get the revised paragraphs ?