Class CTHeaderFooter
java.lang.Object
org.docx4j.com.microsoft.schemas.office.drawing.x2014.chartex.CTHeaderFooter
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://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="oddFooter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="evenHeader" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="evenFooter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="firstHeader" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="firstFooter" type="{http://www.w3.org/2001/XMLSchema}string" 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 TypeMethodDescriptionGets 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.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.
-
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
-