java.lang.Object | ||
↳ | com.pdftron.pdf.OptionsBase | |
↳ | com.pdftron.pdf.TextDiffOptions |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TextDiffOptions()
Constructor.
| |||||||||||
TextDiffOptions(String json_string)
Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TextDiffOptions |
addIgnoreZonesForPage(RectCollection regions, int page_num)
Adds a collection of ignorable regions for the given page
Optional list of page areas that will be not be processed
| ||||||||||
ColorPt |
getColorA()
Gets the value ColorA from the options object
The difference color for deletions
| ||||||||||
ColorPt |
getColorB()
Gets the value ColorB from the options object
The difference color for insertions
| ||||||||||
boolean |
getCompareStyles()
Gets the value CompareStyles from the options object
Whether to highlight text style differences.
| ||||||||||
boolean |
getCompareUsingZOrder()
Gets the value CompareUsingZOrder from the options object
Whether to use z-order (aka paint order) when comparing text between A and B.
| ||||||||||
ColorPt |
getExtraMoveColor()
Gets the value ExtraMoveColor from the options object
The difference color for extra moves
| ||||||||||
boolean |
getExtraMoveHighlight()
Gets the value ExtraMoveHighlight from the options object
Whether to highlight text in between short-distance moves when comparing text between A and B.
| ||||||||||
double |
getExtraMoveOpacity()
Gets the value ExtraMoveOpacity from the options object
The difference opacity for extra moves
| ||||||||||
double |
getOpacityA()
Gets the value OpacityA from the options object
The difference opacity for deletions
| ||||||||||
double |
getOpacityB()
Gets the value OpacityB from the options object
The difference opacity for insertions
| ||||||||||
boolean |
getShowPlaceholders()
Gets the value ShowPlaceholders from the options object
Whether to show placeholder annotations.
| ||||||||||
TextDiffOptions |
setColorA(ColorPt color)
Sets the value for ColorA in the options object
The difference color for deletions
| ||||||||||
TextDiffOptions |
setColorB(ColorPt color)
Sets the value for ColorB in the options object
The difference color for insertions
| ||||||||||
TextDiffOptions |
setCompareStyles(boolean value)
Sets the value for CompareStyles in the options object
Whether to highlight text style differences.
| ||||||||||
TextDiffOptions |
setCompareUsingZOrder(boolean value)
Sets the value for CompareUsingZOrder in the options object
Whether to use z-order (aka paint order) when comparing text between A and B.
| ||||||||||
TextDiffOptions |
setExtraMoveColor(ColorPt color)
Sets the value for ExtraMoveColor in the options object
The difference color for extra moves
| ||||||||||
TextDiffOptions |
setExtraMoveHighlight(boolean value)
Sets the value for ExtraMoveHighlight in the options object
Whether to highlight text in between short-distance moves when comparing text between A and B.
| ||||||||||
TextDiffOptions |
setExtraMoveOpacity(double opacity)
Sets the value for ExtraMoveOpacity in the options object
The difference opacity for extra moves
| ||||||||||
TextDiffOptions |
setOpacityA(double opacity)
Sets the value for OpacityA in the options object
The difference opacity for deletions
| ||||||||||
TextDiffOptions |
setOpacityB(double opacity)
Sets the value for OpacityB in the options object
The difference opacity for insertions
| ||||||||||
TextDiffOptions |
setShowPlaceholders(boolean value)
Sets the value for ShowPlaceholders in the options object
Whether to show placeholder annotations.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Adds a collection of ignorable regions for the given page Optional list of page areas that will be not be processed
PDFNetException |
---|
Gets the value ColorA from the options object The difference color for deletions
PDFNetException |
---|
Gets the value ColorB from the options object The difference color for insertions
PDFNetException |
---|
Gets the value CompareStyles from the options object Whether to highlight text style differences. Off by default. Text style includes font, size, bold, italic and text color. For example, if a word is italic in document A and is bold in document B, we can highlight the location of the word in both documents.
PDFNetException |
---|
Gets the value CompareUsingZOrder from the options object Whether to use z-order (aka paint order) when comparing text between A and B. On by default.
PDFNetException |
---|
Gets the value ExtraMoveColor from the options object The difference color for extra moves
PDFNetException |
---|
Gets the value ExtraMoveHighlight from the options object Whether to highlight text in between short-distance moves when comparing text between A and B. Off by default.
PDFNetException |
---|
Gets the value ExtraMoveOpacity from the options object The difference opacity for extra moves
PDFNetException |
---|
Gets the value OpacityA from the options object The difference opacity for deletions
PDFNetException |
---|
Gets the value OpacityB from the options object The difference opacity for insertions
PDFNetException |
---|
Gets the value ShowPlaceholders from the options object Whether to show placeholder annotations. On by default. Placeholders are insertion locations in document A and deletion locations in document B. For example, if a word is removed from document B, we can highlight the location of the original word in document A, but there is no word to highlight in B (it's removed). In this case a small "placeholder" annotation is placed in B to identify the location of the removal.
PDFNetException |
---|
Sets the value for ColorA in the options object The difference color for deletions
PDFNetException |
---|
Sets the value for ColorB in the options object The difference color for insertions
PDFNetException |
---|
Sets the value for CompareStyles in the options object Whether to highlight text style differences. Off by default. Text style includes font, size, bold, italic and text color. For example, if a word is italic in document A and is bold in document B, we can highlight the location of the word in both documents.
PDFNetException |
---|
Sets the value for CompareUsingZOrder in the options object Whether to use z-order (aka paint order) when comparing text between A and B. On by default.
PDFNetException |
---|
Sets the value for ExtraMoveColor in the options object The difference color for extra moves
PDFNetException |
---|
Sets the value for ExtraMoveHighlight in the options object Whether to highlight text in between short-distance moves when comparing text between A and B. Off by default.
PDFNetException |
---|
Sets the value for ExtraMoveOpacity in the options object The difference opacity for extra moves
PDFNetException |
---|
Sets the value for OpacityA in the options object The difference opacity for deletions
PDFNetException |
---|
Sets the value for OpacityB in the options object The difference opacity for insertions
PDFNetException |
---|
Sets the value for ShowPlaceholders in the options object Whether to show placeholder annotations. On by default. Placeholders are insertion locations in document A and deletion locations in document B. For example, if a word is removed from document B, we can highlight the location of the original word in document A, but there is no word to highlight in B (it's removed). In this case a small "placeholder" annotation is placed in B to identify the location of the removal.
PDFNetException |
---|