Re: Including images

2004-08-13 Thread Jeremias Maerki
On 13.08.2004 16:22:40 Peter Verhoye wrote: > Hi all, > > I'm just starting to work with FOP so bear with me :-) (I already looked > through the archive but I could have missed the answer though) > > Anyway, I'm working on a project where I need to include an image into a > PDF generated using

Re: Including images from a servlet

2004-01-20 Thread J.Pietschmann
Richard Sweeney wrote: [ERROR] Error while creating area : Invalid Image URL - error on relative URL : unknown protocol: c <---(that's actually where the message ends) Check the FAQ: http://xml.apache.org/fop/faq.html#MalformedURLException J.Pietschmann ---

RE: Including images from a servlet

2004-01-20 Thread mathieu . fretiere
>URL : unknown protocol: c Well, 'c' is not a protocol, you should try something like : file:C:///stylesheets/fop or url('file:C:///stylesheets/fop') I'm no sure, experts will tell you more Mathieu - To unsubscribe, e-mail: [E

RE: Including images from a servlet

2004-01-20 Thread Richard Sweeney
Sorry to be a pain, but I'm not having much luck with this. This is what I've done so far: After creating the driver, I've inserted the line org.apache.fop.configuration.Configuration.put("baseDir", "C:/stylesheets/fop"); and in the stylesheet changed the line to However, when I transform it,

Re: Including images from a servlet

2004-01-20 Thread Chris Bowditch
Richard Sweeney wrote: is there a way to make it search for the image in the current directory, i.e. the same one as the XSL-FO stylesheet? You can set the base directory for which relative paths will be resolved against. This can be done using a configuration file, or set in a program. See: h

re: including images

2003-05-07 Thread Jason Novotny
I've created the shortest docbook example to include an image: Portlet Concepts Portlet Web Applications and the Portlet Lifecycle Attached is my fop output. During rendering I get this: [java] [ERROR] Flow 'xsl-region-body' does not map to the region-body