Class SectPr.PgBorders

java.lang.Object
org.docx4j.wml.SectPr.PgBorders
All Implemented Interfaces:
Child
Enclosing class:
SectPr

public static class SectPr.PgBorders extends 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 Details

  • Constructor Details

    • PgBorders

      public PgBorders()
  • Method Details

    • getTop

      public CTBorder getTop()
      Gets the value of the top property.
      Returns:
      possible object is CTBorder
    • setTop

      public void setTop(CTBorder value)
      Sets the value of the top property.
      Parameters:
      value - allowed object is CTBorder
    • getLeft

      public CTBorder getLeft()
      Gets the value of the left property.
      Returns:
      possible object is CTBorder
    • setLeft

      public void setLeft(CTBorder value)
      Sets the value of the left property.
      Parameters:
      value - allowed object is CTBorder
    • getBottom

      public CTBorder getBottom()
      Gets the value of the bottom property.
      Returns:
      possible object is CTBorder
    • setBottom

      public void setBottom(CTBorder value)
      Sets the value of the bottom property.
      Parameters:
      value - allowed object is CTBorder
    • getRight

      public CTBorder getRight()
      Gets the value of the right property.
      Returns:
      possible object is CTBorder
    • setRight

      public void setRight(CTBorder value)
      Sets the value of the right property.
      Parameters:
      value - allowed object is CTBorder
    • getZOrder

      public STPageBorderZOrder getZOrder()
      Gets the value of the zOrder property.
      Returns:
      possible object is STPageBorderZOrder
    • setZOrder

      public void setZOrder(STPageBorderZOrder value)
      Sets the value of the zOrder property.
      Parameters:
      value - allowed object is STPageBorderZOrder
    • getDisplay

      public STPageBorderDisplay getDisplay()
      Gets the value of the display property.
      Returns:
      possible object is STPageBorderDisplay
    • setDisplay

      public void setDisplay(STPageBorderDisplay value)
      Sets the value of the display property.
      Parameters:
      value - allowed object is STPageBorderDisplay
    • getOffsetFrom

      public STPageBorderOffset getOffsetFrom()
      Gets the value of the offsetFrom property.
      Returns:
      possible object is STPageBorderOffset
    • setOffsetFrom

      public void setOffsetFrom(STPageBorderOffset value)
      Sets the value of the offsetFrom property.
      Parameters:
      value - allowed object is STPageBorderOffset
    • getParent

      public Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.