Hi Dawn, A solution to your problem suddenly came to my mind. In case this is still of interest to you:
D Landskroon wrote: > Hi, > > We're creating a PDF that contains a table that uses background shading on > the alternate rows. As part of the same PDF we also have to generate a > watermark as the background. > > We now have a problem in that the alternate row shading clashes with the > watermark and basically the watermark disappears on the rows that are > shaded. > > Is there any way around this? Does FOP support this or not? Just wondering > if the XSLT is coded correctly or its just something that FOP does not > support. One way to deal with that is to specify a level of transparency on the background colour of the rows, but to my knowledge XSL-FO doesn’t offer this possibility. However, you can create an SVG image made of basically one rectangle that has a transparent fill, as SVG gives you full flexibility on that matter. Then you just have to set this image as the background-image of the table-row. You don’t have to worry about the dimensions of the image and can set its size to the dimensions of the page, as fo:table-row will clip it accordingly. > Appreciate any help that can be offerred. > > Kind Regards, > Dawn HTH, Vincent --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
