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 Will Spies <wi...@lycos.com> on 2003/02/02 20:10:58 UTC

PDF to FO?

If I have an existing PDF file is there a way to convert it to a FO file? I
would like to create dynamic forms but I would rather reverse engineer a PDF
file.

Thanks for any info,

Will


P.S. Having trouble getting on this list - if this is a duplicate sorry!




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


Re: PDF to FO?

Posted by Oleg Tkachenko <ol...@multiconn.com>.
Will Spies wrote:
> If I have an existing PDF file is there a way to convert it to a FO file? I
> would like to create dynamic forms but I would rather reverse engineer a PDF
> file.
That's impossible, pdf is lower-level format relatively to fo.

-- 
Oleg Tkachenko
Multiconn Technologies, Israel


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


Re: Generating PDF on the fly using on the fly XML

Posted by Oleg Tkachenko <ol...@multiconn.com>.
joni santoso wrote:

> I used to create a servlet that can produce PDF by setting its contentType.
> 1. Now, I wonder if I can use Apache FOP to take XML stream that I 
> created using JDOM to produce a PDF?
> How?
What is XML stream? FOP supports SAX input stream, see examples and 
http://xml.apache.org/fop/embedding.html.

> 2. Is it possible to produce a PDF that only contains JPEG using XML 
> stream? I am thinking about storing an image stream in an XML document 
> like this :
> 
> <picture>
>  the stream is here
> </picture>
No, that's not supported yet. You can embed SVG images in this way though.

> 3. What about producing mixed content (image and text) in a PDF? I know 
> I can use the external link/external file fo element. But what if the 
> image and text are all created on the fly?
You can make any inclusions and transformations at tarnsformation stage using 
power of XSLT language.

-- 
Oleg Tkachenko
Multiconn Technologies, Israel


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


Generating PDF on the fly using on the fly XML

Posted by joni santoso <st...@plasa.com>.
Hi,

I used to create a servlet that can produce PDF by setting 
its contentType. 

1. Now, I wonder if I can use Apache FOP to take XML 
stream that I created using JDOM to produce a PDF?
How?

2. Is it possible to produce a PDF that only contains JPEG 
using XML stream? I am thinking about storing an image 
stream in an XML document like this :

<picture>
  the stream is here
</picture>

3. What about producing mixed content (image and text) in 
a PDF? I know I can use the external link/external file fo 
element. But what if the image and text are all created on 
the fly?

Thank you,
===========================================================================================
Meriahkan Tahun Baru Imlek dengan mengirimkan Kartu Elektronik PlasaCom kepada kerabat dan teman Anda
Kepada para pengguna TELKOMSave, lakukan pergantian kartu lama Anda segera ! http://www.telkomsave.com
===========================================================================================

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