Filter Deleted Text

Some applications have revision tracking features—such as Microsoft Word's Track Changes—that identify changes to a document. When these features are used, text that was deleted from a document might still be stored in the file. KeyView does not filter deleted text by default, but the Filter API provides options to enable this.

The filtered text does not include the reviewer name or revision date.

To filter or exclude deleted text

  • In the C API, call the function fpSetConfig() with the following arguments:

    Argument Value
    nType KVFLT_INCLREVISIONMARK
    nValue TRUE to filter deleted text, or FALSE to exclude it
    pData NULL

    For example:

    (*fpSetConfig)(pKVFilter, KVFLT_INCLREVISIONMARK, TRUE, NULL);

    You can then call fpFilter() or fpFilterToFile().