You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Saladin Sharif <al...@yahoo.com> on 2007/11/07 20:03:38 UTC

setting a pdf as the background of another pdf

Hi,
I have a general question.  I have a pdf file for an application form.  I don't know how this pdf was originally created, but it was given to us by the client.

Anyway, I would like to use XML-FO (with FOP) to set this pdf application form as the background for my new pdf document, and then overlay ontop that background with text.  This way I can overlay the fields of the application form with data (i.e. populating the application form with data).  I would like to know if this is something that is even possible with XML-FO (using FOP).

I was not sure if this way the right place to ask this question, or whether I should ask this question in the XML-FO mailing list.

Please let me know.

Thanks,
-Saladin



**********************************************************
* Saladin Sharif
* e-mail: al_zawiah@yahoo.com
* Visit homepage @ http://gaia.ecs.csus.edu/~sharifs
**********************************************************

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: setting a pdf as the background of another pdf

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Yes, the PDF plug-in is integrated like any other image implementation.

Jeremias Maerki



On 08.11.2007 11:34:28 Chris Bowditch wrote:
> Jeremias Maerki wrote:
> 
> Hi Jeremias,
> 
> > This is certainly the right place to ask this question. It's not about
> > XSL-FO in general, but about FOP.
> > 
> > I suggest you look at the following Wiki page and go on from there:
> > http://wiki.apache.org/xmlgraphics-fop/HowTo/EmbeddedPdf
> 
> Interesting. I thought the PDF-in-PDF feature was for 
> fo:external-graphic only and not background-image attribute. Can you 
> confirm (since the Wiki says fo:external-graphic only) that 
> background-image="foo/bar.pdf" will embed the elements of an existing 
> PDF into the background?
> 
> Thanks,
> 
> Chris


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


Re: setting a pdf as the background of another pdf

Posted by Chris Bowditch <bo...@hotmail.com>.
Jeremias Maerki wrote:

Hi Jeremias,

> This is certainly the right place to ask this question. It's not about
> XSL-FO in general, but about FOP.
> 
> I suggest you look at the following Wiki page and go on from there:
> http://wiki.apache.org/xmlgraphics-fop/HowTo/EmbeddedPdf

Interesting. I thought the PDF-in-PDF feature was for 
fo:external-graphic only and not background-image attribute. Can you 
confirm (since the Wiki says fo:external-graphic only) that 
background-image="foo/bar.pdf" will embed the elements of an existing 
PDF into the background?

Thanks,

Chris



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


Re: setting a pdf as the background of another pdf

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
This is certainly the right place to ask this question. It's not about
XSL-FO in general, but about FOP.

I suggest you look at the following Wiki page and go on from there:
http://wiki.apache.org/xmlgraphics-fop/HowTo/EmbeddedPdf

Caveat: The feature is still somewhat experimental.

The other option is to simply create the form content with FOP and then
use a PDF post-processor [1] to stamp the form and the content together.
That's how it's been done up until now.

[1] http://xmlgraphics.apache.org/fop/resources.html#products-pdf

Jeremias Maerki



On 07.11.2007 20:03:38 Saladin Sharif wrote:
> Hi,
> I have a general question.  I have a pdf file for an application form. 
> I don't know how this pdf was originally created, but it was given to
> us by the client.
> 
> Anyway, I would like to use XML-FO (with FOP) to set this pdf
> application form as the background for my new pdf document, and then
> overlay ontop that background with text.  This way I can overlay the
> fields of the application form with data (i.e. populating the
> application form with data).  I would like to know if this is something
> that is even possible with XML-FO (using FOP).
> 
> I was not sure if this way the right place to ask this question, or
> whether I should ask this question in the XML-FO mailing list.
> 
> Please let me know.
> 
> Thanks,
> -Saladin


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