|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jxl.biff.HeaderFooter.Contents jxl.HeaderFooter.Contents
The contents - a simple wrapper around a string buffer
Method Summary | |
void |
append(java.lang.String txt)
Appends the text to the string buffer |
void |
appendDate()
Appends the current date |
void |
appendPageNumber()
Appends the page number |
void |
appendTime()
Appends the current time |
void |
appendTotalPages()
Appends the total number of pages |
void |
appendWorkbookName()
Appends the workbook name |
void |
appendWorkSheetName()
Appends the worksheet name |
void |
clear()
Clears the contents of this portion |
boolean |
empty()
Queries if the contents are empty |
void |
setFontName(java.lang.String fontName)
Sets the font of text subsequently appended to this object.. |
boolean |
setFontSize(int size)
Sets the font size of text subsequently appended to this object. |
void |
toggleBold()
Turns bold printing on or off. |
void |
toggleDoubleUnderline()
Turns double-underline printing on or off. |
void |
toggleItalics()
Turns italics printing on or off. |
void |
toggleOutline()
Turns outline printing on or off (Macintosh only). |
void |
toggleShadow()
Turns shadow printing on or off (Macintosh only). |
void |
toggleStrikethrough()
Turns strikethrough printing on or off. |
void |
toggleSubScript()
Turns subscript printing on or off. |
void |
toggleSuperScript()
Turns superscript printing on or off. |
void |
toggleUnderline()
Turns underline printing on or off. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void append(java.lang.String txt)
txt
- public void appendDate()
public void appendPageNumber()
public void appendTime()
public void appendTotalPages()
public void appendWorkbookName()
public void appendWorkSheetName()
public void clear()
public boolean empty()
public void setFontName(java.lang.String fontName)
fontName
- name of the font to usepublic boolean setFontSize(int size)
size
- The size in points. Valid point sizes are
between 1 and 99 (inclusive).
public void toggleBold()
public void toggleDoubleUnderline()
public void toggleItalics()
public void toggleOutline()
public void toggleShadow()
public void toggleStrikethrough()
public void toggleSubScript()
public void toggleSuperScript()
public void toggleUnderline()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |