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 Peter <pc...@gmail.com> on 2006/12/01 06:36:14 UTC

RE: Use PDF as input source for FOP

Apologies for jumping in on this thread, but I have a similar requirement,
that is, a pdf is delivered to us which we want to embed in fop, much like
one would embed a jpg.

 

I understand fop does not support that today, but does anybody have ideas on
what it might take to implement that? Note that I have the impression that
other xsl-fo processors do support such a feature.

 

Thanks,

 

Peter

 

  _____  

From: jperkowski@npic.com [mailto:jperkowski@npic.com] 
Sent: Thursday, November 30, 2006 8:37 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Use PDF as input source for FOP

 


Thank you, Dirk...we do use iText for some of our applications...I'll get
with our developers that are using iText to find out more and I'll check out
the URL you listed. 

Thanks again. 




Dirk Bromberg <di...@familie-bromberg.de> 

11/30/2006 02:00 PM 


Please respond to
fop-users@xmlgraphics.apache.org


To

fop-users@xmlgraphics.apache.org 


cc

 


Subject

Re: Use PDF as input source for FOP

 


 

 




Hi,

what you want can be done with itext.
www.lowagie.com/*iText*/

fop can only create pdfs with some like xml:fo as source.

Dirk

jperkowski@npic.com schrieb:
>
> Has anyone had any experience with using PDF's as input for FOP?
>
> We are using FOP 0.20.5 with Java 1.5.  We have a PDF that was 
> provided to us by an outside source.  We would like to leverage the 
> existing PDF (or as much of it as we can)  by using it as an input 
> source.  Our goal is to  modify it with our data, and have FOP 
> generate a new PDF for us, which would be a combination of the 
> original PDF and our data.
>
> From reading the FAQ's and the mail archives for FOP, it appears FOP 
> will only take XML and XSL-FO as input.  So, I am wondering, do I need 
> to use some independent PDF to XML conversion tool, or if there is a 
> better/easier way to do this?
>
> Thank you for any insight you can offer us regarding this issue.
>
>
>
>
>


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




Re: Use PDF as input source for FOP

Posted by jp...@npic.com.
This sounds promising - would you please keep me posted as to what you 
find?  Thanks!





Jeremias Maerki <de...@jeremias-maerki.ch> 
12/01/2006 02:28 AM
Please respond to
fop-users@xmlgraphics.apache.org


To
fop-users@xmlgraphics.apache.org
cc

Subject
Re: Use PDF as input source for FOP






Incidentally, I've been investigating this recently for a customer.
Essentially, there's one big problem: Our PDF library only supports
writing PDF and it's optimized for this task. We don't have a PDF parser
which would be needed. I've done a quick&dirty prototype using PDFBox to
see if including PDF pages using fo:external-graphic would be doable. If
you have a PDF parser it's pretty easy. We were discussing about
adopting PDFBox as our primary PDF library but it's not optimized for
writing large PDF files which our own library is. Big dilemma. I have a
few ideas to make this work with relatively little effort (using a
combination of PDFBox and our PDF library, still not a one-day job,
though) and I will likely get to this in the next weeks. But as always,
no promises on this list and help is welcome. :-)

On 01.12.2006 06:36:14 Peter wrote:
> Apologies for jumping in on this thread, but I have a similar 
requirement,
> that is, a pdf is delivered to us which we want to embed in fop, much 
like
> one would embed a jpg.
> 
> 
> 
> I understand fop does not support that today, but does anybody have 
ideas on
> what it might take to implement that? Note that I have the impression 
that
> other xsl-fo processors do support such a feature.

<snip/>


Jeremias Maerki


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



Re: Use PDF as input source for FOP

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Incidentally, I've been investigating this recently for a customer.
Essentially, there's one big problem: Our PDF library only supports
writing PDF and it's optimized for this task. We don't have a PDF parser
which would be needed. I've done a quick&dirty prototype using PDFBox to
see if including PDF pages using fo:external-graphic would be doable. If
you have a PDF parser it's pretty easy. We were discussing about
adopting PDFBox as our primary PDF library but it's not optimized for
writing large PDF files which our own library is. Big dilemma. I have a
few ideas to make this work with relatively little effort (using a
combination of PDFBox and our PDF library, still not a one-day job,
though) and I will likely get to this in the next weeks. But as always,
no promises on this list and help is welcome. :-)

On 01.12.2006 06:36:14 Peter wrote:
> Apologies for jumping in on this thread, but I have a similar requirement,
> that is, a pdf is delivered to us which we want to embed in fop, much like
> one would embed a jpg.
> 
>  
> 
> I understand fop does not support that today, but does anybody have ideas on
> what it might take to implement that? Note that I have the impression that
> other xsl-fo processors do support such a feature.

<snip/>


Jeremias Maerki


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


RE: Use PDF as input source for FOP

Posted by Peter <pc...@gmail.com>.
Sure. I will reply in private. (I am not sure I could quote from what I read
in public without violating the license agreement I accepted when
downloading the demo of the product)

 

