You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Frederic Alluin <fr...@webmedia.es> on 2000/09/06 12:05:02 UTC
images and fop
hi everybody,
an easy question from a rooky : I try insert a gif in a pdf file but it
seems doesn't work.
I use cocoon 1.7.4 and my code is :
<fo:block><fo:external-graphic src="file:img.gif"/></fo:block>
or
<fo:block><graphic fileref="img.gif"></graphic></fo:block>
¿¿is it a fop library pb or a personal code pb ??
thank you for the answer
Fred
Re: images and fop (SOLVED)
Posted by Suhayl Masud <Su...@rosettanet.org>.
Thanks Dafang,
It was a breeze to do as you suggested. I simply downloaded FOP 0.13,
grabbed the jar and put it into the tomcat lib area, updated tomcat.bat and
had images in PDF!!
Thanks again.
--Cheers
Suhayl
----- Original Message -----
From: Dafang Zhang <da...@wcom.com>
To: <co...@xml.apache.org>
Sent: Tuesday, September 12, 2000 6:18 PM
Subject: RE: images and fop
Go grab version 0.13.0 and above FOP from http://xml.apache.org/dist/fop/.
There're a plenty of samples in the bundle dealing with PDF+images. The one
(version 0.12.1) comes with 1.7.4 won't work.
Dafang
-----Original Message-----
From: Suhayl Masud [mailto:Suhayl.Masud@rosettanet.org]
Sent: Wednesday, September 06, 2000 3:00 PM
To: cocoon-users@xml.apache.org
Subject: Re: images and fop
I am trying to insert pictures into a PDF file as well using FOP. Same
problem.
Here is the code:
<fo:block>
<fo:inline-graphic src="file:logo.gif"/>
</fo:block>
Here is the error
WARNING: Unknown formatting object
http://www.w3.org/1999/XSL/Format^inline-grap
hic
WARNING: Unknown formatting object
http://www.w3.org/1999/XSL/Format^external-gr
aphic
I am using the 1.7.4 Cocoon release. Any help is appreciated.
--cheers
Suhayl
----- Original Message -----
From: Eric SCHAEFFER <es...@posterconseil.com>
To: <co...@xml.apache.org>
Sent: Wednesday, September 06, 2000 6:20 AM
Subject: Re: images and fop
> <fo:external-graphic
> or
> <fo:inline-graphic (depends on the FOP version)
> and
> src="file:img.gif"/>
>
> src is an URL, and no relative URLs are handled (except for file URLs)
>
> Eric.
>
>
> ----- Original Message -----
> From: "Frederic Alluin" <fr...@webmedia.es>
> To: "Cocoon users" <co...@xml.apache.org>
> Sent: Wednesday, September 06, 2000 12:05 PM
> Subject: images and fop
>
>
> > hi everybody,
> >
> > an easy question from a rooky : I try insert a gif in a pdf file but it
> > seems doesn't work.
> > I use cocoon 1.7.4 and my code is :
> >
> > <fo:block><fo:external-graphic src="file:img.gif"/></fo:block>
> > or
> > <fo:block><graphic fileref="img.gif"></graphic></fo:block>
> >
> > ¿¿is it a fop library pb or a personal code pb ??
> >
> > thank you for the answer
> >
> > Fred
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
RE: images and fop
Posted by Dafang Zhang <da...@wcom.com>.
Go grab version 0.13.0 and above FOP from http://xml.apache.org/dist/fop/.
There're a plenty of samples in the bundle dealing with PDF+images. The one
(version 0.12.1) comes with 1.7.4 won't work.
Dafang
-----Original Message-----
From: Suhayl Masud [mailto:Suhayl.Masud@rosettanet.org]
Sent: Wednesday, September 06, 2000 3:00 PM
To: cocoon-users@xml.apache.org
Subject: Re: images and fop
I am trying to insert pictures into a PDF file as well using FOP. Same
problem.
Here is the code:
<fo:block>
<fo:inline-graphic src="file:logo.gif"/>
</fo:block>
Here is the error
WARNING: Unknown formatting object
http://www.w3.org/1999/XSL/Format^inline-grap
hic
WARNING: Unknown formatting object
http://www.w3.org/1999/XSL/Format^external-gr
aphic
I am using the 1.7.4 Cocoon release. Any help is appreciated.
--cheers
Suhayl
----- Original Message -----
From: Eric SCHAEFFER <es...@posterconseil.com>
To: <co...@xml.apache.org>
Sent: Wednesday, September 06, 2000 6:20 AM
Subject: Re: images and fop
> <fo:external-graphic
> or
> <fo:inline-graphic (depends on the FOP version)
> and
> src="file:img.gif"/>
>
> src is an URL, and no relative URLs are handled (except for file URLs)
>
> Eric.
>
>
> ----- Original Message -----
> From: "Frederic Alluin" <fr...@webmedia.es>
> To: "Cocoon users" <co...@xml.apache.org>
> Sent: Wednesday, September 06, 2000 12:05 PM
> Subject: images and fop
>
>
> > hi everybody,
> >
> > an easy question from a rooky : I try insert a gif in a pdf file but it
> > seems doesn't work.
> > I use cocoon 1.7.4 and my code is :
> >
> > <fo:block><fo:external-graphic src="file:img.gif"/></fo:block>
> > or
> > <fo:block><graphic fileref="img.gif"></graphic></fo:block>
> >
> > ¿¿is it a fop library pb or a personal code pb ??
> >
> > thank you for the answer
> >
> > Fred
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: images and fop
Posted by Suhayl Masud <Su...@rosettanet.org>.
I am trying to insert pictures into a PDF file as well using FOP. Same
problem.
Here is the code:
<fo:block>
<fo:inline-graphic src="file:logo.gif"/>
</fo:block>
Here is the error
WARNING: Unknown formatting object
http://www.w3.org/1999/XSL/Format^inline-grap
hic
WARNING: Unknown formatting object
http://www.w3.org/1999/XSL/Format^external-gr
aphic
I am using the 1.7.4 Cocoon release. Any help is appreciated.
--cheers
Suhayl
----- Original Message -----
From: Eric SCHAEFFER <es...@posterconseil.com>
To: <co...@xml.apache.org>
Sent: Wednesday, September 06, 2000 6:20 AM
Subject: Re: images and fop
> <fo:external-graphic
> or
> <fo:inline-graphic (depends on the FOP version)
> and
> src="file:img.gif"/>
>
> src is an URL, and no relative URLs are handled (except for file URLs)
>
> Eric.
>
>
> ----- Original Message -----
> From: "Frederic Alluin" <fr...@webmedia.es>
> To: "Cocoon users" <co...@xml.apache.org>
> Sent: Wednesday, September 06, 2000 12:05 PM
> Subject: images and fop
>
>
> > hi everybody,
> >
> > an easy question from a rooky : I try insert a gif in a pdf file but it
> > seems doesn't work.
> > I use cocoon 1.7.4 and my code is :
> >
> > <fo:block><fo:external-graphic src="file:img.gif"/></fo:block>
> > or
> > <fo:block><graphic fileref="img.gif"></graphic></fo:block>
> >
> > ¿¿is it a fop library pb or a personal code pb ??
> >
> > thank you for the answer
> >
> > Fred
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: images and fop
Posted by Eric SCHAEFFER <es...@posterconseil.com>.
<fo:external-graphic
or
<fo:inline-graphic (depends on the FOP version)
and
src="file:img.gif"/>
src is an URL, and no relative URLs are handled (except for file URLs)
Eric.
----- Original Message -----
From: "Frederic Alluin" <fr...@webmedia.es>
To: "Cocoon users" <co...@xml.apache.org>
Sent: Wednesday, September 06, 2000 12:05 PM
Subject: images and fop
> hi everybody,
>
> an easy question from a rooky : I try insert a gif in a pdf file but it
> seems doesn't work.
> I use cocoon 1.7.4 and my code is :
>
> <fo:block><fo:external-graphic src="file:img.gif"/></fo:block>
> or
> <fo:block><graphic fileref="img.gif"></graphic></fo:block>
>
> ¿¿is it a fop library pb or a personal code pb ??
>
> thank you for the answer
>
> Fred
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>