Class CTHeaderFooter

java.lang.Object
org.xlsx4j.sml.CTHeaderFooter
All Implemented Interfaces:
Child

public class CTHeaderFooter extends Object implements Child

Java class for CT_HeaderFooter complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_HeaderFooter">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="oddHeader" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" minOccurs="0"/>
         <element name="oddFooter" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" minOccurs="0"/>
         <element name="evenHeader" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" minOccurs="0"/>
         <element name="evenFooter" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" minOccurs="0"/>
         <element name="firstHeader" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" minOccurs="0"/>
         <element name="firstFooter" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" minOccurs="0"/>
       </sequence>
       <attribute name="differentOddEven" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="differentFirst" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="scaleWithDoc" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="alignWithMargins" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • oddHeader

      protected String oddHeader
    • oddFooter

      protected String oddFooter
    • evenHeader

      protected String evenHeader
    • evenFooter

      protected String evenFooter
    • firstHeader

      protected String firstHeader
    • firstFooter

      protected String firstFooter
    • differentOddEven

      protected Boolean differentOddEven
    • differentFirst

      protected Boolean differentFirst
    • scaleWithDoc

      protected Boolean scaleWithDoc
    • alignWithMargins

      protected Boolean alignWithMargins
  • Constructor Details

    • CTHeaderFooter

      public CTHeaderFooter()
  • Method Details

    • getOddHeader

      public String getOddHeader()
      Gets the value of the oddHeader property.
      Returns:
      possible object is String
    • setOddHeader

      public void setOddHeader(String value)
      Sets the value of the oddHeader property.
      Parameters:
      value - allowed object is String
    • getOddFooter

      public String getOddFooter()
      Gets the value of the oddFooter property.
      Returns:
      possible object is String
    • setOddFooter

      public void setOddFooter(String value)
      Sets the value of the oddFooter property.
      Parameters:
      value - allowed object is String
    • getEvenHeader

      public String getEvenHeader()
      Gets the value of the evenHeader property.
      Returns:
      possible object is String
    • setEvenHeader

      public void setEvenHeader(String value)
      Sets the value of the evenHeader property.
      Parameters:
      value - allowed object is String
    • getEvenFooter

      public String getEvenFooter()
      Gets the value of the evenFooter property.
      Returns:
      possible object is String
    • setEvenFooter

      public void setEvenFooter(String value)
      Sets the value of the evenFooter property.
      Parameters:
      value - allowed object is String
    • getFirstHeader

      public String getFirstHeader()
      Gets the value of the firstHeader property.
      Returns:
      possible object is String
    • setFirstHeader

      public void setFirstHeader(String value)
      Sets the value of the firstHeader property.
      Parameters:
      value - allowed object is String
    • getFirstFooter

      public String getFirstFooter()
      Gets the value of the firstFooter property.
      Returns:
      possible object is String
    • setFirstFooter

      public void setFirstFooter(String value)
      Sets the value of the firstFooter property.
      Parameters:
      value - allowed object is String
    • isDifferentOddEven

      public boolean isDifferentOddEven()
      Gets the value of the differentOddEven property.
      Returns:
      possible object is Boolean
    • setDifferentOddEven

      public void setDifferentOddEven(Boolean value)
      Sets the value of the differentOddEven property.
      Parameters:
      value - allowed object is Boolean
    • isDifferentFirst

      public boolean isDifferentFirst()
      Gets the value of the differentFirst property.
      Returns:
      possible object is Boolean
    • setDifferentFirst

      public void setDifferentFirst(Boolean value)
      Sets the value of the differentFirst property.
      Parameters:
      value - allowed object is Boolean
    • isScaleWithDoc

      public boolean isScaleWithDoc()
      Gets the value of the scaleWithDoc property.
      Returns:
      possible object is Boolean
    • setScaleWithDoc

      public void setScaleWithDoc(Boolean value)
      Sets the value of the scaleWithDoc property.
      Parameters:
      value - allowed object is Boolean
    • isAlignWithMargins

      public boolean isAlignWithMargins()
      Gets the value of the alignWithMargins property.
      Returns:
      possible object is Boolean
    • setAlignWithMargins

      public void setAlignWithMargins(Boolean value)
      Sets the value of the alignWithMargins property.
      Parameters:
      value - allowed object is Boolean
    • 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.