public class PoiExcelStyle extends Object implements ExcelStyle, Cloneable
| Constructor and Description |
|---|
PoiExcelStyle(org.apache.poi.hssf.usermodel.HSSFWorkbook workbook)
Construtor padrão
|
| Modifier and Type | Method and Description |
|---|---|
PoiExcelStyle |
backcolor(ExcelColor color)
Aplica um fundo para o estilo
|
PoiExcelStyle |
bold()
Aplica negrito no estilo
|
ExcelStyle |
borderBottom(ExcelStroke stroke,
ExcelColor color)
Aplica a borda em baixo
|
ExcelStyle |
borderLeft(ExcelStroke stroke,
ExcelColor color)
Aplica a borda
|
ExcelStyle |
borderRight(ExcelStroke stroke,
ExcelColor color)
Aplica a borda
|
ExcelStyle |
borderTop(ExcelStroke stroke,
ExcelColor color)
Aplica a borda no topo
|
Object |
buildAdapter()
Cria um adpter novo
|
ExcelStyle |
center()
Aplica o alinhamento para o centro
|
PoiExcelStyle |
clone() |
boolean |
equals(Object obj) |
PoiExcelStyle |
forecolor(ExcelColor color)
Aplica uma cor para o texto no estilo
|
Object |
getAdapter()
Retorna o objeto de implementação
|
protected org.apache.poi.hssf.usermodel.HSSFFont |
getFont()
Retorna a fonte
|
protected org.apache.poi.hssf.usermodel.HSSFCellStyle |
getStyle()
Retorna o estilo criado
|
protected org.apache.poi.hssf.usermodel.HSSFWorkbook |
getWorkbook()
Retorna a planilha excel
|
int |
hashCode() |
PoiExcelStyle |
italic()
Aplica italico no estilo
|
ExcelStyle |
left()
Aplica o alinhamento para esquerda
|
ExcelStyle |
right()
Aplica o alinhamento para direita
|
PoiExcelStyle |
size(int height)
Aplica um tamanho de fonte diferente para o estilo
|
PoiExcelStyle |
strikeout()
Aplica sobrelinha no estilo
|
String |
toString() |
public PoiExcelStyle(org.apache.poi.hssf.usermodel.HSSFWorkbook workbook)
workbook - public ExcelStyle left()
left in interface ExcelStylepublic ExcelStyle center()
center in interface ExcelStylepublic ExcelStyle right()
right in interface ExcelStylepublic PoiExcelStyle bold()
bold in interface ExcelStylepublic PoiExcelStyle italic()
italic in interface ExcelStylepublic PoiExcelStyle strikeout()
strikeout in interface ExcelStylepublic PoiExcelStyle forecolor(ExcelColor color)
forecolor in interface ExcelStylecolor - cor do textopublic PoiExcelStyle backcolor(ExcelColor color)
backcolor in interface ExcelStylecolor - cor do fundopublic PoiExcelStyle size(int height)
size in interface ExcelStyleheight - altura em pixelpublic ExcelStyle borderTop(ExcelStroke stroke, ExcelColor color)
borderTop in interface ExcelStylestroke - espessura da linhacolor - cor da linhapublic ExcelStyle borderBottom(ExcelStroke stroke, ExcelColor color)
borderBottom in interface ExcelStylestroke - espessura da linhacolor - cor da linhapublic ExcelStyle borderLeft(ExcelStroke stroke, ExcelColor color)
borderLeft in interface ExcelStylestroke - espessura da linhacolor - cor da linhapublic ExcelStyle borderRight(ExcelStroke stroke, ExcelColor color)
borderRight in interface ExcelStylestroke - espessura da linhacolor - cor da linhaprotected org.apache.poi.hssf.usermodel.HSSFCellStyle getStyle()
protected org.apache.poi.hssf.usermodel.HSSFFont getFont()
public Object buildAdapter()
protected org.apache.poi.hssf.usermodel.HSSFWorkbook getWorkbook()
public Object getAdapter()
getAdapter in interface ExcelStylepublic PoiExcelStyle clone()
Copyright © 2019 Tecgraf/PUC-Rio. All rights reserved.