|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbr.com.caelum.stella.boleto.transformer.PDFBoletoWriter
public class PDFBoletoWriter
Writer que sabe escrever num PDF usando IText como dependencia.
| Constructor Summary | |
|---|---|
PDFBoletoWriter()
|
|
PDFBoletoWriter(com.lowagie.text.Rectangle rectangle)
|
|
| Method Summary | |
|---|---|
boolean |
newPage()
Cria uma nova pagina no documento de saida. |
InputStream |
toInputStream()
Grava num InputStream |
void |
write(float x,
float y,
String text)
Escreve um texto na posição x, y com fonte normal (VERDANA, 8) |
void |
writeBold(float x,
float y,
String text)
Escreve um texto na posição x, y com fonte bold (VERDANA_BOLD, 10) |
void |
writeImage(float x,
float y,
BufferedImage image,
float width,
float height)
Escreve uma imagem na posição x, y |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PDFBoletoWriter(com.lowagie.text.Rectangle rectangle)
public PDFBoletoWriter()
| Method Detail |
|---|
public InputStream toInputStream()
BoletoWriter
toInputStream in interface BoletoWriter
public void write(float x,
float y,
String text)
BoletoWriter
write in interface BoletoWriter
public void writeBold(float x,
float y,
String text)
BoletoWriter
writeBold in interface BoletoWriter
public void writeImage(float x,
float y,
BufferedImage image,
float width,
float height)
throws IOException
BoletoWriter
writeImage in interface BoletoWriterIOExceptionpublic boolean newPage()
BoletoWriter
newPage in interface BoletoWritertrue se uma nova pagina foi criada
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||