|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
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
- the text to appendpublic void toggleBold()
public void toggleUnderline()
public void toggleItalics()
public void toggleStrikethrough()
public void toggleDoubleUnderline()
public void toggleSuperScript()
public void toggleSubScript()
public void toggleOutline()
public void toggleShadow()
public void setFontName(java.lang.String fontName)
Note: no checking is performed to determine if fontName is a valid font.
fontName
- name of the font to usepublic boolean setFontSize(int size)
Valid point sizes are between 1 and 99 (inclusive). If size is outside this range, this method returns false and does not change font size. If size is within this range, the font size is changed and true is returned.
size
- The size in points. Valid point sizes are
between 1 and 99 (inclusive).
public void appendPageNumber()
public void appendTotalPages()
public void appendDate()
public void appendTime()
public void appendWorkbookName()
public void appendWorkSheetName()
public void clear()
public boolean empty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |