OleWordProcessingOptions
Inheritance: java.lang.Object, com.groupdocs.merger.domain.options.ImportDocumentOptions
All Implemented Interfaces: com.groupdocs.merger.domain.options.interfaces.IOleWordProcessingOptions
public class OleWordProcessingOptions extends ImportDocumentOptions implements IOleWordProcessingOptions
Provides options for import of the embedded document to Word processing via OLE.
Learn more
- More about adding document to Word processing via OLE: Add document to Word processing via OLE.
Constructors
Constructor | Description |
---|---|
OleWordProcessingOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber) | Initializes a new instance of the OleWordProcessingOptions class. |
OleWordProcessingOptions(String filePath, byte[] imageData, int pageNumber) | Initializes a new instance of the OleWordProcessingOptions class. |
OleWordProcessingOptions(String filePath, int pageNumber) | Initializes a new instance of the OleWordProcessingOptions class. |
Methods
Method | Description |
---|---|
getLeft() | The left coordinate of the Ole object image. |
setLeft(int value) | The left coordinate of the Ole object image. |
getTop() | The top coordinate of the Ole object image. |
setTop(int value) | The top coordinate of the Ole object image. |
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. |
OleWordProcessingOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber)
public OleWordProcessingOptions(byte[] objectData, byte[] imageData, String extension, int pageNumber)
Initializes a new instance of the OleWordProcessingOptions 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. |
OleWordProcessingOptions(String filePath, byte[] imageData, int pageNumber)
public OleWordProcessingOptions(String filePath, byte[] imageData, int pageNumber)
Initializes a new instance of the OleWordProcessingOptions 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. |
OleWordProcessingOptions(String filePath, int pageNumber)
public OleWordProcessingOptions(String filePath, int pageNumber)
Initializes a new instance of the OleWordProcessingOptions 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. |
getLeft()
public final int getLeft()
The left coordinate of the Ole object image.
Returns: int
setLeft(int value)
public final void setLeft(int value)
The left coordinate of the Ole object image.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getTop()
public final int getTop()
The top coordinate of the Ole object image.
Returns: int
setTop(int value)
public final void setTop(int value)
The top coordinate of the Ole object image.
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[]