public class CsvCellStyle extends Object implements org.apache.poi.ss.usermodel.CellStyle
| Constructor and Description |
|---|
CsvCellStyle(Short index) |
| Modifier and Type | Method and Description |
|---|---|
void |
cloneStyleFrom(org.apache.poi.ss.usermodel.CellStyle source) |
org.apache.poi.ss.usermodel.HorizontalAlignment |
getAlignment() |
org.apache.poi.ss.usermodel.BorderStyle |
getBorderBottom() |
org.apache.poi.ss.usermodel.BorderStyle |
getBorderLeft() |
org.apache.poi.ss.usermodel.BorderStyle |
getBorderRight() |
org.apache.poi.ss.usermodel.BorderStyle |
getBorderTop() |
short |
getBottomBorderColor() |
short |
getDataFormat() |
String |
getDataFormatString() |
short |
getFillBackgroundColor() |
org.apache.poi.ss.usermodel.Color |
getFillBackgroundColorColor() |
short |
getFillForegroundColor() |
org.apache.poi.ss.usermodel.Color |
getFillForegroundColorColor() |
org.apache.poi.ss.usermodel.FillPatternType |
getFillPattern() |
int |
getFontIndex() |
int |
getFontIndexAsInt() |
boolean |
getHidden() |
short |
getIndention() |
short |
getIndex() |
short |
getLeftBorderColor() |
boolean |
getLocked() |
boolean |
getQuotePrefixed() |
short |
getRightBorderColor() |
short |
getRotation() |
boolean |
getShrinkToFit() |
short |
getTopBorderColor() |
org.apache.poi.ss.usermodel.VerticalAlignment |
getVerticalAlignment() |
boolean |
getWrapText() |
void |
setAlignment(org.apache.poi.ss.usermodel.HorizontalAlignment align) |
void |
setBorderBottom(org.apache.poi.ss.usermodel.BorderStyle border) |
void |
setBorderLeft(org.apache.poi.ss.usermodel.BorderStyle border) |
void |
setBorderRight(org.apache.poi.ss.usermodel.BorderStyle border) |
void |
setBorderTop(org.apache.poi.ss.usermodel.BorderStyle border) |
void |
setBottomBorderColor(short color) |
void |
setDataFormat(short fmt) |
void |
setFillBackgroundColor(org.apache.poi.ss.usermodel.Color color) |
void |
setFillBackgroundColor(short bg) |
void |
setFillForegroundColor(org.apache.poi.ss.usermodel.Color color) |
void |
setFillForegroundColor(short bg) |
void |
setFillPattern(org.apache.poi.ss.usermodel.FillPatternType fp) |
void |
setFont(org.apache.poi.ss.usermodel.Font font) |
void |
setHidden(boolean hidden) |
void |
setIndention(short indent) |
void |
setLeftBorderColor(short color) |
void |
setLocked(boolean locked) |
void |
setQuotePrefixed(boolean quotePrefix) |
void |
setRightBorderColor(short color) |
void |
setRotation(short rotation) |
void |
setShrinkToFit(boolean shrinkToFit) |
void |
setTopBorderColor(short color) |
void |
setVerticalAlignment(org.apache.poi.ss.usermodel.VerticalAlignment align) |
void |
setWrapText(boolean wrapped) |
public CsvCellStyle(Short index)
public short getIndex()
getIndex in interface org.apache.poi.ss.usermodel.CellStylepublic void setDataFormat(short fmt)
setDataFormat in interface org.apache.poi.ss.usermodel.CellStylepublic short getDataFormat()
getDataFormat in interface org.apache.poi.ss.usermodel.CellStylepublic String getDataFormatString()
getDataFormatString in interface org.apache.poi.ss.usermodel.CellStylepublic void setFont(org.apache.poi.ss.usermodel.Font font)
setFont in interface org.apache.poi.ss.usermodel.CellStylepublic int getFontIndex()
getFontIndex in interface org.apache.poi.ss.usermodel.CellStylepublic int getFontIndexAsInt()
getFontIndexAsInt in interface org.apache.poi.ss.usermodel.CellStylepublic void setHidden(boolean hidden)
setHidden in interface org.apache.poi.ss.usermodel.CellStylepublic boolean getHidden()
getHidden in interface org.apache.poi.ss.usermodel.CellStylepublic void setLocked(boolean locked)
setLocked in interface org.apache.poi.ss.usermodel.CellStylepublic boolean getLocked()
getLocked in interface org.apache.poi.ss.usermodel.CellStylepublic void setQuotePrefixed(boolean quotePrefix)
setQuotePrefixed in interface org.apache.poi.ss.usermodel.CellStylepublic boolean getQuotePrefixed()
getQuotePrefixed in interface org.apache.poi.ss.usermodel.CellStylepublic void setAlignment(org.apache.poi.ss.usermodel.HorizontalAlignment align)
setAlignment in interface org.apache.poi.ss.usermodel.CellStylepublic org.apache.poi.ss.usermodel.HorizontalAlignment getAlignment()
getAlignment in interface org.apache.poi.ss.usermodel.CellStylepublic void setWrapText(boolean wrapped)
setWrapText in interface org.apache.poi.ss.usermodel.CellStylepublic boolean getWrapText()
getWrapText in interface org.apache.poi.ss.usermodel.CellStylepublic void setVerticalAlignment(org.apache.poi.ss.usermodel.VerticalAlignment align)
setVerticalAlignment in interface org.apache.poi.ss.usermodel.CellStylepublic org.apache.poi.ss.usermodel.VerticalAlignment getVerticalAlignment()
getVerticalAlignment in interface org.apache.poi.ss.usermodel.CellStylepublic void setRotation(short rotation)
setRotation in interface org.apache.poi.ss.usermodel.CellStylepublic short getRotation()
getRotation in interface org.apache.poi.ss.usermodel.CellStylepublic void setIndention(short indent)
setIndention in interface org.apache.poi.ss.usermodel.CellStylepublic short getIndention()
getIndention in interface org.apache.poi.ss.usermodel.CellStylepublic void setBorderLeft(org.apache.poi.ss.usermodel.BorderStyle border)
setBorderLeft in interface org.apache.poi.ss.usermodel.CellStylepublic org.apache.poi.ss.usermodel.BorderStyle getBorderLeft()
getBorderLeft in interface org.apache.poi.ss.usermodel.CellStylepublic void setBorderRight(org.apache.poi.ss.usermodel.BorderStyle border)
setBorderRight in interface org.apache.poi.ss.usermodel.CellStylepublic org.apache.poi.ss.usermodel.BorderStyle getBorderRight()
getBorderRight in interface org.apache.poi.ss.usermodel.CellStylepublic void setBorderTop(org.apache.poi.ss.usermodel.BorderStyle border)
setBorderTop in interface org.apache.poi.ss.usermodel.CellStylepublic org.apache.poi.ss.usermodel.BorderStyle getBorderTop()
getBorderTop in interface org.apache.poi.ss.usermodel.CellStylepublic void setBorderBottom(org.apache.poi.ss.usermodel.BorderStyle border)
setBorderBottom in interface org.apache.poi.ss.usermodel.CellStylepublic org.apache.poi.ss.usermodel.BorderStyle getBorderBottom()
getBorderBottom in interface org.apache.poi.ss.usermodel.CellStylepublic void setLeftBorderColor(short color)
setLeftBorderColor in interface org.apache.poi.ss.usermodel.CellStylepublic short getLeftBorderColor()
getLeftBorderColor in interface org.apache.poi.ss.usermodel.CellStylepublic void setRightBorderColor(short color)
setRightBorderColor in interface org.apache.poi.ss.usermodel.CellStylepublic short getRightBorderColor()
getRightBorderColor in interface org.apache.poi.ss.usermodel.CellStylepublic void setTopBorderColor(short color)
setTopBorderColor in interface org.apache.poi.ss.usermodel.CellStylepublic short getTopBorderColor()
getTopBorderColor in interface org.apache.poi.ss.usermodel.CellStylepublic void setBottomBorderColor(short color)
setBottomBorderColor in interface org.apache.poi.ss.usermodel.CellStylepublic short getBottomBorderColor()
getBottomBorderColor in interface org.apache.poi.ss.usermodel.CellStylepublic void setFillPattern(org.apache.poi.ss.usermodel.FillPatternType fp)
setFillPattern in interface org.apache.poi.ss.usermodel.CellStylepublic org.apache.poi.ss.usermodel.FillPatternType getFillPattern()
getFillPattern in interface org.apache.poi.ss.usermodel.CellStylepublic void setFillBackgroundColor(short bg)
setFillBackgroundColor in interface org.apache.poi.ss.usermodel.CellStylepublic void setFillBackgroundColor(org.apache.poi.ss.usermodel.Color color)
setFillBackgroundColor in interface org.apache.poi.ss.usermodel.CellStylepublic short getFillBackgroundColor()
getFillBackgroundColor in interface org.apache.poi.ss.usermodel.CellStylepublic org.apache.poi.ss.usermodel.Color getFillBackgroundColorColor()
getFillBackgroundColorColor in interface org.apache.poi.ss.usermodel.CellStylepublic void setFillForegroundColor(short bg)
setFillForegroundColor in interface org.apache.poi.ss.usermodel.CellStylepublic void setFillForegroundColor(org.apache.poi.ss.usermodel.Color color)
setFillForegroundColor in interface org.apache.poi.ss.usermodel.CellStylepublic short getFillForegroundColor()
getFillForegroundColor in interface org.apache.poi.ss.usermodel.CellStylepublic org.apache.poi.ss.usermodel.Color getFillForegroundColorColor()
getFillForegroundColorColor in interface org.apache.poi.ss.usermodel.CellStylepublic void cloneStyleFrom(org.apache.poi.ss.usermodel.CellStyle source)
cloneStyleFrom in interface org.apache.poi.ss.usermodel.CellStylepublic void setShrinkToFit(boolean shrinkToFit)
setShrinkToFit in interface org.apache.poi.ss.usermodel.CellStylepublic boolean getShrinkToFit()
getShrinkToFit in interface org.apache.poi.ss.usermodel.CellStyleCopyright © 2018–2024 Alibaba Group. All rights reserved.