DocumentMarkupMode

public enum DocumentMarkupMode

Specifies the modes for converting document markups, including how changes and comments are rendered. This enumeration provides options for controlling the visibility of markups, such as tracked changes and comments, in a document. Each mode determines whether changes are shown, hidden, or treated as accepted or rejected, and whether comments are converted to annotations.

Entries

Link copied to clipboard

Show all the markups in different colors, underlined/struck through. Comments are converted to annotations. This is the default behavior.

Link copied to clipboard

Show the document as if all the changes were accepted. Comments are converted to annotations.

Link copied to clipboard

Show the document as if all the changes were accepted. Comments are NOT converted to annotations.

Link copied to clipboard

Show the document as if none of the changes were made (= as if all changes were rejected) Comments are NOT converted to annotations.

Functions

Link copied to clipboard
public static DocumentMarkupMode valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<DocumentMarkupMode> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.