Hello. I'm trying to create a RTF document with headers and footers on every
page EXCEPT the first page.
The code below seems to force the left and right page headers and footers on
the first page.
RtfHeaderFooterGroup header = new RtfHeaderFooterGroup();
header.setType(RtfHeaderFooter.T
ject: [iText-questions] Headers and Footers
Dear Sir/ Madam
I have written a program that works mainly with Java Server Pages, but to
enable the program to print the end product in a neat and tidy manner, I've
used iText.
The header for the pdf file is a simple one liner, but the footer must
Dear Sir/ Madam
I have written a program that works mainly with Java Server Pages, but to enable the
program to print the end product in a neat and tidy manner, I've used iText.
The header for the pdf file is a simple one liner, but the footer must be able to
contain a table. I have checked
nal Message-
> From: Joel Matos [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, February 17, 2003 12:51
> To: [EMAIL PROTECTED]
> Subject: Re: RE: RE: [iText-questions] headers and footers
>
> :
> :>How can i draw the line? I don't think PdfContentByte.lineTo(float
I'm sorry for this extra message but the code had a bug (bad copy-paste)...
Where you see:
cb.setLineWidth(0.5F);
cb.setRGBColorStrokeF(0xDF, 0xFF, 0xFF);
cb.moveTo(10, img.plainHeight() + 25); // document's borders are 10, 10,
img.plainHeight() + 25, 10
cb.line
:
:> How can i draw the line? I don't think PdfContentByte.lineTo(float
:> x, float y) will work and i can't change
:> line's width and color with this and i need to do it...
:>
: You can do everything with PdfcontentByte.
:
:> I also want to add an image to my header with onStartP
> -Original Message-
> From: Joel Matos [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, February 17, 2003 11:49
> To: [EMAIL PROTECTED]
> Subject: Re: RE: [iText-questions] headers and footers
>
> Hello!! I still have some doubts about this...
> :
> :>
Hello!! I still have some doubts about this...
:
:> Hi!
:> Can i format the line that page's header and footer put on the page
:> (width, length, color)?
:>
: Width and color.
:> Can i add an extra line without pdfPageEvent?
:>
: No.
:> If not, should i do it with onStartPage event or
> -Original Message-
> From: Joel Matos [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, February 13, 2003 17:15
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] headers and footers
>
> Hi!
> Can i format the line that page's header and footer put
Hi!
Can i format the line that page's header and footer put on the page (width, length,
color)?
Can i add an extra line without pdfPageEvent?
If not, should i do it with onStartPage event or onEndPage event? In this case i have
to draw a line, right?
Thanks!!
--
Quoting Ben Sinclair <[EMAIL PROTECTED]>:
> Is it possible to do more advanced formatting and insert images or other
> PDF
> files into headers and footers? As far as I can tell, all I can do is text
> and
> alignment.
There was no need to make a more complex HeaderFooter object
since the class
Is it possible to do more advanced formatting and insert images or other PDF
files into headers and footers? As far as I can tell, all I can do is text and
alignment.
--
Ben Sinclair
[EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
12 matches
Mail list logo