You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xmlgraphics.apache.org by "Nielsen, Michael" <mi...@capgemini.com> on 2006/11/01 13:18:26 UTC

How to process xhtml form data into pdf document?

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!
 
/Regards Michael


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.

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

Posted by Glen Mazza <gm...@apache.org>.
Oh, by the way, you want to ask these types of questions on 
fop-users@xmlgraphics.apache.org, *many* more users there.

Glen

Glen Mazza wrote:

> Jeremias provided a solution[1] to a similar question I had.  Also, I 
> wonder if XForms might be a better option for you--there are some open 
> source server-side solutions you might want to look at[2].  (However, 
> I have not yet used XForms myself so am unsure here.)
>
> Glen
>
> [1] http://marc.theaimsgroup.com/?l=fop-user&m=108136796216447&w=2
> [2] http://en.wikipedia.org/wiki/XForms#Software_support
>
>
> Nielsen, Michael 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!
>>
>> /Regards Michael
>>
>>
>> This message contains information that may be privileged or 
>> confidential and is the property of the Capgemini Group. It is 
>> intended only for the person to whom it is addressed. If you are not 
>> the intended recipient,  you are not authorized to read, print, 
>> retain, copy, disseminate,  distribute, or use this message or any 
>> part thereof. If you receive this  message in error, please notify 
>> the sender immediately and delete all  copies of this message.
>>
>>  
>>
>
>
> ---------------------------------------------------------------------
> Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
> To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: general-help@xmlgraphics.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


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

Posted by Glen Mazza <gm...@apache.org>.
Oh, by the way, you want to ask these types of questions on 
fop-users@xmlgraphics.apache.org, *many* more users there.

Glen

Glen Mazza wrote:

> Jeremias provided a solution[1] to a similar question I had.  Also, I 
> wonder if XForms might be a better option for you--there are some open 
> source server-side solutions you might want to look at[2].  (However, 
> I have not yet used XForms myself so am unsure here.)
>
> Glen
>
> [1] http://marc.theaimsgroup.com/?l=fop-user&m=108136796216447&w=2
> [2] http://en.wikipedia.org/wiki/XForms#Software_support
>
>
> Nielsen, Michael 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!
>>
>> /Regards Michael
>>
>>
>> This message contains information that may be privileged or 
>> confidential and is the property of the Capgemini Group. It is 
>> intended only for the person to whom it is addressed. If you are not 
>> the intended recipient,  you are not authorized to read, print, 
>> retain, copy, disseminate,  distribute, or use this message or any 
>> part thereof. If you receive this  message in error, please notify 
>> the sender immediately and delete all  copies of this message.
>>
>>  
>>
>
>
> ---------------------------------------------------------------------
> Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
> To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: general-help@xmlgraphics.apache.org
>
>


---------------------------------------------------------------------
Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


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

Posted by Glen Mazza <gm...@apache.org>.
Jeremias provided a solution[1] to a similar question I had.  Also, I 
wonder if XForms might be a better option for you--there are some open 
source server-side solutions you might want to look at[2].  (However, I 
have not yet used XForms myself so am unsure here.)

Glen

[1] http://marc.theaimsgroup.com/?l=fop-user&m=108136796216447&w=2
[2] http://en.wikipedia.org/wiki/XForms#Software_support


Nielsen, Michael 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!
> 
>/Regards Michael
>
>
>This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.
>
>  
>


---------------------------------------------------------------------
Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org