public final class HSSFFooter extends HeaderFooter implements Footer
The footer 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 HSSFFooter 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 |
HSSFFooter(PageSettingsBlock psb) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getRawText() |
protected void |
setHeaderFooterText(java.lang.String text) |
date, endBold, endDoubleUnderline, endUnderline, file, font, fontSize, getCenter, getLeft, getRight, numPages, page, setCenter, setLeft, setRight, startBold, startDoubleUnderline, startUnderline, stripFields, tab, time
protected HSSFFooter(PageSettingsBlock psb)
protected java.lang.String getRawText()
getRawText
in class HeaderFooter
null
.protected void setHeaderFooterText(java.lang.String text)
setHeaderFooterText
in class HeaderFooter
text
- the new header footer text (contains mark-up tags). Possibly
empty string never null
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.