public final class HSSFEvenHeader extends HeaderFooter implements Header
The header works by having a left, center, and right side. The total cannot be more that 255 bytes long. One uses this class by getting the HSSFHeader from HSSFSheet and then getting or setting the left, center, and right side. For special things (such as page numbers and date), one can use a the methods that return the characters used to represent these. One can also change the fonts by using similar methods.
Modifier | Constructor and Description |
---|---|
protected |
HSSFEvenHeader(PageSettingsBlock psb) |
Modifier and Type | Method and Description |
---|---|
protected String |
getRawText() |
protected void |
setHeaderFooterText(String text) |
date, endBold, endDoubleUnderline, endUnderline, file, font, fontSize, getCenter, getLeft, getRight, numPages, page, setCenter, setLeft, setRight, startBold, startDoubleUnderline, startUnderline, stripFields, tab, time
protected HSSFEvenHeader(PageSettingsBlock psb)
protected String getRawText()
getRawText
in class HeaderFooter
null
.protected void setHeaderFooterText(String text)
setHeaderFooterText
in class HeaderFooter
text
- the new header footer text (contains mark-up tags). Possibly
empty string never null
Copyright © 2020. All rights reserved.