Thank Mark for your quick answer.
I did the table as you told me, but I can't get read of that gray border.
Is there a way to do that ?
This is how I did:
Table tableFooter=new Table(2);
tableFooter.addCell
(paraPageNo);
tableFooter.addCell(paraDate);
tableFooter.setBorder(0);
tableFooter.setBorderColor(Color.WHITE);
tableFooter.setBorderWidth(0);
Still I have the same table with the same gray border (please see attached PNG screenshot).
Can you sugest me something else to do please ?
Thanks.
On 9/8/06, Mark Hall <mhall@edu.uni-klu.ac.at
> wrote:On Friday 08 September 2006 10:17, Alin Popa wrote:
> Page No - Allign LEFT
> Current Date - Allign RIGHT
> (If there is possible, both on the same row/paragraph)
>
> I tryied with RtfHeaderFooterGroup, but when I'm doing setHeaderFooter, it
> will overwrite my previous paragraph.
> Maybe if this is the solution, please give me a clear/simple example.
There are basically two possible approaches:
1.) Use a Table with two cells in each place a Paragraph with the correct
alignment. Then construct a RtfHeaderFooter with the Table and set it as the
footer.
2.) Use a Paragraph, an RtfTab object with the correct tab placement on the
right hand side. Then add a the RtfPageNumber and a Chunk with "\t" + date.
For the first method there should be an example in the iText tutorial. The
second is without documentation unfortunately.
Greetings,
Mark
--
A few hours grace before the madness begins again.
My GPG public key is available at:
http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
--
Best Regards,
Alin