@Deprecated public class PdfComparedResult extends Object implements com.groupdocs.comparison.pdf.contracts.comparedresult.INewPdfComparedResult, IPdfComparedResult
Class PdfComparedResult.
Constructor and Description |
---|
PdfComparedResult(com.aspose.ms.System.Collections.Generic.List<com.groupdocs.comparison.pdf.contracts.settings.IComparisonPageSettings> pagesSettings,
com.aspose.ms.System.Collections.Generic.List<IComparisonComponent> components,
com.aspose.ms.System.Collections.Generic.List<ComparisonWatermarkBase> watermarks,
com.aspose.ms.System.Collections.Generic.List<IComparisonParagraph> paragraphs,
int countOfErrors,
PdfComparisonSettings settings)
Deprecated.
Initializes a new instance of the
PdfComparedResult class. |
Modifier and Type | Method and Description |
---|---|
ChangeInfo[] |
getChanges()
Deprecated.
Gets all changes
|
List<IComparisonComponent> |
getComponents()
Deprecated.
Gets or sets the components.
|
int |
getCountOfErrors()
Deprecated.
Gets or sets the count of errors.
|
List<InputStream> |
getImages()
Deprecated.
Gets or sets the images.
|
com.aspose.ms.System.IO.Stream[] |
GetImages()
Deprecated.
Gets the images.
|
List<IComparedPage> |
getPages()
Deprecated.
Gets the pages.
|
List<IComparisonParagraph> |
getParagraphs()
Deprecated.
Gets or sets the paragraphs.
|
ComparisonPdfDocumentBase |
getResultDocument(PdfComparisonSettings settings)
Deprecated.
Gets the result document.
|
InputStream |
getStream()
Deprecated.
Gets the stream.
|
com.aspose.ms.System.IO.Stream |
getStreamInternal()
Deprecated.
|
List<IComparisonTable> |
getTables()
Deprecated.
Gets or sets the tables.
|
List<ComparisonWatermarkBase> |
getWatermarks()
Deprecated.
Gets or sets the tables.
|
void |
saveAsImages(List<ByteArrayOutputStream> imageStreams,
ComparisonPdfImageSettings imageSettings)
Deprecated.
Saves result as images.
|
void |
saveAsImages(String folderPath,
ComparisonPdfImageSettings imageSettings)
Deprecated.
Saves result as images.
|
void |
saveDocument(String path)
Deprecated.
Saves the document.
|
void |
saveImages(String folderPath)
Deprecated.
Saves the images.
|
void |
savePageAsImage(OutputStream imageStream,
ComparisonPdfImageSettings imageSettings,
int pageIndex)
Deprecated.
Saves the page as image.
|
void |
savePageAsImage(String folderPath,
ComparisonPdfImageSettings imageSettings,
int pageIndex)
Deprecated.
Saves the page as image.
|
void |
saveTo(OutputStream stream)
Deprecated.
Saves to stream
|
void |
saveTo(String path)
Deprecated.
Saves document to the specified file
|
void |
setComponents(List<IComparisonComponent> value)
Deprecated.
Gets or sets the components.
|
void |
setComponentsInternal(com.aspose.ms.System.Collections.Generic.List<IComparisonComponent> value)
Deprecated.
|
void |
setImages(List<InputStream> value)
Deprecated.
Gets or sets the images.
|
void |
setParagraphs(List<IComparisonParagraph> value)
Deprecated.
Gets or sets the paragraphs.
|
void |
setParagraphsInternal(com.aspose.ms.System.Collections.Generic.List<IComparisonParagraph> value)
Deprecated.
|
void |
setTables(List<IComparisonTable> value)
Deprecated.
Gets or sets the tables.
|
void |
setWatermarks(List<ComparisonWatermarkBase> value)
Deprecated.
Gets or sets the tables.
|
void |
setWatermarksInternal(com.aspose.ms.System.Collections.Generic.List<ComparisonWatermarkBase> value)
Deprecated.
|
void |
updateChanges(ChangeInfo[] changes)
Deprecated.
Applies Accepted and Rejected changes
|
public PdfComparedResult(com.aspose.ms.System.Collections.Generic.List<com.groupdocs.comparison.pdf.contracts.settings.IComparisonPageSettings> pagesSettings, com.aspose.ms.System.Collections.Generic.List<IComparisonComponent> components, com.aspose.ms.System.Collections.Generic.List<ComparisonWatermarkBase> watermarks, com.aspose.ms.System.Collections.Generic.List<IComparisonParagraph> paragraphs, int countOfErrors, PdfComparisonSettings settings)
Initializes a new instance of the PdfComparedResult
class.
public List<IComparisonComponent> getComponents()
Gets or sets the components.
Value: The components.getComponents
in interface com.groupdocs.comparison.pdf.contracts.comparedresult.INewPdfComparedResult
public void setComponents(List<IComparisonComponent> value)
Gets or sets the components.
Value: The components.setComponents
in interface com.groupdocs.comparison.pdf.contracts.comparedresult.INewPdfComparedResult
value
- the valuepublic void setComponentsInternal(com.aspose.ms.System.Collections.Generic.List<IComparisonComponent> value)
public List<IComparisonParagraph> getParagraphs()
Gets or sets the paragraphs.
Value: The paragraphs.getParagraphs
in interface com.groupdocs.comparison.pdf.contracts.comparedresult.INewPdfComparedResult
public void setParagraphs(List<IComparisonParagraph> value)
Gets or sets the paragraphs.
Value: The paragraphs.setParagraphs
in interface com.groupdocs.comparison.pdf.contracts.comparedresult.INewPdfComparedResult
value
- the valuepublic void setParagraphsInternal(com.aspose.ms.System.Collections.Generic.List<IComparisonParagraph> value)
public List<InputStream> getImages()
Gets or sets the images.
Value: The images.getImages
in interface ICompareResult
getImages
in interface com.groupdocs.comparison.pdf.contracts.comparedresult.INewPdfComparedResult
public void setImages(List<InputStream> value)
Gets or sets the images.
Value: The images.setImages
in interface com.groupdocs.comparison.pdf.contracts.comparedresult.INewPdfComparedResult
value
- the valuepublic List<IComparisonTable> getTables()
Gets or sets the tables.
Value: The tables.getTables
in interface com.groupdocs.comparison.pdf.contracts.comparedresult.INewPdfComparedResult
public void setTables(List<IComparisonTable> value)
Gets or sets the tables.
Value: The tables.setTables
in interface com.groupdocs.comparison.pdf.contracts.comparedresult.INewPdfComparedResult
value
- the valuepublic List<ComparisonWatermarkBase> getWatermarks()
Gets or sets the tables.
Value: The tables.getWatermarks
in interface com.groupdocs.comparison.pdf.contracts.comparedresult.INewPdfComparedResult
public void setWatermarks(List<ComparisonWatermarkBase> value)
Gets or sets the tables.
Value: The tables.setWatermarks
in interface com.groupdocs.comparison.pdf.contracts.comparedresult.INewPdfComparedResult
value
- the valuepublic void setWatermarksInternal(com.aspose.ms.System.Collections.Generic.List<ComparisonWatermarkBase> value)
public List<IComparedPage> getPages()
Gets the pages.
Value: The pages.getPages
in interface IPdfComparedResult
public ComparisonPdfDocumentBase getResultDocument(PdfComparisonSettings settings)
Gets the result document.
getResultDocument
in interface com.groupdocs.comparison.pdf.contracts.comparedresult.INewPdfComparedResult
settings
- the settingspublic void saveTo(OutputStream stream)
Saves to stream
saveTo
in interface IPdfComparedResult
stream
- The stream.public void saveTo(String path)
Saves document to the specified file
saveTo
in interface IPdfComparedResult
path
- The path.public void saveAsImages(List<ByteArrayOutputStream> imageStreams, ComparisonPdfImageSettings imageSettings)
Saves result as images.
saveAsImages
in interface IPdfComparedResult
imageStreams
- The image streams.imageSettings
- The image settings.public void saveAsImages(String folderPath, ComparisonPdfImageSettings imageSettings)
Saves result as images.
saveAsImages
in interface IPdfComparedResult
folderPath
- The folder path.imageSettings
- The image settings.public void savePageAsImage(String folderPath, ComparisonPdfImageSettings imageSettings, int pageIndex)
Saves the page as image.
savePageAsImage
in interface IPdfComparedResult
folderPath
- The folder path.imageSettings
- The image settings.pageIndex
- Index of the page.public void savePageAsImage(OutputStream imageStream, ComparisonPdfImageSettings imageSettings, int pageIndex)
Saves the page as image.
savePageAsImage
in interface IPdfComparedResult
imageStream
- The image stream.imageSettings
- The image settings.pageIndex
- Index of the page.public ChangeInfo[] getChanges()
Gets all changes
getChanges
in interface ICompareResult
public void updateChanges(ChangeInfo[] changes)
Applies Accepted and Rejected changes
updateChanges
in interface ICompareResult
changes
- public int getCountOfErrors()
Gets or sets the count of errors.
Value: The count of errors.getCountOfErrors
in interface ICompareResult
public void saveDocument(String path)
Saves the document.
saveDocument
in interface ICompareResult
path
- The path.public void saveImages(String folderPath)
Saves the images.
saveImages
in interface ICompareResult
folderPath
- The folder path.public InputStream getStream()
Gets the stream.
getStream
in interface ICompareResult
public com.aspose.ms.System.IO.Stream getStreamInternal()
public com.aspose.ms.System.IO.Stream[] GetImages()
Gets the images.
Copyright © 2018. All rights reserved.