@Deprecated public abstract class ComparisonWorkbookBase extends ComparisonCompositeNodeBase
interface IComparisonWorkbook
Constructor and Description |
---|
ComparisonWorkbookBase()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract ICellsCompareResult |
compareWith(ComparisonWorkbookBase targetWorkbook,
CellsComparisonSettings settings)
Deprecated.
Compares current workbook with another
|
abstract double |
getDocumentStreamLength()
Deprecated.
Gets the length of the document stream.
|
ComparisonWorksheetBase[] |
getWorksheets()
Deprecated.
Collection of worksheets of current workbook
|
void |
save(OutputStream fileStream,
int saveFormat)
Deprecated.
Saves current workbook into a stream
|
abstract void |
save(String filePath)
Deprecated.
Saves current workbook into a file by the following filepath
|
void |
saveAsImages(List<ByteArrayOutputStream> imagesStreams,
ComparisonCellsImageSettings settings)
Deprecated.
Saves workbook as a list of images.
|
abstract void |
saveAsImages(String imagePath,
ComparisonCellsImageSettings settings)
Deprecated.
Saves workbook as a list of images.
|
abstract void |
saveAsImagesInternal(List<ByteArrayOutputStream> imagesStreams,
ComparisonCellsImageSettings settings)
Deprecated.
Save as images internal.
|
abstract void |
saveInternal(OutputStream fileStream,
int saveFormat)
Deprecated.
Save internal.
|
void |
saveWorksheetAsImage(List<ByteArrayOutputStream> imagesStreams,
ComparisonCellsImageSettings settings,
int worksheetIndex)
Deprecated.
Saves selected worksheet as image into a stream.
|
abstract void |
saveWorksheetAsImage(String imagePath,
ComparisonCellsImageSettings settings,
int worksheetIndex)
Deprecated.
Saves selected worksheet as image.
|
abstract void |
saveWorksheetAsImageInternal(List<ByteArrayOutputStream> imagesStreams,
ComparisonCellsImageSettings settings,
int worksheetIndex)
Deprecated.
Save worksheet as image internal.
|
protected void |
setWorksheets(ComparisonWorksheetBase[] value)
Deprecated.
Collection of worksheets of current workbook
|
getChildNodes, getChildren, updateContents
getAsposeObject, getChangeType, getStyleChanges, getText, setChangeType, setStyleChanges
public ComparisonWorksheetBase[] getWorksheets() throws Exception
Collection of worksheets of current workbook
Exception
protected void setWorksheets(ComparisonWorksheetBase[] value)
Collection of worksheets of current workbook
value
- the valuepublic abstract double getDocumentStreamLength()
Gets the length of the document stream.
public abstract ICellsCompareResult compareWith(ComparisonWorkbookBase targetWorkbook, CellsComparisonSettings settings) throws Exception
Compares current workbook with another
targetWorkbook
- Workbook to comparesettings
- Comparison settingsException
public abstract void save(String filePath) throws Exception
Saves current workbook into a file by the following filepath
filePath
- Full file nameException
- the exceptionpublic void save(OutputStream fileStream, int saveFormat) throws Exception
Saves current workbook into a stream
fileStream
- File streamsaveFormat
- Format to saveException
- the exceptionpublic abstract void saveInternal(OutputStream fileStream, int saveFormat) throws Exception
fileStream
- the file streamsaveFormat
- the save formatException
- the exceptionpublic abstract void saveAsImages(String imagePath, ComparisonCellsImageSettings settings) throws Exception
Saves workbook as a list of images.
imagePath
- The image path.settings
- The settings.Exception
- the exceptionpublic void saveAsImages(List<ByteArrayOutputStream> imagesStreams, ComparisonCellsImageSettings settings) throws Exception
Saves workbook as a list of images.
imagesStreams
- the images streamssettings
- the settingsException
- the exceptionpublic abstract void saveAsImagesInternal(List<ByteArrayOutputStream> imagesStreams, ComparisonCellsImageSettings settings) throws Exception
imagesStreams
- the images streamssettings
- the settingsException
- the exceptionpublic abstract void saveWorksheetAsImage(String imagePath, ComparisonCellsImageSettings settings, int worksheetIndex) throws Exception
Saves selected worksheet as image.
imagePath
- The image path.settings
- The settings.worksheetIndex
- Index of the worksheet.Exception
- the exceptionpublic void saveWorksheetAsImage(List<ByteArrayOutputStream> imagesStreams, ComparisonCellsImageSettings settings, int worksheetIndex) throws Exception
Saves selected worksheet as image into a stream.
imagesStreams
- The images streams.settings
- The settings.worksheetIndex
- Index of the worksheet.Exception
- the exceptionpublic abstract void saveWorksheetAsImageInternal(List<ByteArrayOutputStream> imagesStreams, ComparisonCellsImageSettings settings, int worksheetIndex) throws Exception
imagesStreams
- the images streamssettings
- the settingsworksheetIndex
- the worksheet indexException
- the exceptionCopyright © 2018. All rights reserved.