Package org.docx4j.wml
Class SectPr.PgBorders
java.lang.Object
org.docx4j.wml.SectPr.PgBorders
- All Implemented Interfaces:
Child
- Enclosing class:
- SectPr
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
FieldsModifier and TypeFieldDescriptionprotected CTBorderprotected STPageBorderDisplayprotected CTBorderprotected STPageBorderOffsetprotected CTBorderprotected CTBorderprotected STPageBorderZOrder -
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 bottom property.Gets the value of the display property.getLeft()Gets the value of the left property.Gets the value of the offsetFrom property.Gets the parent object in the object tree representing the unmarshalled xml document.getRight()Gets the value of the right property.getTop()Gets the value of the top property.Gets the value of the zOrder property.voidSets the value of the bottom property.voidsetDisplay(STPageBorderDisplay value) Sets the value of the display property.voidSets the value of the left property.voidsetOffsetFrom(STPageBorderOffset value) Sets the value of the offsetFrom property.voidvoidSets the value of the right property.voidSets the value of the top property.voidsetZOrder(STPageBorderZOrder value) Sets the value of the zOrder property.
-
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
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.
-