Hey...i've my header on all pages now!!
thank you!!!

There is onother problem now:
the table is wider than the page.

this is the code:
//******************
PdfPTable table = new PdfPTable(1);
        float width = 100;
        table.setTotalWidth(width);

table.getDefaultCell().setBorder(com.lowagie.text.Rectangle.NO_BORDER);
        PdfPCell cell = new PdfPCell(image_header);
        table.addCell(cell);
        table.setHeaderRows(1);
        for (int i = 1; i < 300; i++) {
            table.addCell("myUserId");
        }
        document.add(table);
//**************************
It seems the SetTotalWidth doesnt work :(((
roby




-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to