Package org.xlsx4j.sml
Class CTHeaderFooter
java.lang.Object
org.xlsx4j.sml.CTHeaderFooter
- All Implemented Interfaces:
Child
public class CTHeaderFooter extends java.lang.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 Summary
Fields Modifier and Type Field Description protected java.lang.BooleanalignWithMarginsprotected java.lang.BooleandifferentFirstprotected java.lang.BooleandifferentOddEvenprotected java.lang.StringevenFooterprotected java.lang.StringevenHeaderprotected java.lang.StringfirstFooterprotected java.lang.StringfirstHeaderprotected java.lang.StringoddFooterprotected java.lang.StringoddHeaderprotected java.lang.BooleanscaleWithDoc -
Constructor Summary
Constructors Constructor Description CTHeaderFooter() -
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.java.lang.StringgetEvenFooter()Gets the value of the evenFooter property.java.lang.StringgetEvenHeader()Gets the value of the evenHeader property.java.lang.StringgetFirstFooter()Gets the value of the firstFooter property.java.lang.StringgetFirstHeader()Gets the value of the firstHeader property.java.lang.StringgetOddFooter()Gets the value of the oddFooter property.java.lang.StringgetOddHeader()Gets the value of the oddHeader property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.booleanisAlignWithMargins()Gets the value of the alignWithMargins property.booleanisDifferentFirst()Gets the value of the differentFirst property.booleanisDifferentOddEven()Gets the value of the differentOddEven property.booleanisScaleWithDoc()Gets the value of the scaleWithDoc property.voidsetAlignWithMargins(java.lang.Boolean value)Sets the value of the alignWithMargins property.voidsetDifferentFirst(java.lang.Boolean value)Sets the value of the differentFirst property.voidsetDifferentOddEven(java.lang.Boolean value)Sets the value of the differentOddEven property.voidsetEvenFooter(java.lang.String value)Sets the value of the evenFooter property.voidsetEvenHeader(java.lang.String value)Sets the value of the evenHeader property.voidsetFirstFooter(java.lang.String value)Sets the value of the firstFooter property.voidsetFirstHeader(java.lang.String value)Sets the value of the firstHeader property.voidsetOddFooter(java.lang.String value)Sets the value of the oddFooter property.voidsetOddHeader(java.lang.String value)Sets the value of the oddHeader property.voidsetParent(java.lang.Object parent)voidsetScaleWithDoc(java.lang.Boolean value)Sets the value of the scaleWithDoc property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
oddHeader
protected java.lang.String oddHeader -
evenHeader
protected java.lang.String evenHeader -
firstHeader
protected java.lang.String firstHeader -
differentOddEven
protected java.lang.Boolean differentOddEven -
differentFirst
protected java.lang.Boolean differentFirst -
scaleWithDoc
protected java.lang.Boolean scaleWithDoc -
alignWithMargins
protected java.lang.Boolean alignWithMargins
-
-
Constructor Details
-
CTHeaderFooter
public CTHeaderFooter()
-
-
Method Details
-
getOddHeader
public java.lang.String getOddHeader()Gets the value of the oddHeader property.- Returns:
- possible object is
String
-
setOddHeader
public void setOddHeader(java.lang.String value)Sets the value of the oddHeader property.- Parameters:
value- allowed object isString
-
getEvenHeader
public java.lang.String getEvenHeader()Gets the value of the evenHeader property.- Returns:
- possible object is
String
-
setEvenHeader
public void setEvenHeader(java.lang.String value)Sets the value of the evenHeader property.- Parameters:
value- allowed object isString
-
getFirstHeader
public java.lang.String getFirstHeader()Gets the value of the firstHeader property.- Returns:
- possible object is
String
-
setFirstHeader
public void setFirstHeader(java.lang.String value)Sets the value of the firstHeader property.- Parameters:
value- allowed object isString
-
isDifferentOddEven
public boolean isDifferentOddEven()Gets the value of the differentOddEven property.- Returns:
- possible object is
Boolean
-
setDifferentOddEven
public void setDifferentOddEven(java.lang.Boolean value)Sets the value of the differentOddEven property.- Parameters:
value- allowed object isBoolean
-
isDifferentFirst
public boolean isDifferentFirst()Gets the value of the differentFirst property.- Returns:
- possible object is
Boolean
-
setDifferentFirst
public void setDifferentFirst(java.lang.Boolean value)Sets the value of the differentFirst property.- Parameters:
value- allowed object isBoolean
-
isScaleWithDoc
public boolean isScaleWithDoc()Gets the value of the scaleWithDoc property.- Returns:
- possible object is
Boolean
-
setScaleWithDoc
public void setScaleWithDoc(java.lang.Boolean value)Sets the value of the scaleWithDoc property.- Parameters:
value- allowed object isBoolean
-
isAlignWithMargins
public boolean isAlignWithMargins()Gets the value of the alignWithMargins property.- Returns:
- possible object is
Boolean
-
setAlignWithMargins
public void setAlignWithMargins(java.lang.Boolean value)Sets the value of the alignWithMargins property.- Parameters:
value- allowed object isBoolean
-
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.
-