@Deprecated public class ComparisonPresentation extends ComparisonPresentationBase
Class ComparisonPresentation.
Constructor and Description |
---|
ComparisonPresentation()
Deprecated.
Initializes a new instance of the
ComparisonPresentation class. |
ComparisonPresentation(InputStream stream)
Deprecated.
Initializes a new instance of the
ComparisonPresentation class. |
ComparisonPresentation(InputStream stream,
String password)
Deprecated.
Initializes a new instance of the
ComparisonPresentation class. |
ComparisonPresentation(Object pres,
SlidesComparisonSettings settings)
Deprecated.
Instantiates a new Comparison _presentation.
|
ComparisonPresentation(com.aspose.ms.System.IO.Stream stream,
String password)
Deprecated.
Instantiates a new Comparison _presentation.
|
ComparisonPresentation(String path)
Deprecated.
Initializes a new instance of the
ComparisonPresentation class. |
ComparisonPresentation(String path,
String password)
Deprecated.
Initializes a new instance of the
ComparisonPresentation class. |
Modifier and Type | Method and Description |
---|---|
ISlidesCompareResult |
compareWith(ComparisonPresentationBase target,
SlidesComparisonSettings settings)
Deprecated.
Compares the with.
|
void |
dispose()
Deprecated.
Releases unmanaged and - optionally - managed resources.
|
Object |
getAsposeObject()
Deprecated.
Gets aspose object.
|
double |
getDocumentStreamLength()
Deprecated.
Get Document Stream Length
|
List<ComparisonSlideBase> |
getSlides()
Deprecated.
Gets the slides.
|
Dimension2D |
getSlideSize()
Deprecated.
Gets the size of the slide.
|
void |
prepareImage(com.aspose.slides.ISlide slide,
double defW,
double defH,
com.aspose.ms.System.Collections.Generic.List<Integer> delSlides,
com.aspose.ms.System.Collections.Generic.List<Integer> insSlides,
com.aspose.slides.IPresentation pres)
Deprecated.
Prepare image.
|
void |
save(OutputStream stream,
int format)
Deprecated.
Saves the specified path.
|
void |
save(String path,
int format)
Deprecated.
Saves the specified path.
|
void |
saveAsImages(List<ByteArrayOutputStream> streams,
ComparisonSlidesImageSettings settings)
Deprecated.
Saves to images.
|
void |
saveAsImages(String path,
ComparisonSlidesImageSettings settings)
Deprecated.
Saves to images.
|
void |
saveAsImagesInternal(List<ByteArrayOutputStream> streams,
ComparisonSlidesImageSettings settings)
Deprecated.
Save as images internal.
|
void |
saveSlideAsImage(OutputStream imageStream,
ComparisonSlidesImageSettings settings,
int slideIndex)
Deprecated.
Saves the slide as image.
|
void |
saveSlideAsImage(String path,
ComparisonSlidesImageSettings settings,
int slideIndex)
Deprecated.
Saves to images.
|
void |
saveToImages(List<OutputStream> streams,
int zoom)
Deprecated.
Saves to images.
|
void |
saveToImages(String path,
int zoom)
Deprecated.
Saves to images.
|
void |
saveToImagesInternal(List<OutputStream> streams,
int zoom)
Deprecated.
Save to images internal.
|
public ComparisonPresentation(InputStream stream) throws Exception
Initializes a new instance of the ComparisonPresentation
class.
stream
- The stream.Exception
public ComparisonPresentation(InputStream stream, String password) throws Exception
Initializes a new instance of the ComparisonPresentation
class.
stream
- The stream.password
- The password.Exception
public ComparisonPresentation(com.aspose.ms.System.IO.Stream stream, String password) throws Exception
stream
- the streampassword
- the passwordException
public ComparisonPresentation(String path) throws Exception
Initializes a new instance of the ComparisonPresentation
class.
path
- The path.Exception
public ComparisonPresentation(String path, String password) throws Exception
Initializes a new instance of the ComparisonPresentation
class.
path
- The path.password
- The password.Exception
public ComparisonPresentation()
Initializes a new instance of the ComparisonPresentation
class.
public ComparisonPresentation(Object pres, SlidesComparisonSettings settings)
pres
- the pressettings
- the settingspublic ISlidesCompareResult compareWith(ComparisonPresentationBase target, SlidesComparisonSettings settings) throws Exception
Compares the with.
compareWith
in class ComparisonPresentationBase
target
- settings
- The settings.Exception
public void save(OutputStream stream, int format)
Saves the specified path.
save
in class ComparisonPresentationBase
stream
- the stream.format
- The format.public void save(String path, int format)
Saves the specified path.
save
in class ComparisonPresentationBase
path
- The path.format
- The format.public void prepareImage(com.aspose.slides.ISlide slide, double defW, double defH, com.aspose.ms.System.Collections.Generic.List<Integer> delSlides, com.aspose.ms.System.Collections.Generic.List<Integer> insSlides, com.aspose.slides.IPresentation pres)
slide
- the slidedefW
- the def wdefH
- the def hdelSlides
- the del slidesinsSlides
- the ins slidespres
- the prespublic void saveToImages(String path, int zoom) throws IOException
Saves to images.
path
- The path.zoom
- The zoom.IOException
public void saveToImages(List<OutputStream> streams, int zoom) throws IOException
Saves to images.
streams
- The streams.zoom
- The zoom.IOException
public void saveToImagesInternal(List<OutputStream> streams, int zoom) throws IOException
ComparisonPresentationBase
saveToImagesInternal
in class ComparisonPresentationBase
streams
- the streamszoom
- the zoomIOException
- the io exceptionpublic void saveAsImages(String path, ComparisonSlidesImageSettings settings) throws IOException
Saves to images.
saveAsImages
in class ComparisonPresentationBase
path
- The path.settings
- The settings.IOException
- the io exceptionpublic void saveSlideAsImage(OutputStream imageStream, ComparisonSlidesImageSettings settings, int slideIndex) throws IOException
Saves the slide as image.
saveSlideAsImage
in class ComparisonPresentationBase
imageStream
- The streams.settings
- The settings.slideIndex
- Index of the slide.IOException
- the io exceptionpublic void saveSlideAsImage(String path, ComparisonSlidesImageSettings settings, int slideIndex) throws IOException
Saves to images.
saveSlideAsImage
in class ComparisonPresentationBase
path
- The path.settings
- The settings.slideIndex
- IOException
- the io exceptionpublic void saveAsImages(List<ByteArrayOutputStream> streams, ComparisonSlidesImageSettings settings) throws IOException
Saves to images.
saveAsImages
in class ComparisonPresentationBase
streams
- The streams.settings
- The settings.IOException
- the io exceptionpublic void saveAsImagesInternal(List<ByteArrayOutputStream> streams, ComparisonSlidesImageSettings settings) throws IOException
ComparisonPresentationBase
saveAsImagesInternal
in class ComparisonPresentationBase
streams
- the streamssettings
- the settingsIOException
- the io exceptionpublic List<ComparisonSlideBase> getSlides()
Gets the slides.
Value: The slides.getSlides
in class ComparisonPresentationBase
public Dimension2D getSlideSize()
Gets the size of the slide.
Value: The size of the slide.getSlideSize
in class ComparisonPresentationBase
public void dispose()
Releases unmanaged and - optionally - managed resources.
dispose
in interface com.aspose.ms.System.IDisposable
dispose
in class ComparisonPresentationBase
public Object getAsposeObject()
ComparisonPresentationBase
getAsposeObject
in class ComparisonPresentationBase
public double getDocumentStreamLength()
Get Document Stream Length
getDocumentStreamLength
in class ComparisonPresentationBase
Copyright © 2018. All rights reserved.