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