|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Shape
com.aspose.slides.PictureFrame
com.aspose.slides.OleObjectFrame
public final class OleObjectFrame
Represents the OleObjectFrame shape.
Constructor Summary | |
---|---|
OleObjectFrame(BaseSlide parent)
|
|
OleObjectFrame(BaseSlide parent,
com.aspose.slides.escher.EsSpContainer frame)
|
Method Summary | |
---|---|
OleFollowColorScheme |
getFollowColorScheme()
Determines how an OLE object follows the color scheme. |
java.lang.String |
getLinkPathLong()
Returns full path to the linked file. |
java.lang.String |
getLinkPathShort()
Returns full path to the linked file. |
java.lang.String |
getObjectClassName()
Returns the class name of an object. |
byte[] |
getObjectData()
Returns the embedded object as a byte array. |
java.lang.String |
getObjectName()
Returns the name of an object. |
java.lang.String |
getObjectProgId()
Returns the ProgID of an object. |
int |
getObjectType()
Returns the type of an object. |
boolean |
isObjectIcon()
Determines whether the object is visible as icon. |
boolean |
isObjectLink()
Determines whether the object is link and not embedded to a presentation. |
void |
setFollowColorScheme(OleFollowColorScheme value)
|
void |
setObjectClassName(java.lang.String value)
Sets the class name of an object. |
void |
setObjectData(byte[] value)
Sets embedded object as a byte array. |
void |
setObjectIcon(boolean value)
Sets whether the object is visible as icon. |
void |
setObjectName(java.lang.String value)
Sets the name of an object. |
void |
setObjectProgId(java.lang.String value)
Sets the ProgID of an object. |
void |
setObjectType(int type)
Sets the type of an object. |
Methods inherited from class com.aspose.slides.PictureFrame |
---|
addTextFrame, getBrightness, getColorType, getContrast, getCropBottom, getCropLeft, getCropRight, getCropTop, getPictureFileName, getPictureId, getRecolor, getTransparentColor, isPictureLinked, makeColorTransparent, serialize, setBrightness, setColorType, setContrast, setCropBottom, setCropLeft, setCropRight, setCropTop, setPictureFileName, setPictureId, setTransparentColor |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OleObjectFrame(BaseSlide parent)
public OleObjectFrame(BaseSlide parent, com.aspose.slides.escher.EsSpContainer frame) throws PptReadException
PptReadException
Method Detail |
---|
public int getObjectType()
OleObjectType
.
public void setObjectType(int type)
type
- the new type of an object. See OleObjectType
.public java.lang.String getObjectName()
public void setObjectName(java.lang.String value)
value
- the name of an object.public java.lang.String getObjectClassName()
public void setObjectClassName(java.lang.String value)
value
- the class name of an object.public java.lang.String getObjectProgId()
public void setObjectProgId(java.lang.String value)
value
- the ProgID of an object.public byte[] getObjectData() throws PptReadException
PptReadException
- In case OleObjectFrame is an Ole1 native object with
unsupported format.public void setObjectData(byte[] value) throws PptException
value
- byte array.
PptException
public boolean isObjectIcon()
public void setObjectIcon(boolean value)
value
- true if only icon of the object is visible.public boolean isObjectLink()
public java.lang.String getLinkPathShort()
public java.lang.String getLinkPathLong()
public OleFollowColorScheme getFollowColorScheme()
public void setFollowColorScheme(OleFollowColorScheme value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |