Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] RTF footer more than page No

Bruno

2006-09-08

Replies:

Alin Popa wrote:
> Hi Mark,
>
> This is the code that I'm using it:
>
>         tableFooter = new Table( 2 );
>
>         Cell cellPageNo = new Cell( paraPageNo );
>         cellPageNo.setBorder( Rectangle.NO_BORDER );
>         cellPageNo.setBorderColor( Color.WHITE );
>
>         Cell cellDate = new Cell( paraDate );
>         cellDate.setBorder( Rectangle.NO_BORDER );
>         cellDate.setBorderColor( Color.WHITE );
>         tableFooter.setWidth( 110 );
>         tableFooter.setDefaultCellBorder( Rectangle.NO_BORDER );
>         tableFooter.setBorderColor( Color.WHITE );
>         tableFooter.setBorderWidth( 0 );
>         tableFooter.addCell( cellPageNo );
>         tableFooter.addCell( cellDate );
>
> And still, the same gray border.
> I don't know what I miss here. :(

Please print the page on paper.
Do you see any borders?

Also please remove the setBorderColor lines.
There is no border, so why set the color?

br,
Bruno

-------------------------------------------------------------------------
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@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.