Package com.deltaxml.pdfcompare.config
Class ResultOptions
java.lang.Object
com.deltaxml.pdfcompare.config.ResultOptions
Specifies configuration options for the PDF Comparison Result Report. These configuration options can be specified on a
PDFCompare to configure its behavior when outputting the comparison report.-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a defaultResultOptionsinstance.ResultOptions(String inputAMarkupStyle, String inputBMarkupStyle) Initializes a newResultOptionsinstance with the provided input A and B markup style.ResultOptions(String inputAMarkupStyle, String inputBMarkupStyle, String selectedChangeStyle) Initializes a newResultOptionsinstance with the provided input A and B markup style and selected change highlight colour. -
Method Summary
Modifier and TypeMethodDescriptionGets the current colour to be used to highlight input A changes.Gets the current colour to be used to highlight input B changes.Gets the colour to be used to highlight the selected change when navigating the report.voidsetInputAMarkupStyle(String inputAMarkupStyle) Sets the colour to be used to highlight input A changes.voidsetInputBMarkupStyle(String inputBMarkupStyle) Sets the colour to be used to highlight input B changes.voidsetSelectedChangeStyle(String selectedChangeStyle) Sets the colour to be used to highlight the selected change when navigating the report.
-
Constructor Details
-
ResultOptions
public ResultOptions()Initializes a defaultResultOptionsinstance. -
ResultOptions
Initializes a newResultOptionsinstance with the provided input A and B markup style.- Parameters:
inputAMarkupStyle- The colour to use to highlight input A changes.inputBMarkupStyle- The colour to use to highlight input B changes.
-
ResultOptions
public ResultOptions(String inputAMarkupStyle, String inputBMarkupStyle, String selectedChangeStyle) Initializes a newResultOptionsinstance with the provided input A and B markup style and selected change highlight colour.- Parameters:
inputAMarkupStyle- The colour to use to highlight input A changes.inputBMarkupStyle- The colour to use to highlight input B changes.selectedChangeStyle- The colour to use to highlight the selected change.
-
-
Method Details
-
setInputAMarkupStyle
Sets the colour to be used to highlight input A changes.- Parameters:
inputAMarkupStyle- The colour to use to highlight input A changes.
-
getInputAMarkupStyle
Gets the current colour to be used to highlight input A changes.- Returns:
- the current inputAMarkupStyle value.
-
setInputBMarkupStyle
Sets the colour to be used to highlight input B changes.- Parameters:
inputBMarkupStyle- The colour to use to highlight input B changes.
-
getInputBMarkupStyle
Gets the current colour to be used to highlight input B changes.- Returns:
- the current inputBMarkupStyle value.
-
setSelectedChangeStyle
Sets the colour to be used to highlight the selected change when navigating the report.- Parameters:
selectedChangeStyle- The colour to use to highlight the selected change.
-
getSelectedChangeStyle
Gets the colour to be used to highlight the selected change when navigating the report.- Returns:
- The current selectedChangeStyle value.
-