OleSpreadsheetOptions
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.merger.domain.options.ImportDocumentOptions
All Implemented Interfaces: com.groupdocs.merger.domain.options.interfaces.IOleSpreadsheetOptions
public class OleSpreadsheetOptions extends ImportDocumentOptions implements IOleSpreadsheetOptions
Provides options for import of the embedded document to Spreadsheet via OLE.
Learn more
- More about adding document to Spreadsheet via OLE: Add document to Spreadsheet via OLE.
| Constructor | 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. |
| Method | Description |
|---|---|
| getRowIndex() | The upper left row index. |
| setRowIndex(int value) | The upper left row index. |
| getColumnIndex() | The upper left column index. |
| setColumnIndex(int value) | The upper left column index. |
| getWidth() | The width of the Ole object image. |
| setWidth(int value) | The width of the Ole object image. |
| getHeight() | The height of the Ole object image. |
| setHeight(int value) | The height of the Ole object image. |
| getImageData() | The data of the Ole object image. |
public OleSpreadsheetOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber)
Initializes a new instance of the OleSpreadsheetOptions class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| objectData | byte[] | The data of the embedded object. |
| imageData | byte[] | The image data of the embedded object. |
| extension | java.lang.String | The extension of the embedded object. |
| pageNumber | int | The page number for adding embedded object. |
public OleSpreadsheetOptions(String filePath, byte[] imageData, int pageNumber)
Initializes a new instance of the OleSpreadsheetOptions class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| filePath | java.lang.String | The file path of the embedded object. |
| imageData | byte[] | The image data of the embedded object. |
| pageNumber | int | The page number for adding embedded object. |
public OleSpreadsheetOptions(String filePath, int pageNumber)
Initializes a new instance of the OleSpreadsheetOptions class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| filePath | java.lang.String | The file path of the embedded object. |
| pageNumber | int | The page number for adding embedded object. |
public final int getRowIndex()
The upper left row index.
Returns: int
public final void setRowIndex(int value)
The upper left row index.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public final int getColumnIndex()
The upper left column index.
Returns: int
public final void setColumnIndex(int value)
The upper left column index.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public final int getWidth()
The width of the Ole object image.
Returns: int
public final void setWidth(int value)
The width of the Ole object image.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public final int getHeight()
The height of the Ole object image.
Returns: int
public final void setHeight(int value)
The height of the Ole object image.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public final byte[] getImageData()
The data of the Ole object image.
Returns: byte[]
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.