Peter

 

  _____  

From: jperkowski@npic.com [mailto:jperkowski@npic.com] 
Sent: Friday, December 01, 2006 1:56 PM
To: fop-users@xmlgraphics.apache.org
Subject: RE: Use PDF as input source for FOP

 


Hi Peter - 

Out of curiosity, may I get the name(s) of the other xsl-fo processors that
may be able to do this with an existing PDF? 

Thanks! 






"Peter" <pc...@gmail.com> 

12/01/2006 12:36 AM 


Please respond to
fop-users@xmlgraphics.apache.org


To

<fo...@xmlgraphics.apache.org> 


cc

 


Subject

RE: Use PDF as input source for FOP

 


 

 




Apologies for jumping in on this thread, but I have a similar requirement,
that is, a pdf is delivered to us which we want to embed in fop, much like
one would embed a jpg. 

  

I understand fop does not support that today, but does anybody have ideas on
what it might take to implement that? Note that I have the impression that
other xsl-fo processors do support such a feature. 

  

Thanks, 

  

Peter 

  

  _____  

From: jperkowski@npic.com [mailto:jperkowski@npic.com] 
Sent: Thursday, November 30, 2006 8:37 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Use PDF as input source for FOP 

  


Thank you, Dirk...we do use iText for some of our applications...I'll get
with our developers that are using iText to find out more and I'll check out
the URL you listed. 

Thanks again. 


Dirk Bromberg <di...@familie-bromberg.de> 

11/30/2006 02:00 PM 

 


Please respond to
fop-users@xmlgraphics.apache.org

 


To

fop-users@xmlgraphics.apache.org 


cc

  


Subject

Re: Use PDF as input source for FOP

  

 


  

 




Hi,

what you want can be done with itext.
www.lowagie.com/*iText*/

fop can only create pdfs with some like xml:fo as source.

Dirk

jperkowski@npic.com schrieb:
>
> Has anyone had any experience with using PDF's as input for FOP?
>
> We are using FOP 0.20.5 with Java 1.5.  We have a PDF that was 
> provided to us by an outside source.  We would like to leverage the 
> existing PDF (or as much of it as we can)  by using it as an input 
> source.  Our goal is to  modify it with our data, and have FOP 
> generate a new PDF for us, which would be a combination of the 
> original PDF and our data.
>
> From reading the FAQ's and the mail archives for FOP, it appears FOP 
> will only take XML and XSL-FO as input.  So, I am wondering, do I need 
> to use some independent PDF to XML conversion tool, or if there is a 
> better/easier way to do this?
>
> Thank you for any insight you can offer us regarding this issue.
>
>
>
>
>


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


RE: Use PDF as input source for FOP

Posted by jp...@npic.com.
Hi Peter -

Out of curiosity, may I get the name(s) of the other xsl-fo processors 
that may be able to do this with an existing PDF? 

Thanks!





"Peter" <pc...@gmail.com> 
12/01/2006 12:36 AM
Please respond to
fop-users@xmlgraphics.apache.org


To
<fo...@xmlgraphics.apache.org>
cc

Subject
RE: Use PDF as input source for FOP






Apologies for jumping in on this thread, but I have a similar requirement, 
that is, a pdf is delivered to us which we want to embed in fop, much like 
one would embed a jpg.
 
I understand fop does not support that today, but does anybody have ideas 
on what it might take to implement that? Note that I have the impression 
that other xsl-fo processors do support such a feature.
 
Thanks,
 
Peter
 

From: jperkowski@npic.com [mailto:jperkowski@npic.com] 
Sent: Thursday, November 30, 2006 8:37 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Use PDF as input source for FOP
 

Thank you, Dirk...we do use iText for some of our applications...I'll get 
with our developers that are using iText to find out more and I'll check 
out the URL you listed. 

Thanks again. 


Dirk Bromberg <di...@familie-bromberg.de> 
11/30/2006 02:00 PM 


Please respond to
fop-users@xmlgraphics.apache.org



To
fop-users@xmlgraphics.apache.org 
cc
 
Subject
Re: Use PDF as input source for FOP
 


 
 




Hi,

what you want can be done with itext.
www.lowagie.com/*iText*/

fop can only create pdfs with some like xml:fo as source.

Dirk

jperkowski@npic.com schrieb:
>
> Has anyone had any experience with using PDF's as input for FOP?
>
> We are using FOP 0.20.5 with Java 1.5.  We have a PDF that was 
> provided to us by an outside source.  We would like to leverage the 
> existing PDF (or as much of it as we can)  by using it as an input 
> source.  Our goal is to  modify it with our data, and have FOP 
> generate a new PDF for us, which would be a combination of the 
> original PDF and our data.
>
> From reading the FAQ's and the mail archives for FOP, it appears FOP 
> will only take XML and XSL-FO as input.  So, I am wondering, do I need 
> to use some independent PDF to XML conversion tool, or if there is a 
> better/easier way to do this?
>
> Thank you for any insight you can offer us regarding this issue.
>
>
>
>
>


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