Packages

 

com.groupdocs.comparison

Class Comparison

    • Constructor Detail

      • Comparison

        public Comparison(boolean sameSlideSize,
                  boolean compareTextAsDoc)
        Deprecated. 

        Initializes a new instance of the Comparison class.

        Parameters:
        sameSlideSize - if set to true [same slide size].
        compareTextAsDoc - if set to true [compare text as document].
      • Comparison

        public Comparison()
        Deprecated. 

        Initializes a new instance of the Comparison class.

    • Method Detail

      • compare

        public InputStream compare(InputStream source,
                          String sourcePassword,
                          InputStream target,
                          String targetPassword,
                          String resultPath,
                          int type,
                          ComparisonSettings settings)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        sourcePassword - The source password.
        target - The target.
        targetPassword - The taregt password.
        resultPath - The result path.
        type - The type.
        settings - The settings.
        Returns:
        Throws:
        Exception - Comparison quota exceeded
      • compare

        public InputStream compare(InputStream source,
                          String sourcePassword,
                          InputStream target,
                          String targetPassword,
                          String resultPath,
                          int type,
                          ComparisonSettings settings,
                          int targetExt)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        sourcePassword - The source password.
        target - The target.
        targetPassword - The taregt password.
        resultPath - The result path.
        type - The type.
        settings - The settings.
        targetExt - The target extention.
        Returns:
        Throws:
        Exception - Comparison quota exceeded
      • compare

        public InputStream compare(InputStream source,
                          InputStream target,
                          String resultPath,
                          int type,
                          ComparisonSettings settings,
                          int targetExt)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        target - The target.
        resultPath - The result path.
        type - The type.
        settings - The settings.
        targetExt - The target ext.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(InputStream source,
                          String sourcePassword,
                          InputStream target,
                          String targetPassword,
                          String resultPath,
                          ComparisonSettings settings)
                            throws Exception
        Deprecated. 

        Compares two documents

        Parameters:
        source - Source document stream
        sourcePassword - The source password.
        target - Target document stream
        targetPassword - The target password.
        resultPath - Result file path
        settings - Comparison settings
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(InputStream source,
                          String sourcePassword,
                          InputStream target,
                          String targetPassword,
                          String resultPath,
                          ComparisonSettings settings,
                          int targetExt)
                            throws Exception
        Deprecated. 

        Compares two documents

        Parameters:
        source - Source document stream
        sourcePassword - The source password.
        target - Target document stream
        targetPassword - The target password.
        resultPath - Result file path
        settings - Comparison settings
        targetExt - Comparison file extension
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(InputStream source,
                          String sourcePassword,
                          InputStream target,
                          String targetPassword,
                          int type,
                          ComparisonSettings settings)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        sourcePassword - The source password.
        target - The target.
        targetPassword - The target password.
        type - The type.
        settings - The settings.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(InputStream source,
                          InputStream target,
                          String resultPath,
                          int type,
                          int targetExt)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        target - The target.
        resultPath - The result path.
        type - The type.
        targetExt - The target ext.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(InputStream source,
                          String sourcePassword,
                          InputStream target,
                          String targetPassword,
                          String resultPath,
                          int type,
                          int targetExt)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        sourcePassword - The source password.
        target - The target.
        targetPassword - The target password.
        resultPath - The result path.
        type - The type.
        targetExt - The target ext.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(InputStream source,
                          InputStream target,
                          String resultPath,
                          int fileType)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        target - The target.
        resultPath - The result path.
        fileType - The FileType.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(InputStream source,
                          String sourcePassword,
                          InputStream target,
                          String targetPassword,
                          String resultPath)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        sourcePassword - The source password.
        target - The target.
        targetPassword - The target password.
        resultPath - The result path.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(InputStream source,
                          String sourcePassword,
                          InputStream target,
                          String targetPassword,
                          String resultPath,
                          int targetExt)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        sourcePassword - The source password.
        target - The target.
        targetPassword - The target password.
        resultPath - The result path.
        targetExt - The target ext.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(InputStream source,
                          String sourcePassword,
                          InputStream target,
                          String targetPassword,
                          int type)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        sourcePassword - The source password.
        target - The target.
        targetPassword - The target password.
        type - The type.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(InputStream source,
                          String sourcePassword,
                          InputStream target,
                          String targetPassword)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        sourcePassword - The source password.
        target - The target.
        targetPassword - The target password.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(String source,
                          String target,
                          String resultPath,
                          int type,
                          ComparisonSettings settings)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        target - The target.
        resultPath - The result path.
        type - The type.
        settings - The settings.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(String source,
                          String target,
                          String resultPath,
                          int type,
                          ComparisonSettings settings,
                          int targetExt)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        target - The target.
        resultPath - The result path.
        type - The type.
        settings - The settings.
        targetExt - The target ext.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(String source,
                          String sourcePassword,
                          String target,
                          String targetPassword,
                          String resultPath,
                          int type,
                          ComparisonSettings settings)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        sourcePassword - The source password.
        target - The target.
        targetPassword - The target password.
        resultPath - The result path.
        type - The type.
        settings - The settings.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(String source,
                          String sourcePassword,
                          String target,
                          String targetPassword,
                          String resultPath,
                          int type,
                          ComparisonSettings settings,
                          int targetExt)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        sourcePassword - The source password.
        target - The target.
        targetPassword - The target password.
        resultPath - The result path.
        type - The type.
        settings - The settings.
        targetExt - The target ext.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(String source,
                          String sourcePassword,
                          String target,
                          String targetPassword,
                          int type,
                          ComparisonSettings settings)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        sourcePassword - The source password.
        target - The target.
        targetPassword - The target password.
        type - The type.
        settings - The settings.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(String source,
                          String target,
                          String resultPath,
                          int type,
                          int targetExt)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        target - The target.
        resultPath - The result path.
        type - The type.
        targetExt - The target ext.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(String source,
                          String sourcePassword,
                          String target,
                          String targetPassword,
                          String resultPath,
                          int type,
                          int targetExt)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        sourcePassword - The source password.
        target - The target.
        targetPassword - The target password.
        resultPath - The result path.
        type - The type.
        targetExt - The target ext.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(String source,
                          String target,
                          int type)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        target - The target.
        type - The type.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(String source,
                          String sourcePassword,
                          String target,
                          String targetPassword,
                          int type)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        sourcePassword - The source password.
        target - The target.
        targetPassword - The target password.
        type - The type.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(String source,
                          String sourcePassword,
                          String target,
                          String targetPassword,
                          ComparisonSettings settings)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        sourcePassword - The source password.
        target - The target.
        targetPassword - The target password.
        settings - The settings.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(String source,
                          String target)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        target - The target.
        Returns:
        Throws:
        Exception
      • compare

        public InputStream compare(String source,
                          String sourcePassword,
                          String target,
                          String targetPassword)
                            throws Exception
        Deprecated. 

        Compares the specified source.

        Parameters:
        source - The source.
        sourcePassword - The source password.
        target - The target.
        targetPassword - The target password.
        Returns:
        Throws:
        Exception
      • updateChanges

        public void updateChanges(ChangeInfo[] changes,
                         String filePath)
                           throws Exception
        Deprecated. 

        Updates changes from current document

        Throws:
        Exception
      • updateChanges

        public InputStream updateChanges(ChangeInfo[] changes,
                                int fileType)
                                  throws Exception
        Deprecated. 

        Applies changes to current document

        Parameters:
        changes - List of changes to apply
        fileType - Type of file to change
        Returns:
        Stream with updated document
        Throws:
        Exception
      • getChanges

        public ChangeInfo[] getChanges()
                                throws Exception
        Deprecated. 

        Gets changes of comparison

        Returns:
        Returns an array of changes that presented in result
        Throws:
        Exception
      • saveAsImages

        public void saveAsImages(String folderPath)
                          throws Exception
        Deprecated. 

        Saves document as images.

        Parameters:
        folderPath - The folder path.
        Throws:
        Exception
      • savePageAsImage

        public void savePageAsImage(String folderPath,
                           int pageIndex)
                             throws Exception
        Deprecated. 

        Saves the page as image.

        Throws:
        Exception