Package org.docx4j.vml
Class CTTextbox
java.lang.Object
org.docx4j.vml.CTTextbox
- All Implemented Interfaces:
Child
public class CTTextbox extends java.lang.Object implements Child
Java class for CT_Textbox complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Textbox">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}txbxContent" minOccurs="0"/>
<any processContents='skip' namespace=''/>
</choice>
<attGroup ref="{urn:schemas-microsoft-com:vml}AG_Style"/>
<attGroup ref="{urn:schemas-microsoft-com:vml}AG_Id"/>
<attribute name="inset" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute ref="{urn:schemas-microsoft-com:office:office}singleclick"/>
<attribute ref="{urn:schemas-microsoft-com:office:office}insetmode"/>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected org.w3c.dom.Elementanyprotected java.lang.Stringinsetprotected STInsetModeinsetmodeprotected STTrueFalsesingleclickprotected java.lang.Stringstyleprotected CTTxbxContenttxbxContentprotected java.lang.StringvmlId -
Constructor Summary
Constructors Constructor Description CTTextbox() -
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.org.w3c.dom.ElementgetAny()Gets the value of the any property.java.lang.StringgetInset()Gets the value of the inset property.STInsetModegetInsetmode()Text Inset Modejava.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.STTrueFalsegetSingleclick()Text Box Single-Click Selection Togglejava.lang.StringgetStyle()Gets the value of the style property.CTTxbxContentgetTxbxContent()Gets the value of the txbxContent property.java.lang.StringgetVmlId()Gets the value of the vmlId property.voidsetAny(org.w3c.dom.Element value)Sets the value of the any property.voidsetInset(java.lang.String value)Sets the value of the inset property.voidsetInsetmode(STInsetMode value)Sets the value of the insetmode property.voidsetParent(java.lang.Object parent)voidsetSingleclick(STTrueFalse value)Sets the value of the singleclick property.voidsetStyle(java.lang.String value)Sets the value of the style property.voidsetTxbxContent(CTTxbxContent value)Sets the value of the txbxContent property.voidsetVmlId(java.lang.String value)Sets the value of the vmlId property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
txbxContent
-
any
protected org.w3c.dom.Element any -
inset
protected java.lang.String inset -
singleclick
-
insetmode
-
style
protected java.lang.String style -
vmlId
protected java.lang.String vmlId
-
-
Constructor Details
-
CTTextbox
public CTTextbox()
-
-
Method Details
-
getTxbxContent
Gets the value of the txbxContent property.- Returns:
- possible object is
CTTxbxContent
-
setTxbxContent
Sets the value of the txbxContent property.- Parameters:
value- allowed object isCTTxbxContent
-
getAny
public org.w3c.dom.Element getAny()Gets the value of the any property.- Returns:
- possible object is
Element
-
setAny
public void setAny(org.w3c.dom.Element value)Sets the value of the any property.- Parameters:
value- allowed object isElement
-
getInset
public java.lang.String getInset()Gets the value of the inset property.- Returns:
- possible object is
String
-
setInset
public void setInset(java.lang.String value)Sets the value of the inset property.- Parameters:
value- allowed object isString
-
getSingleclick
Text Box Single-Click Selection Toggle- Returns:
- possible object is
STTrueFalse
-
setSingleclick
Sets the value of the singleclick property.- Parameters:
value- allowed object isSTTrueFalse
-
getInsetmode
Text Inset Mode- Returns:
- possible object is
STInsetMode
-
setInsetmode
Sets the value of the insetmode property.- Parameters:
value- allowed object isSTInsetMode
-
getStyle
public java.lang.String getStyle()Gets the value of the style property.- Returns:
- possible object is
String
-
setStyle
public void setStyle(java.lang.String value)Sets the value of the style property.- Parameters:
value- allowed object isString
-
getVmlId
public java.lang.String getVmlId()Gets the value of the vmlId property.- Returns:
- possible object is
String
-
setVmlId
public void setVmlId(java.lang.String value)Sets the value of the vmlId 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.
-