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, getPageNumber
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExtension, getObjectData, getPageNumber
public 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.Exception
public 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.Exception
public final int getHeight()
The height of the Ole object image.
getHeight
in interface ISizeOptions
public final byte[] getImageData()
The data of the Ole object image.
getImageData
in interface IOleWordProcessingOptions
public final int getLeft()
The left coordinate of the Ole object image.
getLeft
in interface IOleWordProcessingOptions
public final int getTop()
The top coordinate of the Ole object image.
getTop
in interface IOleWordProcessingOptions
public final int getWidth()
The width of the Ole object image.
getWidth
in interface ISizeOptions
public final void setHeight(int value)
The height of the Ole object image.
setHeight
in interface ISizeOptions
public final void setLeft(int value)
The left coordinate of the Ole object image.
setLeft
in interface IOleWordProcessingOptions
public final void setTop(int value)
The top coordinate of the Ole object image.
setTop
in interface IOleWordProcessingOptions
public final void setWidth(int value)
The width of the Ole object image.
setWidth
in interface ISizeOptions