public class OlePresentationOptions extends ImportDocumentOptions implements IOlePresentationOptions
Provides options for import of the embedded document to Presentation via OLE.
Constructor and Description |
---|
OlePresentationOptions(byte[] objectData,
String extension,
int pageNumber)
Initializes a new instance of the
OlePresentationOptions class. |
OlePresentationOptions(String filePath,
int pageNumber)
Initializes a new instance of the
OlePresentationOptions class. |
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
The height of the embedded object frame.
|
int |
getWidth()
The width of the embedded object frame.
|
int |
getX()
The X coordinate of the embedded object frame.
|
int |
getY()
The Y coordinate of the embedded object frame.
|
void |
setHeight(int value)
The height of the embedded object frame.
|
void |
setWidth(int value)
The width of the embedded object frame.
|
void |
setX(int value)
The X coordinate of the embedded object frame.
|
void |
setY(int value)
The Y coordinate of the embedded object frame.
|
getExtension, getImageData, getObjectData, getPageNumber
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExtension, getObjectData, getPageNumber
public OlePresentationOptions(byte[] objectData, String extension, int pageNumber)
Initializes a new instance of the OlePresentationOptions
class.
objectData
- The data of the embedded object.extension
- The extension of the embedded object.pageNumber
- The page number for adding embedded object.public OlePresentationOptions(String filePath, int pageNumber) throws Exception
Initializes a new instance of the OlePresentationOptions
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 embedded object frame.
getHeight
in interface ISizeOptions
public final int getWidth()
The width of the embedded object frame.
getWidth
in interface ISizeOptions
public final int getX()
The X coordinate of the embedded object frame.
getX
in interface IOlePresentationOptions
public final int getY()
The Y coordinate of the embedded object frame.
getY
in interface IOlePresentationOptions
public final void setHeight(int value)
The height of the embedded object frame.
setHeight
in interface ISizeOptions
public final void setWidth(int value)
The width of the embedded object frame.
setWidth
in interface ISizeOptions
public final void setX(int value)
The X coordinate of the embedded object frame.
setX
in interface IOlePresentationOptions
public final void setY(int value)
The Y coordinate of the embedded object frame.
setY
in interface IOlePresentationOptions