public class OleWordProcessingOptions extends ImportDocumentOptions implements IOleWordProcessingOptions
Provides options for import of the embedded document to Word processing via OLE.
| Constructor and 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. |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
The height of the Ole object image.
|
byte[] |
getImageData()
The data of the Ole object image.
|
int |
getLeft()
The left coordinate of the Ole object image.
|
int |
getTop()
The top coordinate of the Ole object image.
|
int |
getWidth()
The width of the Ole object image.
|
void |
setHeight(int value)
The height of the Ole object image.
|
void |
setLeft(int value)
The left coordinate of the Ole object image.
|
void |
setTop(int value)
The top coordinate of the Ole object image.
|
void |
setWidth(int value)
The width of the Ole object image.
|
getExtension, getImageData, getObjectData, getPageNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExtension, getObjectData, getPageNumberpublic OleWordProcessingOptions(byte[] objectData,
byte[] imageData,
String extension,
int pageNumber)
Initializes a new instance of the OleWordProcessingOptions 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 OleWordProcessingOptions(String filePath, byte[] imageData, int pageNumber) throws Exception
Initializes a new instance of the OleWordProcessingOptions 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.Exceptionpublic OleWordProcessingOptions(String filePath, int pageNumber) throws Exception
Initializes a new instance of the OleWordProcessingOptions class.
filePath - The file path of the embedded object.pageNumber - The page number for adding embedded object.Exceptionpublic final int getHeight()
The height of the Ole object image.
getHeight in interface ISizeOptionspublic final byte[] getImageData()
The data of the Ole object image.
getImageData in interface IOleWordProcessingOptionspublic final int getLeft()
The left coordinate of the Ole object image.
getLeft in interface IOleWordProcessingOptionspublic final int getTop()
The top coordinate of the Ole object image.
getTop in interface IOleWordProcessingOptionspublic final int getWidth()
The width of the Ole object image.
getWidth in interface ISizeOptionspublic final void setHeight(int value)
The height of the Ole object image.
setHeight in interface ISizeOptionspublic final void setLeft(int value)
The left coordinate of the Ole object image.
setLeft in interface IOleWordProcessingOptionspublic final void setTop(int value)
The top coordinate of the Ole object image.
setTop in interface IOleWordProcessingOptionspublic final void setWidth(int value)
The width of the Ole object image.
setWidth in interface ISizeOptionsCopyright © 2024. All rights reserved.