SideBySideComparisonOptions

Inheritance: java.lang.Object, com.aspose.pdf.comparison.outputgenerator.IVentureLicenseTarget com.aspose.pdf.comparison.sidebysidecomparison.SideBySideComparisonOptions, com.aspose.pdf.comparison.outputgenerator.IVentureLicenseTarget, com.aspose.pdf.comparison.sidebysidecomparison.SideBySideComparisonOptions

public class SideBySideComparisonOptions extends IVentureLicenseTarget

Represents an options class for comparing documents with side-by-side output.

Constructors

ConstructorDescription
SideBySideComparisonOptionsCreates an instance of {@link SideBySideComparisonOptions} class.

Methods

MethodDescription
getAdditionalChangeMarksGet and set the property that determines whether additional change markers are displayed. If set, displays change marks that are not on the current page but are present on another page. If the change lacates between words, the mark may not be positioned exactly relative to the whitespace character. The default value is {@code false}.
getComparisonArea1Get and set the comparison area. Used for the first page or document in the comparison method. This option can’t be setted along with {@code ExcludeTables}({@link #getExcludeTables}/{@link #setExcludeTables(boolean)}), {@code ExcludeAreas1}({@link #getExcludeAreas1}/{@link #setExcludeAreas1(Rectangle[])}) and {@code ExcludeAreas2}({@link #getExcludeAreas2}/{@link #setExcludeAreas2(Rectangle[])}) options.
getComparisonArea2Get and set the comparison area. Used for the second page or document in the comparison method. This option can’t be setted along with {@code ExcludeTables}({@link #getExcludeTables}/{@link #setExcludeTables(boolean)}), {@code ExcludeAreas1}({@link #getExcludeAreas1}/{@link #setExcludeAreas1(Rectangle[])}) and {@code ExcludeAreas2}({@link #getExcludeAreas2}/{@link #setExcludeAreas2(Rectangle[])}) options.
getComparisonModeGets and sets a comparison mode. The default value is {@link ComparisonMode#IgnoreSpaces}.
getDeleteColorGets the color used to mark deleted content during a side-by-side comparison. This property defines the visual representation for deletions in the comparison result.
getExcludeAreas1Get and set the exclude areas. Used for the first page or document in the comparison method. This option can be setted along with {@code ExcludeTables}({@link #getExcludeTables}/{@link #setExcludeTables(boolean)}). This option can’t be setted along with {@code ComparisonArea1}({@link #getComparisonArea1}/{@link #setComparisonArea1(Rectangle)}) option.
getExcludeAreas2Get and set the exclude areas. Used for the second page or document in the comparison method. This option can be setted along with {@code ExcludeTables}({@link #getExcludeTables}/{@link #setExcludeTables(boolean)}). This option can’t be setted along with {@code ComparisonArea2}({@link #getComparisonArea2}/{@link #setComparisonArea2(Rectangle)}) option.
getExcludeTablesGet and set the option that determines whether tables are excluded from comparison. This option cannot be set together with {@code ComparisonArea1}({@link #getComparisonArea1}/{@link #setComparisonArea1(Rectangle)}) and {@code ComparisonArea2}({@link #getComparisonArea2}/{@link #setComparisonArea2(Rectangle)}). The default value is {@code false}.
getInsertColorGets the color used to mark inserted content during a side-by-side comparison. This property defines the visual representation for insertion in the comparison result.
setAdditionalChangeMarksGet and set the property that determines whether additional change markers are displayed. If set, displays change marks that are not on the current page but are present on another page. If the change lacates between words, the mark may not be positioned exactly relative to the whitespace character. The default value is {@code false}.
setComparisonArea1Get and set the comparison area. Used for the first page or document in the comparison method. This option can’t be setted along with {@code ExcludeTables}({@link #getExcludeTables}/{@link #setExcludeTables(boolean)}), {@code ExcludeAreas1}({@link #getExcludeAreas1}/{@link #setExcludeAreas1(Rectangle[])}) and {@code ExcludeAreas2}({@link #getExcludeAreas2}/{@link #setExcludeAreas2(Rectangle[])}) options.
setComparisonArea2Get and set the comparison area. Used for the second page or document in the comparison method. This option can’t be setted along with {@code ExcludeTables}({@link #getExcludeTables}/{@link #setExcludeTables(boolean)}), {@code ExcludeAreas1}({@link #getExcludeAreas1}/{@link #setExcludeAreas1(Rectangle[])}) and {@code ExcludeAreas2}({@link #getExcludeAreas2}/{@link #setExcludeAreas2(Rectangle[])}) options.
setComparisonModeGets and sets a comparison mode. The default value is {@link ComparisonMode#IgnoreSpaces}.
setDeleteColorSets the color used to mark deleted content during a side-by-side comparison. This property defines the visual representation for deletions in the comparison result.
setExcludeAreas1Get and set the exclude areas. Used for the first page or document in the comparison method. This option can be setted along with {@code ExcludeTables}({@link #getExcludeTables}/{@link #setExcludeTables(boolean)}). This option can’t be setted along with {@code ComparisonArea1}({@link #getComparisonArea1}/{@link #setComparisonArea1(Rectangle)}) option.
setExcludeAreas2Get and set the exclude areas. Used for the second page or document in the comparison method. This option can be setted along with {@code ExcludeTables}({@link #getExcludeTables}/{@link #setExcludeTables(boolean)}). This option can’t be setted along with {@code ComparisonArea2}({@link #getComparisonArea2}/{@link #setComparisonArea2(Rectangle)}) option.
setExcludeTablesGet and set the option that determines whether tables are excluded from comparison. This option cannot be set together with {@code ComparisonArea1}({@link #getComparisonArea1}/{@link #setComparisonArea1(Rectangle)}) and {@code ComparisonArea2}({@link #getComparisonArea2}/{@link #setComparisonArea2(Rectangle)}). The default value is {@code false}.
setInsertColorSets the color used to mark inserted content during a side-by-side comparison. This property defines the visual representation for insertion in the comparison result.
setVentureLicense

SideBySideComparisonOptions

public SideBySideComparisonOptions()

Creates an instance of {@link SideBySideComparisonOptions} class.

getAdditionalChangeMarks

public final boolean getAdditionalChangeMarks()

Get and set the property that determines whether additional change markers are displayed. If set, displays change marks that are not on the current page but are present on another page. If the change lacates between words, the mark may not be positioned exactly relative to the whitespace character. The default value is {@code false}.

Returns: boolean value

getComparisonArea1

public final Rectangle getComparisonArea1()

Get and set the comparison area. Used for the first page or document in the comparison method. This option can’t be setted along with {@code ExcludeTables}({@link #getExcludeTables}/{@link #setExcludeTables(boolean)}), {@code ExcludeAreas1}({@link #getExcludeAreas1}/{@link #setExcludeAreas1(Rectangle[])}) and {@code ExcludeAreas2}({@link #getExcludeAreas2}/{@link #setExcludeAreas2(Rectangle[])}) options.

Returns: Rectangle instance

getComparisonArea2

public final Rectangle getComparisonArea2()

Get and set the comparison area. Used for the second page or document in the comparison method. This option can’t be setted along with {@code ExcludeTables}({@link #getExcludeTables}/{@link #setExcludeTables(boolean)}), {@code ExcludeAreas1}({@link #getExcludeAreas1}/{@link #setExcludeAreas1(Rectangle[])}) and {@code ExcludeAreas2}({@link #getExcludeAreas2}/{@link #setExcludeAreas2(Rectangle[])}) options.

Returns: Rectangle instance

getComparisonMode

public final int getComparisonMode()

Gets and sets a comparison mode. The default value is {@link ComparisonMode#IgnoreSpaces}.

Returns: ComparisonMode element

getDeleteColor

public final Color getDeleteColor()

Gets the color used to mark deleted content during a side-by-side comparison. This property defines the visual representation for deletions in the comparison result.

Returns: the color used to mark deleted content during a side-by-side comparison.

getExcludeAreas1

public final Rectangle [] getExcludeAreas1()

Get and set the exclude areas. Used for the first page or document in the comparison method. This option can be setted along with {@code ExcludeTables}({@link #getExcludeTables}/{@link #setExcludeTables(boolean)}). This option can’t be setted along with {@code ComparisonArea1}({@link #getComparisonArea1}/{@link #setComparisonArea1(Rectangle)}) option.

Returns: array of Rectangle instances

getExcludeAreas2

public final Rectangle [] getExcludeAreas2()

Get and set the exclude areas. Used for the second page or document in the comparison method. This option can be setted along with {@code ExcludeTables}({@link #getExcludeTables}/{@link #setExcludeTables(boolean)}). This option can’t be setted along with {@code ComparisonArea2}({@link #getComparisonArea2}/{@link #setComparisonArea2(Rectangle)}) option.

Returns: array of Rectangle instances

getExcludeTables

public final boolean getExcludeTables()

Get and set the option that determines whether tables are excluded from comparison. This option cannot be set together with {@code ComparisonArea1}({@link #getComparisonArea1}/{@link #setComparisonArea1(Rectangle)}) and {@code ComparisonArea2}({@link #getComparisonArea2}/{@link #setComparisonArea2(Rectangle)}). The default value is {@code false}.

Returns: boolean value

getInsertColor

public final Color getInsertColor()

Gets the color used to mark inserted content during a side-by-side comparison. This property defines the visual representation for insertion in the comparison result.

Returns: the color used to mark inserted content during a side-by-side comparison.

setAdditionalChangeMarks

public final void setAdditionalChangeMarks(boolean value)

Get and set the property that determines whether additional change markers are displayed. If set, displays change marks that are not on the current page but are present on another page. If the change lacates between words, the mark may not be positioned exactly relative to the whitespace character. The default value is {@code false}.

Parameters:

ParameterTypeDescription
valueboolean value

setComparisonArea1

Get and set the comparison area. Used for the first page or document in the comparison method. This option can’t be setted along with {@code ExcludeTables}({@link #getExcludeTables}/{@link #setExcludeTables(boolean)}), {@code ExcludeAreas1}({@link #getExcludeAreas1}/{@link #setExcludeAreas1(Rectangle[])}) and {@code ExcludeAreas2}({@link #getExcludeAreas2}/{@link #setExcludeAreas2(Rectangle[])}) options.

setComparisonArea2

Get and set the comparison area. Used for the second page or document in the comparison method. This option can’t be setted along with {@code ExcludeTables}({@link #getExcludeTables}/{@link #setExcludeTables(boolean)}), {@code ExcludeAreas1}({@link #getExcludeAreas1}/{@link #setExcludeAreas1(Rectangle[])}) and {@code ExcludeAreas2}({@link #getExcludeAreas2}/{@link #setExcludeAreas2(Rectangle[])}) options.

setComparisonMode

public final void setComparisonMode(int value)

Gets and sets a comparison mode. The default value is {@link ComparisonMode#IgnoreSpaces}.

Parameters:

ParameterTypeDescription
valueComparisonMode element

setDeleteColor

Sets the color used to mark deleted content during a side-by-side comparison. This property defines the visual representation for deletions in the comparison result.

setExcludeAreas1

Get and set the exclude areas. Used for the first page or document in the comparison method. This option can be setted along with {@code ExcludeTables}({@link #getExcludeTables}/{@link #setExcludeTables(boolean)}). This option can’t be setted along with {@code ComparisonArea1}({@link #getComparisonArea1}/{@link #setComparisonArea1(Rectangle)}) option.

setExcludeAreas2

Get and set the exclude areas. Used for the second page or document in the comparison method. This option can be setted along with {@code ExcludeTables}({@link #getExcludeTables}/{@link #setExcludeTables(boolean)}). This option can’t be setted along with {@code ComparisonArea2}({@link #getComparisonArea2}/{@link #setComparisonArea2(Rectangle)}) option.

setExcludeTables

public final void setExcludeTables(boolean value)

Get and set the option that determines whether tables are excluded from comparison. This option cannot be set together with {@code ComparisonArea1}({@link #getComparisonArea1}/{@link #setComparisonArea1(Rectangle)}) and {@code ComparisonArea2}({@link #getComparisonArea2}/{@link #setComparisonArea2(Rectangle)}). The default value is {@code false}.

Parameters:

ParameterTypeDescription
valueboolean value

setInsertColor

Sets the color used to mark inserted content during a side-by-side comparison. This property defines the visual representation for insertion in the comparison result.

setVentureLicense