public class CompareOptions
extends java.lang.Object
To learn more, visit the Compare Documents documentation article.
| Modifier and Type | Method and Description |
|---|---|
int |
getGranularity()
Specifies whether changes are tracked by character or by word.
|
boolean |
getIgnoreCaseChanges()
True indicates that documents comparison is case insensitive.
|
boolean |
getIgnoreComments()
Specifies whether to compare differences in comments.
|
boolean |
getIgnoreDmlUniqueId()
Specifies whether to ignore difference in DrawingML unique Id.
|
boolean |
getIgnoreFields()
Specifies whether to compare differences in fields.
|
boolean |
getIgnoreFootnotes()
Specifies whether to compare differences in footnotes and endnotes.
|
boolean |
getIgnoreFormatting()
True indicates that formatting is ignored.
|
boolean |
getIgnoreHeadersAndFooters()
True indicates that headers and footers content is ignored.
|
boolean |
getIgnoreTables()
Specifies whether to compare the differences in data contained in tables.
|
boolean |
getIgnoreTextboxes()
Specifies whether to compare differences in the data contained within text boxes.
|
int |
getTarget()
Specifies which document shall be used as a target during comparison.
|
void |
setGranularity(int value)
Specifies whether changes are tracked by character or by word.
|
void |
setIgnoreCaseChanges(boolean value)
True indicates that documents comparison is case insensitive.
|
void |
setIgnoreComments(boolean value)
Specifies whether to compare differences in comments.
|
void |
setIgnoreDmlUniqueId(boolean value)
Specifies whether to ignore difference in DrawingML unique Id.
|
void |
setIgnoreFields(boolean value)
Specifies whether to compare differences in fields.
|
void |
setIgnoreFootnotes(boolean value)
Specifies whether to compare differences in footnotes and endnotes.
|
void |
setIgnoreFormatting(boolean value)
True indicates that formatting is ignored.
|
void |
setIgnoreHeadersAndFooters(boolean value)
True indicates that headers and footers content is ignored.
|
void |
setIgnoreTables(boolean value)
Specifies whether to compare the differences in data contained in tables.
|
void |
setIgnoreTextboxes(boolean value)
Specifies whether to compare differences in the data contained within text boxes.
|
void |
setTarget(int value)
Specifies which document shall be used as a target during comparison.
|
public boolean getIgnoreCaseChanges()
boolean value.public void setIgnoreCaseChanges(boolean value)
value - The corresponding boolean value.public boolean getIgnoreTables()
boolean value.public void setIgnoreTables(boolean value)
value - The corresponding boolean value.public boolean getIgnoreFields()
boolean value.public void setIgnoreFields(boolean value)
value - The corresponding boolean value.public boolean getIgnoreFootnotes()
boolean value.public void setIgnoreFootnotes(boolean value)
value - The corresponding boolean value.public boolean getIgnoreComments()
boolean value.public void setIgnoreComments(boolean value)
value - The corresponding boolean value.public boolean getIgnoreTextboxes()
boolean value.public void setIgnoreTextboxes(boolean value)
value - The corresponding boolean value.public boolean getIgnoreFormatting()
boolean value.public void setIgnoreFormatting(boolean value)
value - The corresponding boolean value.public boolean getIgnoreHeadersAndFooters()
boolean value.public void setIgnoreHeadersAndFooters(boolean value)
value - The corresponding boolean value.public int getTarget()
int value. The returned value is one of ComparisonTargetType constants.public void setTarget(int value)
value - The corresponding int value. The value must be one of ComparisonTargetType constants.public int getGranularity()
Granularity.WORD_LEVEL.int value. The returned value is one of Granularity constants.public void setGranularity(int value)
Granularity.WORD_LEVEL.value - The corresponding int value. The value must be one of Granularity constants.public boolean getIgnoreDmlUniqueId()
boolean value.public void setIgnoreDmlUniqueId(boolean value)
value - The corresponding boolean value.