Package org.docx4j.wml
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
-
Constructor Summary
Constructors Constructor Description CTColumns() -
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.util.List<CTColumn>getCol()Gets the value of the col property.java.math.BigIntegergetNum()Gets the value of the num property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.math.BigIntegergetSpace()Gets the value of the space property.booleanisEqualWidth()Gets the value of the equalWidth property.booleanisSep()Gets the value of the sep property.voidsetEqualWidth(java.lang.Boolean value)Sets the value of the equalWidth property.voidsetNum(java.math.BigInteger value)Sets the value of the num property.voidsetParent(java.lang.Object parent)voidsetSep(java.lang.Boolean value)Sets the value of the sep property.voidsetSpace(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
-
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
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
setmethod 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 isBoolean
-
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 isBigInteger
-
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 isBigInteger
-
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 isBoolean
-
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.
-