OutputTextStyle

Inheritance: java.lang.Object, com.aspose.pdf.comparison.outputgenerator.OutputTextStyle

public class OutputTextStyle extends Object

Represents a style set class for marking text changes.

Constructors

ConstructorDescription
OutputTextStyle

Methods

MethodDescription
getDeletedStyleGet and set a text style for deleted text.
getEqualStyleGet and set a text style for non changed text.
getInsertedStyleGet and set a text style for inserted text.
isStrikethroughDeletedGet or set text-decoration: line-through style for the delete operation. Default value is {@code False}.
setDeletedStyleGet and set a text style for deleted text.
setEqualStyleGet and set a text style for non changed text.
setInsertedStyleGet and set a text style for inserted text.
setStrikethroughDeletedGet or set text-decoration: line-through style for the delete operation. Default value is {@code False}.

OutputTextStyle

public OutputTextStyle()

getDeletedStyle

public final TextStyle getDeletedStyle()

Get and set a text style for deleted text.

Returns: TextStyle instance

getEqualStyle

public final TextStyle getEqualStyle()

Get and set a text style for non changed text.

Returns: TextStyle instance

getInsertedStyle

public final TextStyle getInsertedStyle()

Get and set a text style for inserted text.

Returns: TextStyle instance

isStrikethroughDeleted

public final boolean isStrikethroughDeleted()

Get or set text-decoration: line-through style for the delete operation. Default value is {@code False}.

Returns: boolean value

setDeletedStyle

Get and set a text style for deleted text.

setEqualStyle

Get and set a text style for non changed text.

setInsertedStyle

Get and set a text style for inserted text.

setStrikethroughDeleted

public final void setStrikethroughDeleted(boolean value)

Get or set text-decoration: line-through style for the delete operation. Default value is {@code False}.

Parameters:

ParameterTypeDescription
valueboolean value