isFormatRevision property

Paragraph.isFormatRevision property

Returns true if formatting of the object was changed in Microsoft Word while change tracking was enabled.

get isFormatRevision(): boolean

Examples

Shows how to check whether a paragraph is a format revision.

let doc = new aw.Document(base.myDir + "Format revision.docx");

// This paragraph is a "Format" revision, which occurs when we change the formatting of existing text
// while tracking revisions in Microsoft Word via "Review" -> "Track changes".
expect(doc.firstSection.body.firstParagraph.isFormatRevision).toEqual(true);

See Also