OleSpreadsheetOptions

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

Constructors

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.

Methods

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.

OleSpreadsheetOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber)

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.

OleSpreadsheetOptions(String filePath, byte[] imageData, int pageNumber)

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.

OleSpreadsheetOptions(String filePath, int pageNumber)

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.

getRowIndex()

public final int getRowIndex()

The upper left row index.

Returns: int

setRowIndex(int value)

public final void setRowIndex(int value)

The upper left row index.

Parameters:

Parameter Type Description
value int

getColumnIndex()

public final int getColumnIndex()

The upper left column index.

Returns: int

setColumnIndex(int value)

public final void setColumnIndex(int value)

The upper left column index.

Parameters:

Parameter Type Description
value int

getWidth()

public final int getWidth()

The width of the Ole object image.

Returns: int

setWidth(int value)

public final void setWidth(int value)

The width of the Ole object image.

Parameters:

Parameter Type Description
value int

getHeight()

public final int getHeight()

The height of the Ole object image.

Returns: int

setHeight(int value)

public final void setHeight(int value)

The height of the Ole object image.

Parameters:

Parameter Type Description
value int

getImageData()

public final byte[] getImageData()

The data of the Ole object image.

Returns: byte[]