6 Replies Latest reply on Apr 5, 2007 1:16 PM by Norman Richards

    PDF Font Colour (Color for some...)

    Damian Harvey Master

      I am creating a PDF using the Seam iText PDF Generation components and trying to set the colour of a table cell via the p:font tag. As I see it the 'color' attribute is missing from the Seam code but is present in com.Iowagie.text.Font.

      Is there another way to set the colour or does org.jboss.seam.pdf.ui.UIFont need a bit of code like below?

      color = (Color) valueBinding(context, "color", color);
      if (color != null) {

      I tried changing the code but ran into an error "Component property color is not writable" at which point I had to move on.