public class CompareOptions extends Object
Allows to set different compare options.
Modifier and Type | Class and Description |
---|---|
static class |
CompareOptions.Builder
A little sugar
|
Constructor and Description |
---|
CompareOptions()
Initializes a new instance of the
CompareOptions class. |
Modifier and Type | Method and Description |
---|---|
boolean |
getCalculateCoordinates()
Indicates whether to calculate coordinates for changed components.
|
StyleSettings |
getChangedItemStyle()
Describes style for changed components.
|
StyleSettings |
getDeletedItemStyle()
Describes style for deleted components.
|
int |
getDetalisationLevel()
Gets or sets the comparison detail level.
|
boolean |
getDetectStyleChanges()
Indicates whether to detect style changes or not.
|
DiagramMasterSetting |
getDiagramMasterSetting()
Gets or sets the path value for master or use compare without path of master.
|
boolean |
getGenerateSummaryPage()
Indicates whether to add summary page with detected changes statistics to resultant document or not.
|
boolean |
getHeaderFootersComparison()
Control to turn on comparison of header/footer contents.
|
StyleSettings |
getInsertedItemStyle()
Describes style for inserted components.
|
boolean |
getMarkChangedContent()
Indicates whether to use frames for shapes in Word Processing and for rectangles in Image documents.
|
boolean |
getMarkNestedContent()
Gets or sets a value indicating whether to mark the children of the deleted or inserted element as deleted or inserted.
|
OriginalSize |
getOriginalSize()
Get or sets the original sizes of compared documents.
|
int |
getPaperSize()
Gets or sets the result document paper size.
|
int |
getPasswordSaveOption()
Gets or sets the password save option.
|
int |
getSensitivityOfComparison()
Gets or sets a sensitivity of comparison.
|
boolean |
getShowDeletedContent()
Indicates whether to show deleted components in resultant document or not.
|
void |
setCalculateCoordinates(boolean value)
Indicates whether to calculate coordinates for changed components.
|
void |
setChangedItemStyle(StyleSettings value)
Describes style for changed components.
|
void |
setDeletedItemStyle(StyleSettings value)
Describes style for deleted components.
|
void |
setDetalisationLevel(int value)
Gets or sets the comparison detail level.
|
void |
setDetectStyleChanges(boolean value)
Indicates whether to detect style changes or not.
|
void |
setDiagramMasterSetting(DiagramMasterSetting value)
Gets or sets the path value for master or use compare without path of master.
|
void |
setGenerateSummaryPage(boolean value)
Indicates whether to add summary page with detected changes statistics to resultant document or not.
|
void |
setHeaderFootersComparison(boolean value)
Control to turn on comparison of header/footer contents.
|
void |
setInsertedItemStyle(StyleSettings value)
Describes style for inserted components.
|
void |
setMarkChangedContent(boolean value)
Indicates whether to use frames for shapes in Word Processing and for rectangles in Image documents.
|
void |
setMarkNestedContent(boolean value)
Gets or sets a value indicating whether to mark the children of the deleted or inserted element as deleted or inserted.
|
void |
setOriginalSize(OriginalSize value)
Get or sets the original sizes of compared documents.
|
void |
setPaperSize(int value)
Gets or sets the result document paper size.
|
void |
setPasswordSaveOption(int value)
Gets or sets the password save option.
|
void |
setSensitivityOfComparison(int value) |
void |
setShowDeletedContent(boolean value)
Indicates whether to show deleted components in resultant document or not.
|
void |
setWordsSeparatorChars(char[] value)
Gets or sets an array of delimiters to split text into words.
|
public CompareOptions()
Initializes a new instance of the CompareOptions
class.
public final boolean getCalculateCoordinates()
Indicates whether to calculate coordinates for changed components.
public final StyleSettings getChangedItemStyle()
Describes style for changed components.
public final StyleSettings getDeletedItemStyle()
Describes style for deleted components.
public final int getDetalisationLevel()
Gets or sets the comparison detail level.
public final boolean getDetectStyleChanges()
Indicates whether to detect style changes or not.
public final DiagramMasterSetting getDiagramMasterSetting()
Gets or sets the path value for master or use compare without path of master. This option only for Diagram.
Value: The master option for Diagram.public final boolean getGenerateSummaryPage()
Indicates whether to add summary page with detected changes statistics to resultant document or not.
public final boolean getHeaderFootersComparison()
Control to turn on comparison of header/footer contents.
public final StyleSettings getInsertedItemStyle()
Describes style for inserted components.
public final boolean getMarkChangedContent()
Indicates whether to use frames for shapes in Word Processing and for rectangles in Image documents.
public final boolean getMarkNestedContent()
Gets or sets a value indicating whether to mark the children of the deleted or inserted element as deleted or inserted.
public final OriginalSize getOriginalSize()
Get or sets the original sizes of compared documents.
public final int getPaperSize()
Gets or sets the result document paper size.
public final int getPasswordSaveOption()
Gets or sets the password save option.
Value: The password save option.public final int getSensitivityOfComparison()
Gets or sets a sensitivity of comparison.
Value: The percentage of deleted and inserted elements of two compared objects in relation to all elements of these objects. if this percentage if exceeded, the object aren't compared but are considered completely inserted and deleted. Min value - 0% => The comparison doesn't occur for any length of the common subsequence of two compared object. Default value - 75% => Comparison occurs if the percentage of deleted and inserted elements of two compared object with respect to all elements of these objects isn't more then 75. Max value - 100% => The comparison occurs at any length of the common subsequence of two compared objects.public final boolean getShowDeletedContent()
Indicates whether to show deleted components in resultant document or not.
public final void setCalculateCoordinates(boolean value)
Indicates whether to calculate coordinates for changed components.
public final void setChangedItemStyle(StyleSettings value)
Describes style for changed components.
public final void setDeletedItemStyle(StyleSettings value)
Describes style for deleted components.
public final void setDetalisationLevel(int value)
Gets or sets the comparison detail level.
public final void setDetectStyleChanges(boolean value)
Indicates whether to detect style changes or not.
public final void setDiagramMasterSetting(DiagramMasterSetting value)
Gets or sets the path value for master or use compare without path of master. This option only for Diagram.
Value: The master option for Diagram.public final void setGenerateSummaryPage(boolean value)
Indicates whether to add summary page with detected changes statistics to resultant document or not.
public final void setHeaderFootersComparison(boolean value)
Control to turn on comparison of header/footer contents.
public final void setInsertedItemStyle(StyleSettings value)
Describes style for inserted components.
public final void setMarkChangedContent(boolean value)
Indicates whether to use frames for shapes in Word Processing and for rectangles in Image documents.
public final void setMarkNestedContent(boolean value)
Gets or sets a value indicating whether to mark the children of the deleted or inserted element as deleted or inserted.
public final void setOriginalSize(OriginalSize value)
Get or sets the original sizes of compared documents.
public final void setPaperSize(int value)
Gets or sets the result document paper size.
public final void setPasswordSaveOption(int value)
Gets or sets the password save option.
Value: The password save option.public final void setSensitivityOfComparison(int value)
public final void setShowDeletedContent(boolean value)
Indicates whether to show deleted components in resultant document or not.
public final void setWordsSeparatorChars(char[] value)
Gets or sets an array of delimiters to split text into words.
Value: The words separator chars.Copyright © 2020. All rights reserved.