@Deprecated public class ComparisonPdfDocument extends ComparisonPdfDocumentBase
Class ComparisonPdfDocument.
Constructor and Description |
---|
ComparisonPdfDocument()
Deprecated.
Initializes a new instance of the
ComparisonPdfDocument class. |
ComparisonPdfDocument(com.aspose.pdf.Document content)
Deprecated.
Initializes a new instance of the
ComparisonPdfDocument class. |
ComparisonPdfDocument(InputStream content)
Deprecated.
Initializes a new instance of the
ComparisonPdfDocument class. |
ComparisonPdfDocument(InputStream content,
String password)
Deprecated.
Initializes a new instance of the
ComparisonPdfDocument class. |
ComparisonPdfDocument(String path)
Deprecated.
Initializes a new instance of the
ComparisonPdfDocument class. |
ComparisonPdfDocument(String path,
String password)
Deprecated.
Initializes a new instance of the
ComparisonPdfDocument class. |
Modifier and Type | Method and Description |
---|---|
IPdfComparedResult |
compareWith(ComparisonPdfDocumentBase document,
PdfComparisonSettings settings)
Deprecated.
Compares the with.
|
IPdfComparedResult |
compareWith(ComparisonPdfDocumentBase document,
PdfComparisonSettings settings,
boolean useExperimentalCore)
Deprecated.
Compares the with.
|
void |
dispose()
Deprecated.
Releases unmanaged and - optionally - managed resources.
|
double |
getDocumentStreamLength()
Deprecated.
Gets the length of the document stream.
|
com.aspose.ms.System.Collections.Generic.List<IComparisonImagePlacement> |
getImagesFromDocument()
Deprecated.
Gets the images from document.
|
double |
getPageHeight()
Deprecated.
Gets the height of the page.
|
double |
getPageMarginBottom()
Deprecated.
Gets the page margin bottom.
|
double |
getPageMarginLeft()
Deprecated.
Gets the page margin left.
|
double |
getPageMarginRight()
Deprecated.
Gets the page margin right.
|
double |
getPageMarginTop()
Deprecated.
Gets the page margin top.
|
List<ComparisonPageBase> |
getPages()
Deprecated.
Gets the pages.
|
double |
getPageWidth()
Deprecated.
Gets the width of the page.
|
com.aspose.ms.System.Collections.Generic.List<IComparisonParagraph> |
getParagagraphsFromDocument()
Deprecated.
Gets paragraphs from document.
|
com.aspose.ms.System.Collections.Generic.List<IComparisonTable> |
getTablesFromDocument()
Deprecated.
Gets the tables from document.
|
void |
saveAsImages(List<ByteArrayOutputStream> imagesStreams,
ComparisonPdfImageSettings settings)
Deprecated.
Saves document as images into a list of streams.
|
void |
saveAsImages(String folderPath,
ComparisonPdfImageSettings settings)
Deprecated.
Saves document as images into specified folder.
|
void |
savePageAsImage(OutputStream imageStream,
ComparisonPdfImageSettings settings,
int pageIndexer)
Deprecated.
Saves the page as image.
|
void |
savePageAsImage(String folderPath,
ComparisonPdfImageSettings settings,
int pageIndexer)
Deprecated.
Saves document as images.
|
boolean |
saveTo(OutputStream content)
Deprecated.
Saves to.
|
boolean |
saveTo(String path)
Deprecated.
Saves to.
|
void |
setPages(List<ComparisonPageBase> value)
Deprecated.
Gets the pages.
|
public ComparisonPdfDocument()
Initializes a new instance of the ComparisonPdfDocument
class.
public ComparisonPdfDocument(com.aspose.pdf.Document content)
Initializes a new instance of the ComparisonPdfDocument
class.
content
- The content.public ComparisonPdfDocument(InputStream content) throws Exception
Initializes a new instance of the ComparisonPdfDocument
class.
content
- The content.Exception
public ComparisonPdfDocument(InputStream content, String password) throws Exception
Initializes a new instance of the ComparisonPdfDocument
class.
content
- The content.password
- The password.Exception
public ComparisonPdfDocument(String path) throws Exception
Initializes a new instance of the ComparisonPdfDocument
class.
path
- The path.Exception
public IPdfComparedResult compareWith(ComparisonPdfDocumentBase document, PdfComparisonSettings settings) throws Exception
Compares the with.
compareWith
in class ComparisonPdfDocumentBase
document
- The document.settings
- The settings.Exception
public IPdfComparedResult compareWith(ComparisonPdfDocumentBase document, PdfComparisonSettings settings, boolean useExperimentalCore) throws Exception
Compares the with.
compareWith
in class ComparisonPdfDocumentBase
document
- The document.settings
- The settings.useExperimentalCore
- Exception
public boolean saveTo(OutputStream content)
Saves to.
saveTo
in class ComparisonPdfDocumentBase
content
- The content.public boolean saveTo(String path)
Saves to.
saveTo
in class ComparisonPdfDocumentBase
path
- The path.public void saveAsImages(String folderPath, ComparisonPdfImageSettings settings)
Saves document as images into specified folder.
saveAsImages
in class ComparisonPdfDocumentBase
folderPath
- settings
- public void saveAsImages(List<ByteArrayOutputStream> imagesStreams, ComparisonPdfImageSettings settings) throws IOException
Saves document as images into a list of streams.
saveAsImages
in class ComparisonPdfDocumentBase
imagesStreams
- The images streams.settings
- IOException
public void savePageAsImage(String folderPath, ComparisonPdfImageSettings settings, int pageIndexer)
Saves document as images.
savePageAsImage
in class ComparisonPdfDocumentBase
folderPath
- settings
- pageIndexer
- public void savePageAsImage(OutputStream imageStream, ComparisonPdfImageSettings settings, int pageIndexer)
Saves the page as image.
savePageAsImage
in class ComparisonPdfDocumentBase
imageStream
- The images streams.settings
- The settings.pageIndexer
- Index of the page.public double getPageHeight()
Gets the height of the page.
Value: The height of the page.getPageHeight
in class ComparisonPdfDocumentBase
public double getPageMarginLeft()
Gets the page margin left.
Value: The page margin left.getPageMarginLeft
in class ComparisonPdfDocumentBase
public double getPageMarginRight()
Gets the page margin right.
Value: The page margin right.getPageMarginRight
in class ComparisonPdfDocumentBase
public double getPageMarginTop()
Gets the page margin top.
Value: The page margin top.getPageMarginTop
in class ComparisonPdfDocumentBase
public double getPageMarginBottom()
Gets the page margin bottom.
Value: The page margin bottom.getPageMarginBottom
in class ComparisonPdfDocumentBase
public double getPageWidth()
Gets the width of the page.
Value: The width of the page.getPageWidth
in class ComparisonPdfDocumentBase
public List<ComparisonPageBase> getPages()
Gets the pages.
Value: The pages.getPages
in class ComparisonPdfDocumentBase
public void setPages(List<ComparisonPageBase> value)
Gets the pages.
Value: The pages.setPages
in class ComparisonPdfDocumentBase
public com.aspose.ms.System.Collections.Generic.List<IComparisonTable> getTablesFromDocument()
Gets the tables from document.
getTablesFromDocument
in class ComparisonPdfDocumentBase
public com.aspose.ms.System.Collections.Generic.List<IComparisonParagraph> getParagagraphsFromDocument()
ComparisonPdfDocumentBase
getParagagraphsFromDocument
in class ComparisonPdfDocumentBase
public com.aspose.ms.System.Collections.Generic.List<IComparisonImagePlacement> getImagesFromDocument()
Gets the images from document.
getImagesFromDocument
in class ComparisonPdfDocumentBase
public void dispose()
Releases unmanaged and - optionally - managed resources.
dispose
in interface com.aspose.ms.System.IDisposable
dispose
in class ComparisonPdfDocumentBase
public double getDocumentStreamLength()
Gets the length of the document stream.
getDocumentStreamLength
in class ComparisonPdfDocumentBase
Copyright © 2018. All rights reserved.