Title: RE: [iText-questions] Write rotated text in a Table


    -----Original Message-----

    From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Gianni Antini

    Sent:   Thursday, December 18, 2003 11:02

    To:     [EMAIL PROTECTED]

    Subject:        [iText-questions] Write rotated text in a Table

    Hello,

    I used PdfTemplate how i reported in table_template.java example but

    I used Table instead PdfPTable.

    I have found this problems:

    [1] When I put rotated text in Table the text exit from the cell.

         So I have used this code:

      Chunk ck = new Chunk( img, 0, -(float)(width * Math.sin(rotation)) );

    And now it overflows the bottom of the cell. You have to set the cell's leading or using a PdfPTable with automatic leading.

    [2] Using PdfTemplate I must use BaseFont, so all formattation feature

         of class Font is lost.

    Ever heard of ColumnText?

    Best Regards,

    Paulo Soares


Reply via email to