| Method from org.apache.cocoon.poi.hssf.usermodel.HSSFCellStyle Detail: |
public short getAlignment() {
return format.getAlignment();
}
get the type of horizontal alignment for the cell |
public short getBorderBottom() {
return format.getBorderBottom();
}
get the type of border to use for the bottom border of the cell |
public short getBorderLeft() {
return format.getBorderLeft();
}
get the type of border to use for the left border of the cell |
public short getBorderRight() {
return format.getBorderRight();
}
get the type of border to use for the right border of the cell |
public short getBorderTop() {
return format.getBorderTop();
}
get the type of border to use for the top border of the cell |
public short getBottomBorderColor() {
return format.getBottomBorderPaletteIdx();
}
get the color to use for the left border |
public short getDataFormat() {
return format.getFormatIndex();
}
get the index of the built in format |
public short getFillBackgroundColor() {
return format.getFillBackground();
}
get the background fill color |
public short getFillForegroundColor() {
return format.getFillForeground();
}
get the foreground fill color |
public short getFillPattern() {
return format.getAdtlFillPattern();
}
get the fill pattern (??) - set to 1 to fill with foreground color |
public boolean getHidden() {
return format.isHidden();
}
get whether the cell's using this style are to be hidden |
public short getIndention() {
return format.getIndent();
}
get the number of spaces to indent the text in the cell |
public short getIndex() {
return index;
}
get the index within the HSSFWorkbook (sequence within the collection of ExtnededFormat objects) |
public short getLeftBorderColor() {
return format.getLeftBorderPaletteIdx();
}
get the color to use for the left border |
public boolean getLocked() {
return format.isLocked();
}
get whether the cell's using this style are to be locked |
public short getRightBorderColor() {
return format.getRightBorderPaletteIdx();
}
get the color to use for the left border |
public short getRotation() {
return format.getRotation();
}
get the degree of rotation for the text in the cell |
public short getTopBorderColor() {
return format.getTopBorderPaletteIdx();
}
get the color to use for the top border |
public short getVerticalAlignment() {
return format.getVerticalAlignment();
}
get the type of vertical alignment for the cell |
public boolean getWrapText() {
return format.getWrapText();
}
get whether the text should be wrapped |
public void setAlignment(short align) {
format.setIndentNotParentAlignment(true);
format.setAlignment(align);
}
set the type of horizontal alignment for the cell |
public void setBorderBottom(short border) {
format.setIndentNotParentBorder(true);
format.setBorderBottom(border);
}
set the type of border to use for the bottom border of the cell |
public void setBorderLeft(short border) {
format.setIndentNotParentBorder(true);
format.setBorderLeft(border);
}
set the type of border to use for the left border of the cell |
public void setBorderRight(short border) {
format.setIndentNotParentBorder(true);
format.setBorderRight(border);
}
set the type of border to use for the right border of the cell |
public void setBorderTop(short border) {
format.setIndentNotParentBorder(true);
format.setBorderTop(border);
}
set the type of border to use for the top border of the cell |
public void setBottomBorderColor(short color) {
format.setBottomBorderPaletteIdx(color);
}
set the color to use for the bottom border |
public void setDataFormat(short fmt) {
format.setFormatIndex(fmt);
}
set the data format (only builtin formats are supported) |
public void setFillBackgroundColor(short bg) {
format.setFillBackground(bg);
}
set the background fill color |
public void setFillForegroundColor(short bg) {
format.setFillForeground(bg);
}
set the foreground fill color |
public void setFillPattern(short fp) {
format.setAdtlFillPattern(fp);
}
setting to one fills the cell with the foreground color... No idea about
other values |
public void setFont(HSSFFont font) {
format.setIndentNotParentFont(true);
fontindex = font.getIndex();
format.setFontIndex(fontindex);
}
set the font for this style |
public void setHidden(boolean hidden) {
format.setIndentNotParentCellOptions(true);
format.setHidden(hidden);
}
set the cell's using this style to be hidden |
public void setIndention(short indent) {
format.setIndent(indent);
}
set the number of spaces to indent the text in the cell |
public void setLeftBorderColor(short color) {
format.setLeftBorderPaletteIdx(color);
}
set the color to use for the left border |
public void setLocked(boolean locked) {
format.setIndentNotParentCellOptions(true);
format.setLocked(locked);
}
set the cell's using this style to be locked |
public void setRightBorderColor(short color) {
format.setRightBorderPaletteIdx(color);
}
set the color to use for the right border |
public void setRotation(short rotation) {
format.setRotation(rotation);
}
set the degree of rotation for the text in the cell |
public void setTopBorderColor(short color) {
format.setTopBorderPaletteIdx(color);
}
set the color to use for the top border |
public void setVerticalAlignment(short align) {
format.setVerticalAlignment(align);
}
set the type of vertical alignment for the cell |
public void setWrapText(boolean wrapped) {
format.setIndentNotParentAlignment(true);
format.setWrapText(wrapped);
}
set whether the text should be wrapped |