Re: [xsl] XSL to PDF - Overlayed graphics/text

Subject: Re: [xsl] XSL to PDF - Overlayed graphics/text
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Fri, 21 Nov 2003 19:54:25 +0100
Manuel Reyes wrote:
The first of these is that I want to be able to use over-layed text /
graphics within the PDF.  For example, lets say I create multi-page PDF
customer order confirmations, once the customer confirms they have
received the goods, I want to overlay the words "Fulfilled" diagonally
across the entire document.

Try a background image for the body region, specifically a SVG image.


I have the following attribute-set within my document.
.. .
Below this I use the following block to define the text within a table
cell :

<fo:block xsl:use-attribute-sets="title_table_block">
<xsl:value-of select="report_generics/report_title"/>
</fo:block>
...
The problem is that when I set the text properties it overrides the font
size/weight/align settings defined in other parts of the document, so
when I create the PDF all parts of the document use these settings (at
the moment this is the only attribute set and this block is the only
block that calls it.)

Run the XSLT standalone and check the resulting FO whether it matches your expectations (font attributes only on the block with the title). It is possible that you hit a bug in the XSLT processor.

J.Pietschmann



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread