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, getPageNumber
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExtension, getObjectData, getPageNumber
public 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.Exception
public 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.Exception
public final int getColumnIndex()
The upper left column index.
getColumnIndex
in interface IOleSpreadsheetOptions
public final int getHeight()
The height of the Ole object image.
getHeight
in interface ISizeOptions
public final byte[] getImageData()
The data of the Ole object image.
getImageData
in interface IOleSpreadsheetOptions
public final int getRowIndex()
The upper left row index.
getRowIndex
in interface IOleSpreadsheetOptions
public final int getWidth()
The width of the Ole object image.
getWidth
in interface ISizeOptions
public final void setColumnIndex(int value)
The upper left column index.
setColumnIndex
in interface IOleSpreadsheetOptions
public final void setHeight(int value)
The height of the Ole object image.
setHeight
in interface ISizeOptions
public final void setRowIndex(int value)
The upper left row index.
setRowIndex
in interface IOleSpreadsheetOptions
public final void setWidth(int value)
The width of the Ole object image.
setWidth
in interface ISizeOptions