Class CTTextField

java.lang.Object
org.docx4j.dml.CTTextField
All Implemented Interfaces:
Child

public class CTTextField
extends java.lang.Object
implements Child

Java class for CT_TextField complex type.

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

 <complexType name="CT_TextField">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="rPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TextCharacterProperties" minOccurs="0"/>
         <element name="pPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TextParagraphProperties" minOccurs="0"/>
         <element name="t" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
       <attribute name="id" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Guid" />
       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.lang.String id  
    protected CTTextParagraphProperties pPr  
    protected CTTextCharacterProperties rPr  
    protected java.lang.String t  
    protected java.lang.String type  
  • Constructor Summary

    Constructors
    Constructor Description
    CTTextField()  
  • Method Summary

    Modifier and Type Method Description
    void afterUnmarshal​(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
    This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
    java.lang.String getId()
    Gets the value of the id property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    CTTextParagraphProperties getPPr()
    Gets the value of the pPr property.
    CTTextCharacterProperties getRPr()
    Gets the value of the rPr property.
    java.lang.String getT()
    Gets the value of the t property.
    java.lang.String getType()
    Gets the value of the type property.
    void setId​(java.lang.String value)
    Sets the value of the id property.
    void setParent​(java.lang.Object parent)  
    void setPPr​(CTTextParagraphProperties value)
    Sets the value of the pPr property.
    void setRPr​(CTTextCharacterProperties value)
    Sets the value of the rPr property.
    void setT​(java.lang.String value)
    Sets the value of the t property.
    void setType​(java.lang.String value)
    Sets the value of the type property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • CTTextField

      public CTTextField()
  • Method Details

    • getRPr

      public CTTextCharacterProperties getRPr()
      Gets the value of the rPr property.
      Returns:
      possible object is CTTextCharacterProperties
    • setRPr

      public void setRPr​(CTTextCharacterProperties value)
      Sets the value of the rPr property.
      Parameters:
      value - allowed object is CTTextCharacterProperties
    • getPPr

      public CTTextParagraphProperties getPPr()
      Gets the value of the pPr property.
      Returns:
      possible object is CTTextParagraphProperties
    • setPPr

      public void setPPr​(CTTextParagraphProperties value)
      Sets the value of the pPr property.
      Parameters:
      value - allowed object is CTTextParagraphProperties
    • getT

      public java.lang.String getT()
      Gets the value of the t property.
      Returns:
      possible object is String
    • setT

      public void setT​(java.lang.String value)
      Sets the value of the t property.
      Parameters:
      value - allowed object is String
    • getId

      public java.lang.String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId​(java.lang.String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • getType

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

      public void setType​(java.lang.String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
    • getParent

      public java.lang.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​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal​(jakarta.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.