@Deprecated public abstract class ComparisonPdfDocumentBase extends Object implements com.aspose.ms.System.IDisposable
Class ComparisonPdfDocumentBase
Constructor and Description |
---|
ComparisonPdfDocumentBase()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract IPdfComparedResult |
compareWith(ComparisonPdfDocumentBase document,
PdfComparisonSettings settings)
Deprecated.
Compares this document with another.
|
abstract IPdfComparedResult |
compareWith(ComparisonPdfDocumentBase document,
PdfComparisonSettings settings,
boolean useExperimentalCore)
Deprecated.
Compares this document with another.
|
abstract void |
dispose()
Deprecated.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
abstract double |
getDocumentStreamLength()
Deprecated.
Gets the length of the document stream.
|
abstract com.aspose.ms.System.Collections.Generic.List<IComparisonImagePlacement> |
getImagesFromDocument()
Deprecated.
Gets the images from document.
|
abstract double |
getPageHeight()
Deprecated.
Gets the height of the page.
|
abstract double |
getPageMarginBottom()
Deprecated.
Gets the page margin bottom.
|
abstract double |
getPageMarginLeft()
Deprecated.
Gets the page margin left.
|
abstract double |
getPageMarginRight()
Deprecated.
Gets the page margin right.
|
abstract double |
getPageMarginTop()
Deprecated.
Gets the page margin top.
|
abstract List<ComparisonPageBase> |
getPages()
Deprecated.
Gets or sets the pages.
|
abstract double |
getPageWidth()
Deprecated.
Gets the width of the page.
|
abstract com.aspose.ms.System.Collections.Generic.List<IComparisonParagraph> |
getParagagraphsFromDocument()
Deprecated.
Gets paragraphs from document.
|
abstract com.aspose.ms.System.Collections.Generic.List<IComparisonTable> |
getTablesFromDocument()
Deprecated.
Gets tables from document.
|
abstract void |
saveAsImages(List<ByteArrayOutputStream> imagesStreams,
ComparisonPdfImageSettings settings)
Deprecated.
Saves document as images.
|
abstract void |
saveAsImages(String folderPath,
ComparisonPdfImageSettings settings)
Deprecated.
Saves document as images.
|
abstract void |
savePageAsImage(OutputStream imageStream,
ComparisonPdfImageSettings settings,
int pageIndex)
Deprecated.
Saves document as images.
|
abstract void |
savePageAsImage(String folderPath,
ComparisonPdfImageSettings settings,
int pageIndex)
Deprecated.
Saves document as images.
|
abstract boolean |
saveTo(OutputStream content)
Deprecated.
Saves to.
|
abstract boolean |
saveTo(String path)
Deprecated.
Saves to.
|
abstract void |
setPages(List<ComparisonPageBase> value)
Deprecated.
Gets or sets the pages.
|
public abstract IPdfComparedResult compareWith(ComparisonPdfDocumentBase document, PdfComparisonSettings settings) throws Exception
Compares this document with another.
document
- The document.settings
- The settings.Exception
public abstract IPdfComparedResult compareWith(ComparisonPdfDocumentBase document, PdfComparisonSettings settings, boolean useExperimentalCore) throws Exception
Compares this document with another.
document
- The document.settings
- The settings.useExperimentalCore
- if set to true
[use experimental core].Exception
public abstract double getDocumentStreamLength()
Gets the length of the document stream.
public abstract boolean saveTo(OutputStream content)
Saves to.
content
- The content.public abstract boolean saveTo(String path)
Saves to.
path
- The path.public abstract void saveAsImages(String folderPath, ComparisonPdfImageSettings settings)
Saves document as images.
folderPath
- the folder pathsettings
- the settingspublic abstract void saveAsImages(List<ByteArrayOutputStream> imagesStreams, ComparisonPdfImageSettings settings) throws IOException
Saves document as images.
imagesStreams
- The images streams.settings
- Image saving settingsIOException
public abstract void savePageAsImage(String folderPath, ComparisonPdfImageSettings settings, int pageIndex)
Saves document as images.
folderPath
- the folder pathsettings
- the settingspageIndex
- the page indexpublic abstract void savePageAsImage(OutputStream imageStream, ComparisonPdfImageSettings settings, int pageIndex)
Saves document as images.
imageStream
- The image stream.settings
- Image saving settingspageIndex
- Index of page to savepublic abstract com.aspose.ms.System.Collections.Generic.List<IComparisonImagePlacement> getImagesFromDocument()
Gets the images from document.
public abstract com.aspose.ms.System.Collections.Generic.List<IComparisonTable> getTablesFromDocument()
public abstract com.aspose.ms.System.Collections.Generic.List<IComparisonParagraph> getParagagraphsFromDocument()
public abstract List<ComparisonPageBase> getPages()
Gets or sets the pages.
Value: The pages.public abstract void setPages(List<ComparisonPageBase> value)
Gets or sets the pages.
Value: The pages.public abstract double getPageWidth()
Gets the width of the page.
Value: The width of the page.public abstract double getPageHeight()
Gets the height of the page.
Value: The height of the page.public abstract double getPageMarginLeft()
Gets the page margin left.
Value: The page margin left.public abstract double getPageMarginRight()
Gets the page margin right.
Value: The page margin right.public abstract double getPageMarginTop()
Gets the page margin top.
Value: The page margin top.public abstract double getPageMarginBottom()
Gets the page margin bottom.
Value: The page margin bottom.public abstract void dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
dispose
in interface com.aspose.ms.System.IDisposable
Copyright © 2018. All rights reserved.