Package org.docx4j.dml
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.Stringidprotected CTTextParagraphPropertiespPrprotected CTTextCharacterPropertiesrPrprotected java.lang.Stringtprotected java.lang.Stringtype -
Constructor Summary
Constructors Constructor Description CTTextField() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(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.StringgetId()Gets the value of the id property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.CTTextParagraphPropertiesgetPPr()Gets the value of the pPr property.CTTextCharacterPropertiesgetRPr()Gets the value of the rPr property.java.lang.StringgetT()Gets the value of the t property.java.lang.StringgetType()Gets the value of the type property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetParent(java.lang.Object parent)voidsetPPr(CTTextParagraphProperties value)Sets the value of the pPr property.voidsetRPr(CTTextCharacterProperties value)Sets the value of the rPr property.voidsetT(java.lang.String value)Sets the value of the t property.voidsetType(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
-
rPr
-
pPr
-
t
protected java.lang.String t -
id
protected java.lang.String id -
type
protected java.lang.String type
-
-
Constructor Details
-
CTTextField
public CTTextField()
-
-
Method Details
-
getRPr
Gets the value of the rPr property.- Returns:
- possible object is
CTTextCharacterProperties
-
setRPr
Sets the value of the rPr property.- Parameters:
value- allowed object isCTTextCharacterProperties
-
getPPr
Gets the value of the pPr property.- Returns:
- possible object is
CTTextParagraphProperties
-
setPPr
Sets the value of the pPr property.- Parameters:
value- allowed object isCTTextParagraphProperties
-
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 isString
-
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 isString
-
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 isString
-
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(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.
-