public class ForeignData
Property Getters/Setters Summary | ||
---|---|---|
double | getCompressionLevel() | |
void | setCompressionLevel(doublevalue) | |
This attribute is only meaningful if the foreign data is a raster-based foreign object, such as a DIB, JPG, PNG, TIFF, or GIF file. The value indicates the level of compression applied to the file. Compression level is measured in hundreths of a percent. | ||
int | getCompressionType() | |
void | setCompressionType(intvalue) | |
This attribute is only meaningful if the foreign data is a raster-based foreign object, such as a DIB, JPG, PNG, TIFF, or GIF file. The value indicates the type of compression applied to the file. The value of the property is CompressionType integer constant. | ||
double | getExtentX() | |
void | setExtentX(doublevalue) | |
This attribute is only meaningful if the foreign data is a metafile. The value indicates the horizontal extent of the metafile. | ||
double | getExtentY() | |
void | setExtentY(doublevalue) | |
This attribute is only meaningful if the foreign data is a metafile. The value indicates the vertical extent of the metafile. | ||
int | getForeignType() | |
void | setForeignType(intvalue) | |
Data type. The value of the property is ForeignType integer constant. | ||
byte[] | getImageData() | |
void | setImageData(byte[]value) | |
Represents image of ole object as byte array. | ||
int | getMappingMode() | |
void | setMappingMode(intvalue) | |
This attribute is only meaningful if the foreign data is a metafile. The value indicates the metafile mapping mode. | ||
byte[] | getObjectData() | |
void | setObjectData(byte[]value) | |
Represents embedded ole object data as byte array. | ||
double | getObjectHeight() | |
void | setObjectHeight(doublevalue) | |
This attribute is only meaningful if the foreign data is an OLE2 embedded object. The value expresses the height of the object in page units. | ||
java.lang.String | getObjectSourceFullName() | |
void | setObjectSourceFullName(java.lang.Stringvalue) | |
Returns the source full name of the source file for the linked OLE object. | ||
int | getObjectType() | |
void | setObjectType(intvalue) | |
If the ForeignType attribute is "Object", the ForeignData element must also have an ObjectType attribute. The value of the property is ObjectType integer constant. | ||
double | getObjectWidth() | |
void | setObjectWidth(doublevalue) | |
This attribute is only meaningful if the foreign data is an OLE2 embedded object. The value expresses the width of the object in page units. | ||
int | getShowAsIcon() | |
void | setShowAsIcon(intvalue) | |
This attribute is only meaningful if the foreign data is an OLE2 embedded object. The value of the property is BOOL integer constant. | ||
byte[] | getValue() | |
void | setValue(byte[]value) | |
Contains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap, or OLE data. |
Method Summary | ||
---|---|---|
java.lang.Object | deepClone() | |
Creates deep copy of this instance.
|
public byte[] getImageData() / public void setImageData(byte[] value)
public byte[] getObjectData() / public void setObjectData(byte[] value)
public int getForeignType() / public void setForeignType(int value)
public int getObjectType() / public void setObjectType(int value)
public int getShowAsIcon() / public void setShowAsIcon(int value)
public double getObjectWidth() / public void setObjectWidth(double value)
public double getObjectHeight() / public void setObjectHeight(double value)
public int getMappingMode() / public void setMappingMode(int value)
public double getExtentX() / public void setExtentX(double value)
public double getExtentY() / public void setExtentY(double value)
public int getCompressionType() / public void setCompressionType(int value)
public double getCompressionLevel() / public void setCompressionLevel(double value)
public byte[] getValue() / public void setValue(byte[] value)
public java.lang.String getObjectSourceFullName() / public void setObjectSourceFullName(java.lang.String value)