Class CTColumns

java.lang.Object
org.docx4j.wml.CTColumns
All Implemented Interfaces:
Child

public class CTColumns
extends java.lang.Object
implements Child

Java class for CT_Columns complex type.

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

 <complexType name="CT_Columns">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence minOccurs="0">
         <element name="col" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Column" maxOccurs="45"/>
       </sequence>
       <attribute name="equalWidth" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="space" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
       <attribute name="num" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
       <attribute name="sep" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.util.List<CTColumn> col  
    protected java.lang.Boolean equalWidth  
    protected java.math.BigInteger num  
    protected java.lang.Boolean sep  
    protected java.math.BigInteger space  
  • Constructor Summary

    Constructors
    Constructor Description
    CTColumns()  
  • 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.util.List<CTColumn> getCol()
    Gets the value of the col property.
    java.math.BigInteger getNum()
    Gets the value of the num property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    java.math.BigInteger getSpace()
    Gets the value of the space property.
    boolean isEqualWidth()
    Gets the value of the equalWidth property.
    boolean isSep()
    Gets the value of the sep property.
    void setEqualWidth​(java.lang.Boolean value)
    Sets the value of the equalWidth property.
    void setNum​(java.math.BigInteger value)
    Sets the value of the num property.
    void setParent​(java.lang.Object parent)  
    void setSep​(java.lang.Boolean value)
    Sets the value of the sep property.
    void setSpace​(java.math.BigInteger value)
    Sets the value of the space property.

    Methods inherited from class java.lang.Object

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

    • col

      protected java.util.List<CTColumn> col
    • equalWidth

      protected java.lang.Boolean equalWidth
    • space

      protected java.math.BigInteger space
    • num

      protected java.math.BigInteger num
    • sep

      protected java.lang.Boolean sep
  • Constructor Details

    • CTColumns

      public CTColumns()
  • Method Details

    • getCol

      public java.util.List<CTColumn> getCol()
      Gets the value of the col property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the col property.

      For example, to add a new item, do as follows:

          getCol().add(newItem);
       

      Objects of the following type(s) are allowed in the list CTColumn

    • isEqualWidth

      public boolean isEqualWidth()
      Gets the value of the equalWidth property.
      Returns:
      possible object is Boolean
    • setEqualWidth

      public void setEqualWidth​(java.lang.Boolean value)
      Sets the value of the equalWidth property.
      Parameters:
      value - allowed object is Boolean
    • getSpace

      public java.math.BigInteger getSpace()
      Gets the value of the space property.
      Returns:
      possible object is BigInteger
    • setSpace

      public void setSpace​(java.math.BigInteger value)
      Sets the value of the space property.
      Parameters:
      value - allowed object is BigInteger
    • getNum

      public java.math.BigInteger getNum()
      Gets the value of the num property.
      Returns:
      possible object is BigInteger
    • setNum

      public void setNum​(java.math.BigInteger value)
      Sets the value of the num property.
      Parameters:
      value - allowed object is BigInteger
    • isSep

      public boolean isSep()
      Gets the value of the sep property.
      Returns:
      possible object is Boolean
    • setSep

      public void setSep​(java.lang.Boolean value)
      Sets the value of the sep property.
      Parameters:
      value - allowed object is Boolean
    • 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.