public class OleSpreadsheetOptions extends ImportDocumentOptions implements IOleSpreadsheetOptions
Provides options for import of the embedded document to Spreadsheet via OLE.
| Constructor and Description |
|---|
OleSpreadsheetOptions(byte[] objectData,
byte[] imageData,
String extension,
int pageNumber)
Initializes a new instance of the
OleSpreadsheetOptions class. |
OleSpreadsheetOptions(String filePath,
byte[] imageData,
int pageNumber)
Initializes a new instance of the
OleSpreadsheetOptions class. |
OleSpreadsheetOptions(String filePath,
int pageNumber)
Initializes a new instance of the
OleSpreadsheetOptions class. |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnIndex()
The upper left column index.
|
int |
getHeight()
The height of the Ole object image.
|
byte[] |
getImageData()
The data of the Ole object image.
|
int |
getRowIndex()
The upper left row index.
|
int |
getWidth()
The width of the Ole object image.
|
void |
setColumnIndex(int value)
The upper left column index.
|
void |
setHeight(int value)
The height of the Ole object image.
|
void |
setRowIndex(int value)
The upper left row index.
|
void |
setWidth(int value)
The width of the Ole object image.
|
getExtension, getImageData, getObjectData, getPageNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExtension, getObjectData, getPageNumberpublic OleSpreadsheetOptions(byte[] objectData,
byte[] imageData,
String extension,
int pageNumber)
Initializes a new instance of the OleSpreadsheetOptions class.
objectData - The data of the embedded object.imageData - The image data of the embedded object.extension - The extension of the embedded object.pageNumber - The page number for adding embedded object.public OleSpreadsheetOptions(String filePath, byte[] imageData, int pageNumber) throws Exception
Initializes a new instance of the OleSpreadsheetOptions class.
filePath - The file path of the embedded object.imageData - The image data of the embedded object.pageNumber - The page number for adding embedded object.Exceptionpublic OleSpreadsheetOptions(String filePath, int pageNumber) throws Exception
Initializes a new instance of the OleSpreadsheetOptions class.
filePath - The file path of the embedded object.pageNumber - The page number for adding embedded object.Exceptionpublic final int getColumnIndex()
The upper left column index.
getColumnIndex in interface IOleSpreadsheetOptionspublic final int getHeight()
The height of the Ole object image.
getHeight in interface ISizeOptionspublic final byte[] getImageData()
The data of the Ole object image.
getImageData in interface IOleSpreadsheetOptionspublic final int getRowIndex()
The upper left row index.
getRowIndex in interface IOleSpreadsheetOptionspublic final int getWidth()
The width of the Ole object image.
getWidth in interface ISizeOptionspublic final void setColumnIndex(int value)
The upper left column index.
setColumnIndex in interface IOleSpreadsheetOptionspublic final void setHeight(int value)
The height of the Ole object image.
setHeight in interface ISizeOptionspublic final void setRowIndex(int value)
The upper left row index.
setRowIndex in interface IOleSpreadsheetOptionspublic final void setWidth(int value)
The width of the Ole object image.
setWidth in interface ISizeOptionsCopyright © 2024. All rights reserved.