com.groupdocs.comparison.options

Class ApplyChangeOptions



  • public class ApplyChangeOptions
    extends Object

    Allows to update the list of changes before applying them to the resulting document.

    • Constructor Detail

      • ApplyChangeOptions

        public ApplyChangeOptions()
        Initializes a new instance of the @ApplyChangeOptions class
      • ApplyChangeOptions

        public ApplyChangeOptions(ChangeInfo[] changes)
        Initializes a new instance of the @ApplyChangeOptions class
        Parameters:
        changes - the changes
      • ApplyChangeOptions

        public ApplyChangeOptions(List<ChangeInfo> changes)
        Initializes a new instance of the @ApplyChangeOptions class
        Parameters:
        changes - the changes
    • Method Detail

      • getChanges

        public final ChangeInfo[] getChanges()

        List of changes that must be applied to the resulting document.

        Returns:
        changes change info [ ]
      • isSaveOriginalState

        public boolean isSaveOriginalState()
        Is save original state boolean.
        Returns:
        the boolean
      • setChanges

        public final void setChanges(ChangeInfo[] value)

        List of changes that must be applied to the resulting document.

        Parameters:
        value - changes
      • setChanges

        public final void setChanges(List<ChangeInfo> value)

        List of changes that must be applied to the resulting document.

        Parameters:
        value - changes
      • setSaveOriginalState

        public void setSaveOriginalState(boolean saveOriginalState)
        Sets save original state.
        Parameters:
        saveOriginalState - the save original state