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 and Type | Field and Description |
|---|---|
| private final PageSettingsBlock |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected String | |
| protected void | setHeaderFooterText(String
the new header footer text (contains mark-up tags). Possibly
empty string never text)nullImplements abstract org.
|
| _psb | back to summary |
|---|---|
| private final PageSettingsBlock _psb | |
| HSSFHeader | back to summary |
|---|---|
| protected HSSFHeader(PageSettingsBlock psb) | |
| getRawText | back to summary |
|---|---|
| protected String getRawText() Implements abstract org.
| |
| setHeaderFooterText | back to summary |
|---|---|
| protected void setHeaderFooterText(String text) Implements abstract org.
| |