|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PageF
Workbook formatting utilities for a workbook, applies primarily if book is saved in XLS format
| Method Summary | |
|---|---|
void |
comment(int col,
int row,
String s,
int w,
int h)
Add a comment to a cell |
void |
footer(String left,
String centre,
String right)
Set the page footer |
void |
freeze(int rows,
int cols)
Freeze view from scrolling (a value of -1 for either parameter means unfreeze) |
void |
header(String left,
String centre,
String right)
Set the page header |
void |
height(int row,
int height)
Set row height in points |
void |
landscape()
Set page to print in landscape format (it is portrait by default) |
void |
lock(String password)
lock the page |
void |
merge(int col1,
int row1,
int col2,
int row2)
Merge the given cells |
FontF |
newCellFont(FontF.FontFace face,
int point,
boolean bold,
boolean italic,
boolean underline,
NamedColour nc)
Get a new font object |
FontF |
newCellFont(FontF ff)
Get a new font object based on an existing font |
CellF |
newCellFormatter(BookF.DataType dt,
CellF.Justification h,
CellF.Justification v)
Get a new cell formatter |
CellF |
newCellFormatter(CellF fc)
Get a new cell formatter basd on an exisiting one |
void |
width(int col,
int width)
Set column width |
void |
zeroes(boolean b)
Show zero values |
void |
zoom(int z)
Set zoom actor for display |
| Method Detail |
|---|
CellF newCellFormatter(BookF.DataType dt,
CellF.Justification h,
CellF.Justification v)
CellF newCellFormatter(CellF fc)
FontF newCellFont(FontF.FontFace face,
int point,
boolean bold,
boolean italic,
boolean underline,
NamedColour nc)
FontF newCellFont(FontF ff)
void zeroes(boolean b)
void zoom(int z)
void freeze(int rows,
int cols)
void width(int col,
int width)
void height(int row,
int height)
void comment(int col,
int row,
String s,
int w,
int h)
void lock(String password)
void header(String left,
String centre,
String right)
void footer(String left,
String centre,
String right)
void landscape()
void merge(int col1,
int row1,
int col2,
int row2)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||