com.groupdocs.comparison.words.revision

Class ApplyRevisionOptions



  • public class ApplyRevisionOptions
    extends Object
    Allows you to update the state of revisions before they are applied to the final document.
    • Constructor Detail

      • ApplyRevisionOptions

        public ApplyRevisionOptions()
        Instantiates a new Apply revision options.
      • ApplyRevisionOptions

        public ApplyRevisionOptions(List<RevisionInfo> changes)
        Instantiates a new Apply revision options.
        Parameters:
        changes - the changes
      • ApplyRevisionOptions

        public ApplyRevisionOptions(List<RevisionInfo> changes,
                                    RevisionAction commonHandler)
        Instantiates a new Apply revision options.
        Parameters:
        changes - the changes
        commonHandler - the common handler
      • ApplyRevisionOptions

        public ApplyRevisionOptions(RevisionAction mCommonHandler)
        Instantiates a new Apply revision options.
        Parameters:
        mCommonHandler - the m common handler
    • Method Detail

      • getChanges

        public List<RevisionInfo> getChanges()
        The list of revisions processed, which will be applied to the resulting document.
        Returns:
        the changes
      • getCommonHandler

        public RevisionAction getCommonHandler()
        Indicates whether to apply one action for all revisions
        Returns:
        the common handler
      • setChanges

        public void setChanges(List<RevisionInfo> changes)
        The list of revisions processed, which will be applied to the resulting document.
        Parameters:
        changes - the changes
      • setCommonHandler

        public void setCommonHandler(RevisionAction commonHandler)
        Indicates whether to apply one action for all revisions
        Parameters:
        commonHandler - the common handler