Class CTPlaceholder

java.lang.Object
org.pptx4j.pml.CTPlaceholder
All Implemented Interfaces:
Child

public class CTPlaceholder extends Object implements Child

Java class for CT_Placeholder complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_Placeholder">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="extLst" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_ExtensionListModify" minOccurs="0"/>
       </sequence>
       <attribute name="type" type="{http://schemas.openxmlformats.org/presentationml/2006/main}ST_PlaceholderType" default="obj" />
       <attribute name="orient" type="{http://schemas.openxmlformats.org/presentationml/2006/main}ST_Direction" default="horz" />
       <attribute name="sz" type="{http://schemas.openxmlformats.org/presentationml/2006/main}ST_PlaceholderSize" default="full" />
       <attribute name="idx" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
       <attribute name="hasCustomPrompt" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTPlaceholder

      public CTPlaceholder()
  • Method Details

    • getExtLst

      public CTExtensionListModify getExtLst()
      Gets the value of the extLst property.
      Returns:
      possible object is CTExtensionListModify
    • setExtLst

      public void setExtLst(CTExtensionListModify value)
      Sets the value of the extLst property.
      Parameters:
      value - allowed object is CTExtensionListModify
    • getType

      public STPlaceholderType getType()
      Gets the value of the type property.
      Returns:
      possible object is STPlaceholderType
    • setType

      public void setType(STPlaceholderType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is STPlaceholderType
    • getOrient

      public STDirection getOrient()
      Gets the value of the orient property.
      Returns:
      possible object is STDirection
    • setOrient

      public void setOrient(STDirection value)
      Sets the value of the orient property.
      Parameters:
      value - allowed object is STDirection
    • getSz

      public STPlaceholderSize getSz()
      Gets the value of the sz property.
      Returns:
      possible object is STPlaceholderSize
    • setSz

      public void setSz(STPlaceholderSize value)
      Sets the value of the sz property.
      Parameters:
      value - allowed object is STPlaceholderSize
    • getIdx

      public long getIdx()
      Gets the value of the idx property.
      Returns:
      possible object is Long
    • setIdx

      public void setIdx(Long value)
      Sets the value of the idx property.
      Parameters:
      value - allowed object is Long
    • isHasCustomPrompt

      public boolean isHasCustomPrompt()
      Gets the value of the hasCustomPrompt property.
      Returns:
      possible object is Boolean
    • setHasCustomPrompt

      public void setHasCustomPrompt(Boolean value)
      Sets the value of the hasCustomPrompt property.
      Parameters:
      value - allowed object is Boolean
    • getParent

      public Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.