Class ResultOptions

java.lang.Object
com.deltaxml.pdfcompare.config.ResultOptions

public class ResultOptions extends Object
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 Details

    • ResultOptions

      public ResultOptions()
      Initializes a default ResultOptions instance.
    • ResultOptions

      public ResultOptions(String inputAMarkupStyle, String inputBMarkupStyle)
      Initializes a new ResultOptions instance 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 new ResultOptions instance 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

      public void setInputAMarkupStyle(String inputAMarkupStyle)
      Sets the colour to be used to highlight input A changes.
      Parameters:
      inputAMarkupStyle - The colour to use to highlight input A changes.
    • getInputAMarkupStyle

      public String getInputAMarkupStyle()
      Gets the current colour to be used to highlight input A changes.
      Returns:
      the current inputAMarkupStyle value.
    • setInputBMarkupStyle

      public void setInputBMarkupStyle(String inputBMarkupStyle)
      Sets the colour to be used to highlight input B changes.
      Parameters:
      inputBMarkupStyle - The colour to use to highlight input B changes.
    • getInputBMarkupStyle

      public String getInputBMarkupStyle()
      Gets the current colour to be used to highlight input B changes.
      Returns:
      the current inputBMarkupStyle value.
    • setSelectedChangeStyle

      public void setSelectedChangeStyle(String selectedChangeStyle)
      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

      public String getSelectedChangeStyle()
      Gets the colour to be used to highlight the selected change when navigating the report.
      Returns:
      The current selectedChangeStyle value.