public class ComparisonSettings extends Object
Comparison settings
Constructor and Description |
---|
ComparisonSettings()
Initializes a new instance of the
ComparisonSettings class. |
Modifier and Type | Method and Description |
---|---|
Pattern |
getAlignerSplitter() |
boolean |
getCalculateComponentCoordinates()
Gets or sets an ability to calculate component coordiantes.
|
int |
getCloneMetadata()
Gets or sets a value indicating whether [cloneSimple metadata] (true - cloneSimple from source, false - cloneSimple from target).
|
Pattern |
getComparerSplitter() |
StyleSettings |
getDeletedItemsStyle()
Gets or sets style for the deleted items.
|
int |
getDetailLevel()
Gets or sets the detail level.
|
DiagramMasterSetting |
getDiagramMasterSetting()
Gets or sets the path value for master or use compare without path of master (this option only for Diagram).
|
boolean |
getGenerateSummaryPage()
Enables or disables generation of summary page.
|
StyleSettings |
getInsertedItemsStyle()
Gets or sets style for the inserted items.
|
com.groupdocs.comparison.common.comparisonsettings.ComparisonRange[] |
getLettersRanges() |
boolean |
getMarkDeletedInsertedContentDeep()
Gets or sets a value indicating whether [show deleted content deep].
|
ComparisonMetadata |
getMetaData()
Gets or sets the meta data1.
|
boolean |
getMultipleComparison() |
OriginalSize |
getOriginalSize()
Get or sets the original sizes of comparing documents
|
String |
getPassword()
Gets or sets the password for result document.
|
int |
getPasswordSaveOption()
Gets or sets the password save option (document with password can be saved only in .doc format).
|
ComparisonMetadata |
getSavedMetaData() |
String |
getSavedPassword() |
int |
getSensitivityOfComparison()
Gets and Sets a sensitivity of comparison
|
boolean |
getShowDeletedContent()
Gets or sets an ability to show deleted content.
|
Charset |
getStreamReaderEncoding() |
boolean |
getStyleChangeDetection()
Gets or sets an ability to detect style changes.
|
StyleSettings |
getStyleChangedItemsStyle()
Gets or sets the style changed items style.
|
com.aspose.ms.System.Drawing.Color |
getSymmaryPageLableColor() |
boolean |
getUseFramesForDelInsElements()
Gets or sets a value indicating whether [use frames for delete ins elements].
|
void |
setCalculateComponentCoordinates(boolean value) |
void |
setCloneMetadata(int value) |
void |
setDeletedItemsStyle(StyleSettings value) |
void |
setDetailLevel(int value) |
void |
setDiagramMasterSetting(DiagramMasterSetting value)
Gets or sets the path value for master or use compare without path of master (this option only for Diagram).
|
void |
setGenerateSummaryPage(boolean value) |
void |
setInsertedItemsStyle(StyleSettings value) |
void |
setLettersRanges(com.groupdocs.comparison.common.comparisonsettings.ComparisonRange[] mLettersRanges) |
void |
setMarkDeletedInsertedContentDeep(boolean value) |
void |
setMetaData(ComparisonMetadata value) |
void |
setMultipleComparison(boolean value) |
void |
setOriginalSize(OriginalSize value)
Get or sets the original sizes of comparing documents
|
void |
setPassword(String value) |
void |
setPasswordSaveOption(int value) |
void |
setSavedMetaData(ComparisonMetadata value) |
void |
setSavedPassword(String value) |
void |
setSensitivityOfComparison(int value) |
void |
setShowDeletedContent(boolean value) |
void |
setStreamReaderEncoding(Charset value) |
void |
setStyleChangeDetection(boolean value) |
void |
setStyleChangedItemsStyle(StyleSettings value) |
void |
setUseFramesForDelInsElements(boolean value) |
void |
setWordsSeparatorChars(char[] value)
Gets or sets the words separator chars.
|
void |
updateLettersRanges(String text) |
public ComparisonSettings()
Initializes a new instance of the ComparisonSettings
class.
public Pattern getAlignerSplitter()
public boolean getCalculateComponentCoordinates()
Gets or sets an ability to calculate component coordiantes.
Value:true
if [calculate component coordiantes]; otherwise, false
.public int getCloneMetadata()
Gets or sets a value indicating whether [cloneSimple metadata] (true - cloneSimple from source, false - cloneSimple from target).
Value:true
if [cloneSimple source metadata]; otherwise cloneSimple target metadata, false
.public Pattern getComparerSplitter()
public StyleSettings getDeletedItemsStyle()
Gets or sets style for the deleted items.
Value: The deleted items style.public int getDetailLevel()
Gets or sets the detail level.
Value: The detail level.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 boolean getGenerateSummaryPage()
Enables or disables generation of summary page.
Value:true
if [generate summary page]; otherwise, false
.public StyleSettings getInsertedItemsStyle()
Gets or sets style for the inserted items.
Value: The inserted items style.public com.groupdocs.comparison.common.comparisonsettings.ComparisonRange[] getLettersRanges()
public boolean getMarkDeletedInsertedContentDeep()
Gets or sets a value indicating whether [show deleted content deep].
Value:true
if [show deleted content deep]; otherwise, false
.public ComparisonMetadata getMetaData()
Gets or sets the meta data1.
Value: The meta data1.public boolean getMultipleComparison()
public final OriginalSize getOriginalSize()
Get or sets the original sizes of comparing documents
public String getPassword()
Gets or sets the password for result document.
Value: The password for result document.public int getPasswordSaveOption()
Gets or sets the password save option (document with password can be saved only in .doc format).
Value: The password save option.public ComparisonMetadata getSavedMetaData()
public String getSavedPassword()
public int getSensitivityOfComparison()
Gets and Sets a sensitivity of comparison
Note:Example:
EXAMPLE_TEXT
EXAMPLE_CODE
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 boolean getShowDeletedContent()
Gets or sets an ability to show deleted content.
Value:true
if [show deleted content]; otherwise, false
.public Charset getStreamReaderEncoding()
public boolean getStyleChangeDetection()
Gets or sets an ability to detect style changes.
Value:true
if [style change detection]; otherwise, false
.public StyleSettings getStyleChangedItemsStyle()
Gets or sets the style changed items style.
Value: The style changed items style.public com.aspose.ms.System.Drawing.Color getSymmaryPageLableColor()
public boolean getUseFramesForDelInsElements()
Gets or sets a value indicating whether [use frames for delete ins elements].
Value:true
if [use frames for delete ins elements]; otherwise, false
.public void setCalculateComponentCoordinates(boolean value)
public void setCloneMetadata(int value)
public void setDeletedItemsStyle(StyleSettings value)
public void setDetailLevel(int value)
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 void setGenerateSummaryPage(boolean value)
public void setInsertedItemsStyle(StyleSettings value)
public void setLettersRanges(com.groupdocs.comparison.common.comparisonsettings.ComparisonRange[] mLettersRanges)
public void setMarkDeletedInsertedContentDeep(boolean value)
public void setMetaData(ComparisonMetadata value)
public void setMultipleComparison(boolean value)
public final void setOriginalSize(OriginalSize value)
Get or sets the original sizes of comparing documents
public void setPassword(String value)
public void setPasswordSaveOption(int value)
public void setSavedMetaData(ComparisonMetadata value)
public void setSavedPassword(String value)
public void setSensitivityOfComparison(int value)
public void setShowDeletedContent(boolean value)
public void setStreamReaderEncoding(Charset value)
public void setStyleChangeDetection(boolean value)
public void setStyleChangedItemsStyle(StyleSettings value)
public void setUseFramesForDelInsElements(boolean value)
public void setWordsSeparatorChars(char[] value)
Gets or sets the words separator chars.
Value: The words separator chars.public void updateLettersRanges(String text)
Copyright © 2019. All rights reserved.