Class HeaderFooterSettings
java.lang.Object
com.independentsoft.office.spreadsheet.HeaderFooterSettings
The Class HeaderFooterSettings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the even footer.Gets the even header.Gets the first footer.Gets the first header.Gets the odd footer.Gets the odd header.booleanChecks if is align margins.booleanChecks if is different first page.booleanChecks if is different odd even.booleanChecks if is scale with document.voidsetAlignMargins(boolean alignMargins)Sets the align margins.voidsetDifferentFirstPage(boolean differentFirstPage)Sets the different first page.voidsetDifferentOddEven(boolean differentOddEven)Sets the different odd even.voidsetEvenFooter(String evenFooter)Sets the even footer.voidsetEvenHeader(String evenHeader)Sets the even header.voidsetFirstFooter(String firstFooter)Sets the first footer.voidsetFirstHeader(String firstHeader)Sets the first header.voidsetOddFooter(String oddFooter)Sets the odd footer.voidsetOddHeader(String oddHeader)Sets the odd header.voidsetScaleWithDocument(boolean scaleWithDocument)Sets the scale with document.toString()
-
Constructor Details
-
HeaderFooterSettings
public HeaderFooterSettings()Instantiates a new header footer settings.
-
-
Method Details
-
clone
-
toString
-
getEvenHeader
Gets the even header.- Returns:
- the even header
-
setEvenHeader
Sets the even header.- Parameters:
evenHeader- the new even header
-
getFirstHeader
Gets the first header.- Returns:
- the first header
-
setFirstHeader
Sets the first header.- Parameters:
firstHeader- the new first header
-
getOddHeader
Gets the odd header.- Returns:
- the odd header
-
setOddHeader
Sets the odd header.- Parameters:
oddHeader- the new odd header
-
isAlignMargins
public boolean isAlignMargins()Checks if is align margins.- Returns:
- true, if is align margins
-
setAlignMargins
public void setAlignMargins(boolean alignMargins)Sets the align margins.- Parameters:
alignMargins- the new align margins
-
isDifferentFirstPage
public boolean isDifferentFirstPage()Checks if is different first page.- Returns:
- true, if is different first page
-
setDifferentFirstPage
public void setDifferentFirstPage(boolean differentFirstPage)Sets the different first page.- Parameters:
differentFirstPage- the new different first page
-
isDifferentOddEven
public boolean isDifferentOddEven()Checks if is different odd even.- Returns:
- true, if is different odd even
-
setDifferentOddEven
public void setDifferentOddEven(boolean differentOddEven)Sets the different odd even.- Parameters:
differentOddEven- the new different odd even
-
isScaleWithDocument
public boolean isScaleWithDocument()Checks if is scale with document.- Returns:
- true, if is scale with document
-
setScaleWithDocument
public void setScaleWithDocument(boolean scaleWithDocument)Sets the scale with document.- Parameters:
scaleWithDocument- the new scale with document
-