W3C home > Mailing lists > Public > www-xsl-fo@w3.org > November 2006

Re: How to process xhtml form data into pdf document?

From: flexzor <michael.nielsen@capgemini.com>
Date: Thu, 2 Nov 2006 01:39:43 -0800 (PST)
Message-ID: <7130445.post@talk.nabble.com>
To: www-xsl-fo@w3.org


Hi there

Could you come up with an example in xsl:fo format that does this?

/Michael


Werner Donné wrote:
> 
> 
> Hi Michael,
> 
> You can first format the image in an ordinary block and then place
> the text using absolute positioning (position, top, left, ...). Normally
> the text would be on top of the image. Note however that this is
> implementation defined. You can fix it with the z-index property,
> but not in FOP.
> 
> Regards,
> 
> Werner.
> 
> flexzor wrote:
>> Hi there
>>  
>> Im new to FOP and I have been searching the web for hours now trying to
>> find
>> a solution the the following challenge:
>>  
>> I have an XHTML file that consists of a scanned gif file and some html
>> form
>> fields that are positioned on the xhtml file using css where the
>> positioning
>> of of the fields are described. So if you open the xhtml file you can
>> enter
>> data directly.
>>  
>> My challege is how to transform this into xsl:fo?? I have tried to make a
>> block use the image gif as background and render text on top of it but no
>> luck. Only the part of the image that has text on it is shown. What i
>> need
>> is the full form image to be shown and then render the html form data on
>> top
>> of it in the correct positions. 
>>  
>> I have also tried to use the external-graphics tag to render the image
>> but
>> then I cant position data on top of it ;(.
>>  
>> So:
>>  
>> 1) Whats the best solution for rendering the full image and position data
>> on
>> top of it?
>> 2) How to position data on top of the image file?
>>  
>> Thanx in advance!
>>  
>> See attached gif file to get an idea on my challenge.
>> 
>> /Regards Michael
>> http://www.nabble.com/file/3934/9110.gif 
> 
> -- 
> Werner Donné  --  Re
> Engelbeekstraat 8
> B-3300 Tienen
> tel: (+32) 486 425803	e-mail: werner.donne@re.be
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-process-xhtml-form-data-into-pdf-document--tf2552187.html#a7130445
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
Received on Thursday, 2 November 2006 09:39:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:14 GMT