public class SlidesCompareResult extends Object implements ISlidesCompareResult
The compare result.
Constructor and Description |
---|
SlidesCompareResult(SlidesComparisonSettings settings,
List<ComparisonPresentationComponentBase> components,
int countOfErrors,
int saveFormat)
Initializes a new instance of the
SlidesCompareResult class. |
Modifier and Type | Method and Description |
---|---|
ChangeInfo[] |
getChanges()
Gets the changes information.
|
List<ComparisonPresentationComponentBase> |
getComponents()
Gets or sets the components.
|
com.aspose.ms.System.Collections.Generic.List<ComparisonPresentationComponentBase> |
getComponentsInternal() |
int |
getCountOfErrors()
Gets or sets the count of errors.
|
com.aspose.ms.System.Collections.Generic.List |
getImages()
Gets the images.
|
ComparisonPresentationBase |
getPresentation()
Gets the presentation.
|
ComparisonPresentationBase |
getPresentation(boolean withSameSlidesSize)
Gets the presentation.
|
int |
getSaveFormat()
Gets or sets the save format.
|
InputStream |
getStream()
Gets the stream.
|
com.aspose.ms.System.IO.Stream |
getStreamInternal() |
List<ComparisonPresentationComponentBase> |
getStructure()
Gets the structure.
|
com.aspose.ms.System.Collections.Generic.List<ComparisonPresentationComponentBase> |
getStructureInternal() |
void |
prepareForSavingToImages(com.aspose.slides.Presentation presentation,
List<ComparisonPresentationComponentBase> structure)
|
void |
saveDocument(String path)
Saves the document.
|
void |
saveImages(String folderPath)
Saves the images.
|
void |
setComponents(List<ComparisonPresentationComponentBase> value)
Gets or sets the components.
|
void |
setcomponentsInternal(com.aspose.ms.System.Collections.Generic.List<ComparisonPresentationComponentBase> value) |
void |
setSaveFormat(int value)
Gets or sets the save format.
|
void |
updateChanges(ChangeInfo[] changes)
|
public SlidesCompareResult(SlidesComparisonSettings settings, List<ComparisonPresentationComponentBase> components, int countOfErrors, int saveFormat) throws Exception
Initializes a new instance of the SlidesCompareResult
class.
settings
- The settings.components
- The components.countOfErrors
- The count of errors.saveFormat
- The save format.Exception
public ComparisonPresentationBase getPresentation() throws Exception
Gets the presentation.
Exception
public ComparisonPresentationBase getPresentation(boolean withSameSlidesSize) throws Exception
Gets the presentation.
getPresentation
in interface ISlidesCompareResult
withSameSlidesSize
- the with same slide sizeException
public void prepareForSavingToImages(com.aspose.slides.Presentation presentation, List<ComparisonPresentationComponentBase> structure) throws Exception
presentation
- structure
- Exception
public List<ComparisonPresentationComponentBase> getComponents()
Gets or sets the components.
Value: The components.getComponents
in interface ISlidesCompareResult
public com.aspose.ms.System.Collections.Generic.List<ComparisonPresentationComponentBase> getComponentsInternal()
public void setComponents(List<ComparisonPresentationComponentBase> value)
Gets or sets the components.
Value: The components.setComponents
in interface ISlidesCompareResult
value
- the valuepublic void setcomponentsInternal(com.aspose.ms.System.Collections.Generic.List<ComparisonPresentationComponentBase> value)
public List<ComparisonPresentationComponentBase> getStructure() throws Exception
Gets the structure.
getStructure
in interface ISlidesCompareResult
<ComparisonPresentationComponentBase></ComparisonPresentationComponentBase>
.Exception
public com.aspose.ms.System.Collections.Generic.List<ComparisonPresentationComponentBase> getStructureInternal() throws Exception
Exception
public int getSaveFormat()
Gets or sets the save format.
Value: The save format.getSaveFormat
in interface ISlidesCompareResult
public void setSaveFormat(int value)
Gets or sets the save format.
Value: The save format.setSaveFormat
in interface ISlidesCompareResult
value
- the valuepublic void updateChanges(ChangeInfo[] changes) throws Exception
updateChanges
in interface ICompareResult
changes
- Exception
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) throws IOException
Saves the images.
saveImages
in interface ICompareResult
folderPath
- The folder path.IOException
public InputStream getStream()
Gets the stream.
getStream
in interface ICompareResult
public com.aspose.ms.System.IO.Stream getStreamInternal()
public com.aspose.ms.System.Collections.Generic.List getImages() throws IOException
Gets the images.
getImages
in interface ICompareResult
IOException
public ChangeInfo[] getChanges()
Gets the changes information.
getChanges
in interface ICompareResult
Copyright © 2018. All rights reserved.