OleWordProcessingOptions
Leave feedback
On this page
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.
| 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. |
| 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. |
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. |
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. |
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. |
public final int getLeft()
The left coordinate of the Ole object image.
Returns: int
public final void setLeft(int value)
The left coordinate of the Ole object image.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public final int getTop()
The top coordinate of the Ole object image.
Returns: int
public final void setTop(int value)
The top coordinate of the Ole object image.
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.