Extract Deleted Text Marked by Tracked Changes
The revision tracking feature in applications—such as Microsoft Word's Track Changes—marks changes to a document (typically, strikethrough for deleted text and underline for inserted text) and tracks each change by reviewer name and date.
If revision tracking was enabled when text was deleted from a source document, you can configure Filter to extract the deleted text. Filter does not extract the reviewer name and revision date.
To extract deleted text from a document and include it in the filtered output
-
Create a
Session
object. -
Enable revision tracking by calling
revision_marks(true)
on theConfiguration
object. -
Call
filter()
on theSession
object.
See The Session Class for more information.