Package org.apache.poi.hssf.usermodel
Class HSSFFooter
java.lang.Object
org.apache.poi.hssf.usermodel.HeaderFooter
org.apache.poi.hssf.usermodel.HSSFFooter
- All Implemented Interfaces:
Footer
,HeaderFooter
Class to read and manipulate the 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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected void
setHeaderFooterText
(String text) Methods inherited from class org.apache.poi.hssf.usermodel.HeaderFooter
date, endBold, endDoubleUnderline, endUnderline, file, font, fontSize, getCenter, getLeft, getRight, numPages, page, setCenter, setLeft, setRight, startBold, startDoubleUnderline, startUnderline, stripFields, tab, time
-
Constructor Details
-
HSSFFooter
-
-
Method Details
-
getRawText
- Specified by:
getRawText
in classHeaderFooter
- Returns:
- the internal text representation (combining center, left and right parts).
Possibly empty string if no header or footer is set. Never
null
.
-