Class CTComment

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

public class CTComment extends Object implements Child

Java class for CT_Comment complex type.

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

 <complexType name="CT_Comment">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="pos" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Point2D"/>
         <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="extLst" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_ExtensionListModify" minOccurs="0"/>
       </sequence>
       <attribute name="authorId" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="dt" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="idx" use="required" type="{http://schemas.openxmlformats.org/presentationml/2006/main}ST_Index" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTComment

      public CTComment()
  • Method Details

    • getPos

      public CTPoint2D getPos()
      Gets the value of the pos property.
      Returns:
      possible object is CTPoint2D
    • setPos

      public void setPos(CTPoint2D value)
      Sets the value of the pos property.
      Parameters:
      value - allowed object is CTPoint2D
    • getText

      public String getText()
      Gets the value of the text property.
      Returns:
      possible object is String
    • setText

      public void setText(String value)
      Sets the value of the text property.
      Parameters:
      value - allowed object is String
    • 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
    • getAuthorId

      public long getAuthorId()
      Gets the value of the authorId property.
    • setAuthorId

      public void setAuthorId(long value)
      Sets the value of the authorId property.
    • getDt

      public XMLGregorianCalendar getDt()
      Gets the value of the dt property.
      Returns:
      possible object is XMLGregorianCalendar
    • setDt

      public void setDt(XMLGregorianCalendar value)
      Sets the value of the dt property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • getIdx

      public long getIdx()
      Gets the value of the idx property.
    • setIdx

      public void setIdx(long value)
      Sets the value of the idx property.
    • 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.