Re: Creating PDF with graphics

2002-10-25 Thread Ralph Seidl
Hi Michael, J.Pietschmann is right, I also had trouble with the batik and fop jars. The jar-Files I use now: fop.jar (V20.4) 1.694.560 Bytes batik.jar (from fop V20.4) 2.163.538 Bytes I'm using: cocoon 2.0.3 tomcat 4.0.4 jdk 1.3.1 under NT 4.0 and Solaris (under Solaris I use the PJA-Toolkit

Re: Creating PDF with graphics

2002-10-25 Thread michael . fridrich
Many thanks, this sounds very good, I will try this. Greetings, Michael. [EMAIL PROTECTED] wrote at Thu, 24 Oct 2002 23:59:59 +0200: [EMAIL PROTECTED] wrote: java.lang.NoClassDefFoundError: org/apache/batik/dom/svg/DefaultSVGContext There were Cocoon versions which included a Batik

Re: Creating PDF with graphics / Batik / NoClassDefFoundError

2002-10-25 Thread michael . fridrich
Many thanks to all! I'v downloaded the fop-0.20.4 package and extracted fop and batik to the cocoon lib-directory and it works fine. What's about a official sample for Cocoon that demonstrates the PDF with embedded graphics feature (or at least for Cocoon testing)? If I have more expierience

Re: Creating PDF with graphics

2002-10-24 Thread Bert Van Kets
Yes, you can combine both. Use xsl:fo to insert the image, but make sure you call it by using the absolute URL (including http://domain/...) All you need to do then is create a pipeline that generates the image when requesting it. HTH, Bert At 15:37 24/10/2002 +0200, you wrote: I'v seen the

Re: Creating PDF with graphics

2002-10-24 Thread michael . fridrich
Bert, a good idea, using graphics from an external source. I think, I will use it too. But what I need is a way to draw graphics (like the SVG-sample) inside my text document, to draw fancy borders or other layout elements. SVG seems to be good for this, the SVG sample is impressive! I found

Re: Creating PDF with graphics

2002-10-24 Thread Bert Van Kets
You should do 3 things: 1. Check the PDF docs and see if it understands SVG. If so, send SVG and not a bitmap. The quality of teh image will be better 2. Check out the SVG docs at http://www.w3.org/Graphics/SVG/Overview.htm8 to see how you create SVG docs. 3. Check the xsl:fo documentation

Re: Creating PDF with graphics

2002-10-24 Thread michael . fridrich
Bert, many thanks for the links. They are very usefull. Looks like others have already solved the problem. Michael [EMAIL PROTECTED] wrote at Thu, 24 Oct 2002 16:55:56 +0200: 2. Check out the SVG docs at http://www.w3.org/Graphics/SVG/Overview.htm8 to see how you create SVG docs. 3. Check

Re: Creating PDF with graphics

2002-10-24 Thread michael . fridrich
Ralph, many thanks, this is, what I expected. If it works, I only have to add svg: to the graphics tag. But it currently doesn't work. The result is a broken PDF output - only about the 10 first bytes from the PDF. I played a bit with your code and I found, that the line svg:svg ... (closed

Re: Creating PDF with graphics

2002-10-24 Thread Ralph Seidl
://www.mysite.com/pic1.dynamic.jpeg/ fo:external-graphic src=http://www.mysite.com/pic2.dynamic.jpeg/ -Original Message- From: [EMAIL PROTECTED] [mailto:michael.fridrich;everymail.net] Sent: Thursday, October 24, 2002 10:34 AM To: [EMAIL PROTECTED] Subject: Re: Creating PDF

RE: Creating PDF with graphics

2002-10-24 Thread Ryan Agler
;everymail.net] Sent: Thursday, October 24, 2002 10:34 AM To: [EMAIL PROTECTED] Subject: Re: Creating PDF with graphics Bert, a good idea, using graphics from an external source. I think, I will use it too. But what I need is a way to draw graphics (like the SVG-sample) inside my text document

Re: Creating PDF with graphics

2002-10-24 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: java.lang.NoClassDefFoundError: org/apache/batik/dom/svg/DefaultSVGContext There were Cocoon versions which included a Batik version incompatible with the distributed FOP version. Get the most recent FOP release (0.20.4) and replace both the fop.jar and batik.jar form