Class CTTextbox

java.lang.Object
org.docx4j.vml.CTTextbox
All Implemented Interfaces:
Child

public class CTTextbox extends 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 Details

  • Constructor Details

    • CTTextbox

      public CTTextbox()
  • Method Details

    • getTxbxContent

      public CTTxbxContent getTxbxContent()
      Gets the value of the txbxContent property.
      Returns:
      possible object is CTTxbxContent
    • setTxbxContent

      public void setTxbxContent(CTTxbxContent value)
      Sets the value of the txbxContent property.
      Parameters:
      value - allowed object is CTTxbxContent
    • getAny

      public Element getAny()
      Gets the value of the any property.
      Returns:
      possible object is Element
    • setAny

      public void setAny(Element value)
      Sets the value of the any property.
      Parameters:
      value - allowed object is Element
    • getInset

      public String getInset()
      Gets the value of the inset property.
      Returns:
      possible object is String
    • setInset

      public void setInset(String value)
      Sets the value of the inset property.
      Parameters:
      value - allowed object is String
    • getSingleclick

      public STTrueFalse getSingleclick()
      Text Box Single-Click Selection Toggle
      Returns:
      possible object is STTrueFalse
    • setSingleclick

      public void setSingleclick(STTrueFalse value)
      Sets the value of the singleclick property.
      Parameters:
      value - allowed object is STTrueFalse
    • getInsetmode

      public STInsetMode getInsetmode()
      Text Inset Mode
      Returns:
      possible object is STInsetMode
    • setInsetmode

      public void setInsetmode(STInsetMode value)
      Sets the value of the insetmode property.
      Parameters:
      value - allowed object is STInsetMode
    • getStyle

      public String getStyle()
      Gets the value of the style property.
      Returns:
      possible object is String
    • setStyle

      public void setStyle(String value)
      Sets the value of the style property.
      Parameters:
      value - allowed object is String
    • getVmlId

      public String getVmlId()
      Gets the value of the vmlId property.
      Returns:
      possible object is String
    • setVmlId

      public void setVmlId(String value)
      Sets the value of the vmlId 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.