Methods Summary |
---|
private void | createFooterString()Creates the complete footer string based on the left, center, and middle
strings.
footerRecord.setFooter(
"&C" + (center == null ? "" : center) +
"&L" + (left == null ? "" : left) +
"&R" + (right == null ? "" : right));
footerRecord.setFooterLength((byte)footerRecord.getFooter().length());
|
public static java.lang.String | date()Returns the string representing the current date
return "&D";
|
public static java.lang.String | endDoubleUnderline()Returns the string representing the end double underline
return "&E";
|
public static java.lang.String | endUnderline()Returns the string representing the end underline
return "&U";
|
public static java.lang.String | file()Returns the string representing the current file name
return "&F";
|
public static java.lang.String | font(java.lang.String font, java.lang.String style)Returns the string that represents the change in font.
return "&\"" + font + "," + style + "\"";
|
public static java.lang.String | fontSize(short size)Returns the string that represents the change in font size.
return "&" + size;
|
public java.lang.String | getCenter()Get the center of the footer.
return center;
|
public java.lang.String | getLeft()Get the left side of the footer.
return left;
|
public java.lang.String | getRight()Get the right side of the footer.
return right;
|
public static java.lang.String | numPages()Returns the string representing the number of pages.
return "&N";
|
public static java.lang.String | page()Returns the string representing the current page number
return "&P";
|
public void | setCenter(java.lang.String newCenter)Sets the center string.
center = newCenter;
createFooterString();
|
public void | setLeft(java.lang.String newLeft)Sets the left string.
left = newLeft;
createFooterString();
|
public void | setRight(java.lang.String newRight)Sets the right string.
right = newRight;
createFooterString();
|
public static java.lang.String | startDoubleUnderline()Returns the string representing the start double underline
return "&E";
|
public static java.lang.String | startUnderline()Returns the string representing the start underline
return "&U";
|
public static java.lang.String | tab()Returns the string representing the current tab (sheet) name
return "&A";
|
public static java.lang.String | time()Returns the string representing the current time
return "&T";
|