Package org.docx4j.dml.chart
Class CTHeaderFooter
java.lang.Object
org.docx4j.dml.chart.CTHeaderFooter
- All Implemented Interfaces:
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/drawingml/2006/chart}ST_Xstring" minOccurs="0"/>
<element name="oddFooter" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}ST_Xstring" minOccurs="0"/>
<element name="evenHeader" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}ST_Xstring" minOccurs="0"/>
<element name="evenFooter" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}ST_Xstring" minOccurs="0"/>
<element name="firstHeader" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}ST_Xstring" minOccurs="0"/>
<element name="firstFooter" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}ST_Xstring" minOccurs="0"/>
</sequence>
<attribute name="alignWithMargins" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<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" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
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 evenFooter property.Gets the value of the evenHeader property.Gets the value of the firstFooter property.Gets the value of the firstHeader property.Gets the value of the oddFooter property.Gets the value of the oddHeader property.Gets the parent object in the object tree representing the unmarshalled xml document.booleanGets the value of the alignWithMargins property.booleanGets the value of the differentFirst property.booleanGets the value of the differentOddEven property.voidsetAlignWithMargins(Boolean value) Sets the value of the alignWithMargins property.voidsetDifferentFirst(Boolean value) Sets the value of the differentFirst property.voidsetDifferentOddEven(Boolean value) Sets the value of the differentOddEven property.voidsetEvenFooter(String value) Sets the value of the evenFooter property.voidsetEvenHeader(String value) Sets the value of the evenHeader property.voidsetFirstFooter(String value) Sets the value of the firstFooter property.voidsetFirstHeader(String value) Sets the value of the firstHeader property.voidsetOddFooter(String value) Sets the value of the oddFooter property.voidsetOddHeader(String value) Sets the value of the oddHeader property.void
-
Field Details
-
oddHeader
-
evenHeader
-
firstHeader
-
alignWithMargins
-
differentOddEven
-
differentFirst
-
-
Constructor Details
-
CTHeaderFooter
public CTHeaderFooter()
-
-
Method Details
-
getOddHeader
Gets the value of the oddHeader property.- Returns:
- possible object is
String
-
setOddHeader
Sets the value of the oddHeader property.- Parameters:
value- allowed object isString
-
getEvenHeader
Gets the value of the evenHeader property.- Returns:
- possible object is
String
-
setEvenHeader
Sets the value of the evenHeader property.- Parameters:
value- allowed object isString
-
getFirstHeader
Gets the value of the firstHeader property.- Returns:
- possible object is
String
-
setFirstHeader
Sets the value of the firstHeader property.- Parameters:
value- allowed object isString
-
isAlignWithMargins
public boolean isAlignWithMargins()Gets the value of the alignWithMargins property.- Returns:
- possible object is
Boolean
-
setAlignWithMargins
Sets the value of the alignWithMargins property.- Parameters:
value- allowed object isBoolean
-
isDifferentOddEven
public boolean isDifferentOddEven()Gets the value of the differentOddEven property.- Returns:
- possible object is
Boolean
-
setDifferentOddEven
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
Sets the value of the differentFirst property.- Parameters:
value- allowed object isBoolean
-
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.
-