Package org.docx4j.wml
Class CTColumns
java.lang.Object
org.docx4j.wml.CTColumns
- All Implemented Interfaces:
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
Modifier and TypeFieldDescriptionprotected Boolean
protected BigInteger
protected Boolean
protected BigInteger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterUnmarshal
(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.getCol()
Gets the value of the col property.getNum()
Gets the value of the num property.Gets the parent object in the object tree representing the unmarshalled xml document.getSpace()
Gets the value of the space property.boolean
Gets the value of the equalWidth property.boolean
isSep()
Gets the value of the sep property.void
setEqualWidth
(Boolean value) Sets the value of the equalWidth property.void
setNum
(BigInteger value) Sets the value of the num property.void
void
Sets the value of the sep property.void
setSpace
(BigInteger value) Sets the value of the space property.
-
Field Details
-
col
-
equalWidth
-
space
-
num
-
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
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
Sets the value of the equalWidth property.- Parameters:
value
- allowed object isBoolean
-
getSpace
Gets the value of the space property.- Returns:
- possible object is
BigInteger
-
setSpace
Sets the value of the space property.- Parameters:
value
- allowed object isBigInteger
-
getNum
Gets the value of the num property.- Returns:
- possible object is
BigInteger
-
setNum
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
Sets the value of the sep property.- Parameters:
value
- allowed object isBoolean
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-