KeyView 23.2

# Convert Revision Tracking Information

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 changes were made to a document, you can configure Export to convert the deleted text and graphics and include revision tracking information in the HTML output. (The deleted content and revision tracking information is excluded from the HTML output by default.)

Content that was added to the document is identified by `<ins>` tags and is underlined when displayed in a browser. Content that was deleted from the document is identified by `<del>` tags and is displayed with strikethrough formatting.

The `<ins>` and `<del>` tags include `cite` and `datetime` attributes, which define the name of the reviewer who made the change and the date on which the change was made respectively. (The date is in ISO-8601 format: `YYYY-MM-DDThh:mm:ss`.) The tags also include a `title` attribute which displays the author and date information in a browser.

For example, the following markup is generated for inserted text:

    <ins title="Inserted: JohnD, 2006-04-24Tl4:47:00" cite="mailto:JohnD" datetime="2006-04-24T14:47:00">This text was added</ins> in a previous version.

This text is displayed in the browser as:

This text was added in a previous version.

When you hover the cursor over the underlined text in the browser, the text "Inserted: JohnD, 2006-04-24Tl4:47:00" is displayed as a ToolTip.

The following markup is generated for deleted text:

    <del title="Deleted: JohnD, 2006-04-24Tl4:56:00" cite="mailto:JohnD" datetime="2006-04-24T14:56:00">This text was deleted</del> in a previous version.

This text is displayed in the browser as:

This text was deleted in a previous version.

When you hover the cursor over the strikethrough text in the browser, the text "Deleted: JohnD, 2006-04-24Tl4:56:00" is displayed as a ToolTip.

NOTE: Whether the text is displayed with strikethrough or underline depends on the configuration and capabilities of the browser.

To convert deleted text and graphics and include revision tracking information, call the `includeRevisionMark` method. For example:

    if(inclRevisionMark == true)
    {
        objHtmlExport.includeRevisionMark();
    }

To reset the flag and exclude deleted content and revision tracking information from the HTML output, call the `excludeRevisionMark` method. For example:

    if(inclRevisionMark == false)
    {
        objHtmlExport.excludeRevisionMark();
    }

Copyright 1997-2023 Open Text
Version 23.2 | Last updated March 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL KeyView 23.2

Topic Title: Convert Revision Tracking Information