Re: Use PDF as input source for FOP
This sounds promising - would you please keep me posted as to what you find? Thanks! Jeremias Maerki <[EMAIL PROTECTED]> 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. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Use PDF as input source for FOP
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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" <[EMAIL PROTECTED]> 12/01/2006 12:36 AM Please respond to fop-users@xmlgraphics.apache.org To 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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" <[EMAIL PROTECTED]> 12/01/2006 12:36 AM Please respond to fop-users@xmlgraphics.apache.org To 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Use PDF as input source for FOP
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.