[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSL to PDF - Overlayed graphics/text

Subject: Re: XSL to PDF - Overlayed graphics/text
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Fri, 21 Nov 2003 19:54:25 +0100
xsl to pdf
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.