Stijn Niclaes wrote:
> I've been trying to generate an RTF consisting of a couple of
> paragraphs and it works as you could expect, but what does the
> setFirstLineIndent(float) method do?
RTF, that's Mark's territory.
I only know that setFirstLineIndent doesn't work with document.add()
when c
Hi Bruno, Paolo,I forgot to thank you guys for the help with pageEvent problem: THX ;-)But now I have another one:I've been trying to generate an RTF consisting of a couple of paragraphs and it works as you could expect, but what does the setFirstLineIndent(float) method do?
I need the first line o
@lists.sourceforge.netSubject: [iText-questions]
PdfPageEventHelper problem
Hi all,I'm having trouble using the PdfPageEventHelper
class. The most significant part of the code:
@Override public void onStartPage(PdfWriter writer,
Document document) {
The problem is, that it only does it on a document with multiple
pages, as soon as I generate a doc with only one page, nothing shows up.
That's odd.
Are you sure you add the page event before document.open?
Also it is safer to replace onStartPage with onEndPage.
br,
Bruno
-
Hi all,I'm having trouble using the PdfPageEventHelper class. The most significant part of the code: @Override public void onStartPage(PdfWriter writer, Document document) { try {
PdfContentByte cb = writer.getDirectContentUnder(); BaseFont bf = BaseFont.createFo