Class CTTextField

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

public class CTTextField extends 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 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 String getT()
      Gets the value of the t property.
      Returns:
      possible object is String
    • setT

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

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

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

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

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