Package org.pptx4j.pml
Class CTOleObject
java.lang.Object
org.pptx4j.pml.CTOleObject
- All Implemented Interfaces:
Child
public class CTOleObject extends java.lang.Object implements Child
Java class for CT_OleObject complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_OleObject">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="embed" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_OleObjectEmbed"/>
<element name="link" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_OleObjectLink"/>
<element name="pic" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_Picture"/>
</choice>
<attGroup ref="{http://schemas.openxmlformats.org/presentationml/2006/main}AG_Ole"/>
<attribute name="progId" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected CTOleObjectEmbedembedprotected java.lang.Stringidprotected java.lang.IntegerimgHprotected java.lang.IntegerimgWprotected CTOleObjectLinklinkprotected java.lang.Stringnameprotected Picpicprotected java.lang.StringprogIdprotected java.lang.BooleanshowAsIconprotected java.lang.Stringspid -
Constructor Summary
Constructors Constructor Description CTOleObject() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.CTOleObjectEmbedgetEmbed()Gets the value of the embed property.java.lang.StringgetId()Relationship IDjava.lang.IntegergetImgH()Gets the value of the imgH property.java.lang.IntegergetImgW()Gets the value of the imgW property.CTOleObjectLinkgetLink()Gets the value of the link property.java.lang.StringgetName()Gets the value of the name property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.PicgetPic()Gets the value of the pic property.java.lang.StringgetProgId()Gets the value of the progId property.java.lang.StringgetSpid()booleanisShowAsIcon()Gets the value of the showAsIcon property.voidsetEmbed(CTOleObjectEmbed value)Sets the value of the embed property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetImgH(java.lang.Integer value)Sets the value of the imgH property.voidsetImgW(java.lang.Integer value)Sets the value of the imgW property.voidsetLink(CTOleObjectLink value)Sets the value of the link property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetParent(java.lang.Object parent)voidsetPic(Pic value)Sets the value of the pic property.voidsetProgId(java.lang.String value)Sets the value of the progId property.voidsetShowAsIcon(java.lang.Boolean value)Sets the value of the showAsIcon property.voidsetSpid(java.lang.String value)
-
Field Details
-
Constructor Details
-
CTOleObject
public CTOleObject()
-
-
Method Details
-
getSpid
public java.lang.String getSpid() -
setSpid
public void setSpid(java.lang.String value) -
getEmbed
Gets the value of the embed property.- Returns:
- possible object is
CTOleObjectEmbed
-
setEmbed
Sets the value of the embed property.- Parameters:
value- allowed object isCTOleObjectEmbed
-
getLink
Gets the value of the link property.- Returns:
- possible object is
CTOleObjectLink
-
setLink
Sets the value of the link property.- Parameters:
value- allowed object isCTOleObjectLink
-
getPic
Gets the value of the pic property.- Returns:
- possible object is
Pic
-
setPic
Sets the value of the pic property.- Parameters:
value- allowed object isPic
-
getProgId
public java.lang.String getProgId()Gets the value of the progId property.- Returns:
- possible object is
String
-
setProgId
public void setProgId(java.lang.String value)Sets the value of the progId property.- Parameters:
value- allowed object isString
-
getName
public java.lang.String getName()Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)Sets the value of the name property.- Parameters:
value- allowed object isString
-
isShowAsIcon
public boolean isShowAsIcon()Gets the value of the showAsIcon property.- Returns:
- possible object is
Boolean
-
setShowAsIcon
public void setShowAsIcon(java.lang.Boolean value)Sets the value of the showAsIcon property.- Parameters:
value- allowed object isBoolean
-
getId
public java.lang.String getId()Relationship ID- Returns:
- possible object is
String
-
setId
public void setId(java.lang.String value)Sets the value of the id property.- Parameters:
value- allowed object isString
-
getImgW
public java.lang.Integer getImgW()Gets the value of the imgW property.- Returns:
- possible object is
Integer
-
setImgW
public void setImgW(java.lang.Integer value)Sets the value of the imgW property.- Parameters:
value- allowed object isInteger
-
getImgH
public java.lang.Integer getImgH()Gets the value of the imgH property.- Returns:
- possible object is
Integer
-
setImgH
public void setImgH(java.lang.Integer value)Sets the value of the imgH property.- Parameters:
value- allowed object isInteger
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-