Package org.docx4j.wml
Class SectPr.PgBorders
java.lang.Object
org.docx4j.wml.SectPr.PgBorders
- All Implemented Interfaces:
Child
- Enclosing class:
- SectPr
public static class SectPr.PgBorders extends java.lang.Object implements Child
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="top" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
<element name="left" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
<element name="bottom" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
<element name="right" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
</sequence>
<attribute name="zOrder" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_PageBorderZOrder" />
<attribute name="display" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_PageBorderDisplay" />
<attribute name="offsetFrom" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_PageBorderOffset" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected CTBorderbottomprotected STPageBorderDisplaydisplayprotected CTBorderleftprotected STPageBorderOffsetoffsetFromprotected CTBorderrightprotected CTBordertopprotected STPageBorderZOrderzOrder -
Constructor Summary
Constructors Constructor Description PgBorders() -
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.CTBordergetBottom()Gets the value of the bottom property.STPageBorderDisplaygetDisplay()Gets the value of the display property.CTBordergetLeft()Gets the value of the left property.STPageBorderOffsetgetOffsetFrom()Gets the value of the offsetFrom property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.CTBordergetRight()Gets the value of the right property.CTBordergetTop()Gets the value of the top property.STPageBorderZOrdergetZOrder()Gets the value of the zOrder property.voidsetBottom(CTBorder value)Sets the value of the bottom property.voidsetDisplay(STPageBorderDisplay value)Sets the value of the display property.voidsetLeft(CTBorder value)Sets the value of the left property.voidsetOffsetFrom(STPageBorderOffset value)Sets the value of the offsetFrom property.voidsetParent(java.lang.Object parent)voidsetRight(CTBorder value)Sets the value of the right property.voidsetTop(CTBorder value)Sets the value of the top property.voidsetZOrder(STPageBorderZOrder value)Sets the value of the zOrder property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
top
-
left
-
bottom
-
right
-
zOrder
-
display
-
offsetFrom
-
-
Constructor Details
-
PgBorders
public PgBorders()
-
-
Method Details
-
getTop
Gets the value of the top property.- Returns:
- possible object is
CTBorder
-
setTop
Sets the value of the top property.- Parameters:
value- allowed object isCTBorder
-
getLeft
Gets the value of the left property.- Returns:
- possible object is
CTBorder
-
setLeft
Sets the value of the left property.- Parameters:
value- allowed object isCTBorder
-
getBottom
Gets the value of the bottom property.- Returns:
- possible object is
CTBorder
-
setBottom
Sets the value of the bottom property.- Parameters:
value- allowed object isCTBorder
-
getRight
Gets the value of the right property.- Returns:
- possible object is
CTBorder
-
setRight
Sets the value of the right property.- Parameters:
value- allowed object isCTBorder
-
getZOrder
Gets the value of the zOrder property.- Returns:
- possible object is
STPageBorderZOrder
-
setZOrder
Sets the value of the zOrder property.- Parameters:
value- allowed object isSTPageBorderZOrder
-
getDisplay
Gets the value of the display property.- Returns:
- possible object is
STPageBorderDisplay
-
setDisplay
Sets the value of the display property.- Parameters:
value- allowed object isSTPageBorderDisplay
-
getOffsetFrom
Gets the value of the offsetFrom property.- Returns:
- possible object is
STPageBorderOffset
-
setOffsetFrom
Sets the value of the offsetFrom property.- Parameters:
value- allowed object isSTPageBorderOffset
-
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.
-