com.spire.pdf.comparison
Class PdfCompareOptions

java.lang.Object
  extended by com.spire.pdf.comparison.PdfCompareOptions

public class PdfCompareOptions
extends java.lang.Object

The compare options.


Constructor Summary
PdfCompareOptions()
           
 
Method Summary
 int getNewPageEndIndex()
          The end index of new document range.
 int getNewPageStartIndex()
          The start index of new document range.
 int getOldPageEndIndex()
          The end index of old document range.
 int getOldPageStartIndex()
          The start index of old document range.
 boolean getOnlyCompareText()
          Whether is only compare text.
 void setPageRanges(int oldStartIndex, int oldEndIndex, int newStartIndex, int newEndIndex)
          Set the compared documents page ranges.
 

Constructor Detail

PdfCompareOptions

public PdfCompareOptions()
Method Detail

getOldPageStartIndex

public int getOldPageStartIndex()
The start index of old document range.

Returns:
The start index of old document range.

getOldPageEndIndex

public int getOldPageEndIndex()
The end index of old document range.

Returns:
The end index of old document range.

getNewPageStartIndex

public int getNewPageStartIndex()
The start index of new document range.

Returns:
The start index of new document range.

getNewPageEndIndex

public int getNewPageEndIndex()
The end index of new document range.

Returns:

setPageRanges

public void setPageRanges(int oldStartIndex,
                          int oldEndIndex,
                          int newStartIndex,
                          int newEndIndex)
Set the compared documents page ranges.

Parameters:
oldStartIndex - The old document page start index.
oldEndIndex - The old document page end index.
newStartIndex - The new document page start index.
newEndIndex - The new document page end index.

getOnlyCompareText

public boolean getOnlyCompareText()
Whether is only compare text.

Returns: