com.groupdocs.comparison.options

Class CompareOptions.Builder

  • Enclosing class:
    CompareOptions


    public static class CompareOptions.Builder
    extends Object
    A little sugar
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new Builder.
    • Method Detail

      • build

        public final CompareOptions build()
        Build compare options.
        Returns:
        the compare options
      • setCalculateCoordinates

        public CompareOptions.Builder setCalculateCoordinates(boolean value)
        Sets calculate coordinates.
        Parameters:
        value - the value
        Returns:
        the calculate coordinates
      • setChangedItemStyle

        public CompareOptions.Builder setChangedItemStyle(StyleSettings value)
        Sets changed item style.
        Parameters:
        value - the value
        Returns:
        the changed item style
      • setCompareBookmarks

        public CompareOptions.Builder setCompareBookmarks(boolean value)
        Sets compare bookmarks.
        Parameters:
        value - the value
        Returns:
        the compare bookmarks
      • setCompareDocumentProperty

        public CompareOptions.Builder setCompareDocumentProperty(boolean value)
        Sets compare document property.
        Parameters:
        value - the value
        Returns:
        the compare document property
      • setCompareVariableProperty

        public CompareOptions.Builder setCompareVariableProperty(boolean value)
        Sets compare variable property.
        Parameters:
        value - the value
        Returns:
        the compare variable property
      • setDeletedItemStyle

        public CompareOptions.Builder setDeletedItemStyle(StyleSettings value)
        Sets deleted item style.
        Parameters:
        value - the value
        Returns:
        the deleted item style
      • setDetalisationLevel

        public CompareOptions.Builder setDetalisationLevel(int value)
        Sets detalisation level.
        Parameters:
        value - the value
        Returns:
        the detalisation level
      • setDetectStyleChanges

        public CompareOptions.Builder setDetectStyleChanges(boolean value)
        Sets detect style changes.
        Parameters:
        value - the value
        Returns:
        the detect style changes
      • setExtendedSummaryPage

        public CompareOptions.Builder setExtendedSummaryPage(boolean value)
        Sets extended summary page.
        Parameters:
        value - the value
        Returns:
        the extended summary page
      • setGenerateSummaryPage

        public CompareOptions.Builder setGenerateSummaryPage(boolean value)
        Sets generate summary page.
        Parameters:
        value - the value
        Returns:
        the generate summary page
      • setHeaderFootersComparison

        public CompareOptions.Builder setHeaderFootersComparison(boolean value)
        Sets header footers comparison.
        Parameters:
        value - the value
        Returns:
        the header footers comparison
      • setInsertedItemStyle

        public CompareOptions.Builder setInsertedItemStyle(StyleSettings value)
        Sets inserted item style.
        Parameters:
        value - the value
        Returns:
        the inserted item style
      • setLeaveGaps

        public CompareOptions.Builder setLeaveGaps(boolean value)
        Sets leave gaps.
        Parameters:
        value - the value
        Returns:
        the leave gaps
      • setMarkChangedContent

        public CompareOptions.Builder setMarkChangedContent(boolean value)
        Sets mark changed content.
        Parameters:
        value - the value
        Returns:
        the mark changed content
      • setMarkNestedContent

        public CompareOptions.Builder setMarkNestedContent(boolean value)
        Sets mark nested content.
        Parameters:
        value - the value
        Returns:
        the mark nested content
      • setMultipleComparison

        public CompareOptions.Builder setMultipleComparison(boolean value)
        Sets multiple comparison.
        Parameters:
        value - the value
        Returns:
        the multiple comparison
      • setPaperSize

        public CompareOptions.Builder setPaperSize(int value)
        Sets paper size.
        Parameters:
        value - the value
        Returns:
        the paper size
      • setPasswordSaveOption

        public CompareOptions.Builder setPasswordSaveOption(int value)
        Sets password save option.
        Parameters:
        value - the value
        Returns:
        the password save option
      • setSensitivityOfComparison

        public CompareOptions.Builder setSensitivityOfComparison(int value)
        Sets sensitivity of comparison.
        Parameters:
        value - the value
        Returns:
        the sensitivity of comparison
      • setShowDeletedContent

        public CompareOptions.Builder setShowDeletedContent(boolean value)
        Sets show deleted content.
        Parameters:
        value - the value
        Returns:
        the show deleted content
      • setShowRevisions

        public CompareOptions.Builder setShowRevisions(boolean value)
        Sets show revisions.
        Parameters:
        value - the value
        Returns:
        the show revisions
      • setWordsSeparatorChars

        public CompareOptions.Builder setWordsSeparatorChars(char[] value)
        Sets words separator chars.
        Parameters:
        value - the value
        Returns:
        the words separator chars