Package org.docx4j.wml
Class CTDiv
java.lang.Object
org.docx4j.wml.CTDiv
- All Implemented Interfaces:
Child
Java class for CT_Div complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Div">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="blockQuote" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
<element name="bodyDiv" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
<element name="marLeft" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_SignedTwipsMeasure"/>
<element name="marRight" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_SignedTwipsMeasure"/>
<element name="marTop" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_SignedTwipsMeasure"/>
<element name="marBottom" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_SignedTwipsMeasure"/>
<element name="divBdr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_DivBdr" minOccurs="0"/>
<element name="divsChild" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Divs" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BooleanDefaultTrueprotected BooleanDefaultTrueprotected CTDivBdrprotected BigIntegerprotected CTSignedTwipsMeasureprotected CTSignedTwipsMeasureprotected CTSignedTwipsMeasureprotected CTSignedTwipsMeasure -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the blockQuote property.Gets the value of the bodyDiv property.Gets the value of the divBdr property.Gets the value of the divsChild property.getId()Gets the value of the id property.Gets the value of the marBottom property.Gets the value of the marLeft property.Gets the value of the marRight property.Gets the value of the marTop property.Gets the parent object in the object tree representing the unmarshalled xml document.voidsetBlockQuote(BooleanDefaultTrue value) Sets the value of the blockQuote property.voidsetBodyDiv(BooleanDefaultTrue value) Sets the value of the bodyDiv property.voidSets the value of the divBdr property.voidsetId(BigInteger value) Sets the value of the id property.voidsetMarBottom(CTSignedTwipsMeasure value) Sets the value of the marBottom property.voidsetMarLeft(CTSignedTwipsMeasure value) Sets the value of the marLeft property.voidsetMarRight(CTSignedTwipsMeasure value) Sets the value of the marRight property.voidsetMarTop(CTSignedTwipsMeasure value) Sets the value of the marTop property.void
-
Field Details
-
blockQuote
-
bodyDiv
-
marLeft
-
marRight
-
marTop
-
marBottom
-
divBdr
-
divsChild
-
id
-
-
Constructor Details
-
CTDiv
public CTDiv()
-
-
Method Details
-
getBlockQuote
Gets the value of the blockQuote property.- Returns:
- possible object is
BooleanDefaultTrue
-
setBlockQuote
Sets the value of the blockQuote property.- Parameters:
value- allowed object isBooleanDefaultTrue
-
getBodyDiv
Gets the value of the bodyDiv property.- Returns:
- possible object is
BooleanDefaultTrue
-
setBodyDiv
Sets the value of the bodyDiv property.- Parameters:
value- allowed object isBooleanDefaultTrue
-
getMarLeft
Gets the value of the marLeft property.- Returns:
- possible object is
CTSignedTwipsMeasure
-
setMarLeft
Sets the value of the marLeft property.- Parameters:
value- allowed object isCTSignedTwipsMeasure
-
getMarRight
Gets the value of the marRight property.- Returns:
- possible object is
CTSignedTwipsMeasure
-
setMarRight
Sets the value of the marRight property.- Parameters:
value- allowed object isCTSignedTwipsMeasure
-
getMarTop
Gets the value of the marTop property.- Returns:
- possible object is
CTSignedTwipsMeasure
-
setMarTop
Sets the value of the marTop property.- Parameters:
value- allowed object isCTSignedTwipsMeasure
-
getMarBottom
Gets the value of the marBottom property.- Returns:
- possible object is
CTSignedTwipsMeasure
-
setMarBottom
Sets the value of the marBottom property.- Parameters:
value- allowed object isCTSignedTwipsMeasure
-
getDivBdr
Gets the value of the divBdr property.- Returns:
- possible object is
CTDivBdr
-
setDivBdr
Sets the value of the divBdr property.- Parameters:
value- allowed object isCTDivBdr
-
getDivsChild
Gets the value of the divsChild 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 divsChild property.For example, to add a new item, do as follows:
getDivsChild().add(newItem);Objects of the following type(s) are allowed in the list
CTDivs -
getId
Gets the value of the id property.- Returns:
- possible object is
BigInteger
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isBigInteger
-
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.
-