[FOP 0.20.4] I have some problems with logs

2003-04-17 Thread Christophe BESSON
Hello! I use FOP 0.20.4 to generate PDF into a servlet and I have some problems with logs. first, I have a message into the console of Tomcat that says : [WARNING] Screen logger not set. And when I generate the PDF with FOP, I have no logs into the file I specified : my log file is created but

RE: FopServlet, passing parameters as URL

2003-04-17 Thread david . bg
Sorry, I find some bugs in the other code. I found this code in the net... import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import javax.xml.transform.*; import javax.xml.transform.stream.*; import org.xml.sax.*; import org.apache.fop.apps.Driver; import

Re: [FOP 0.20.4] I have some problems with logs

2003-04-17 Thread Jeremias Maerki
A little line is missing. See inline. On 17.04.2003 11:30:58 Christophe BESSON wrote: I use FOP 0.20.4 to generate PDF into a servlet and I have some problems with logs. first, I have a message into the console of Tomcat that says : [WARNING] Screen logger not set. And when I generate the PDF

Re: FopServlet, passing parameters as URL

2003-04-17 Thread Jeremias Maerki
This is bad practice! Writing the XSL-FO intermediate result into a byte array is wasting resources and speed. See ExampleXML2PDF.java for a better way, namely piping SAX events from the Transformer through to FOP. On 17.04.2003 15:03:42 david.bg wrote: Sorry, I find some bugs in the other code.

Re: [FOP 0.20.4] I have some problems with logs

2003-04-17 Thread Jeremias Maerki
[Posting back to fop-user so everyone profits. I hope you don't mind.] I quickly copied your LogKit setup code to a test class (attached) and tried it. Worked fine. You sure you're looking at the right file? Your logfile lands in the current directory whereever that is. Try switching to the

display-align property for table-cell, border property for inline

2003-04-17 Thread Kairi Henry
I can not get the display-align property to work for table-cell and I can not get the border property to work for inline. Are there known errors with these combinations? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: FopServlet, passing parameters as URL

2003-04-17 Thread Adam Shelley
What bugs did u find? I have been using it with no problems. -Adam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: April 17, 2003 6:04 AM To: [EMAIL PROTECTED] Subject: RE: FopServlet, passing parameters as URL Sorry, I find some bugs in the other code. I

RE: FopServlet, passing parameters as URL

2003-04-17 Thread david . bg
Hi all, Adam: If you use adobe acrobat 4.0, sometimes the pdf opens in the browser as a blank page. I try upgrade acrobat to 5.0 and all works, but I found the code posted in another mail, and it seems correct. (Jeremias says it's inefficient). Jeremias: If you use the code from exampleXML2PDF

Re: display-align property for table-cell, border property for inline

2003-04-17 Thread Jeremias Maerki
display-align works in table-cells. At least, the attached testcase produces the expected output in the latest code. Border properties for inlines have not been implemented, yet. Combinations? Don't think so. On 17.04.2003 17:49:13 Kairi Henry wrote: I can not get the display-align property to

RE: FopServlet, passing parameters as URL

2003-04-17 Thread Adam Shelley
Thanks for the update. Since acrobat 5 is a free download i wouldn't worry about this problem. Get users to upgrade to the current version :). This way you will be able to include the current 128 encryption security features as well. -Original Message- From: [EMAIL PROTECTED]

Re: FopServlet, passing parameters as URL

2003-04-17 Thread Jeremias Maerki
I went back to the other mails. So now, it's clear what's wrong. As Jörg said, it's bad to write the output from FOP directly to the servlet's OutputStream. That's where you have to use a ByteArrayOutputStream. There's no easy way around it, I think. But the intermediate buffer between XSLT and

FopServlet, passing parameters as URL

2003-04-17 Thread david . bg
Thanks for the code. Seems that all the people are online. It's a party? :) When I'll test the code, I'll post the results... David - Nueva Tiscali ADSL libre www.tiscali.es/libre ¡¡¡ POR SÓLO 16,95 euros al mes !!! + tiempo de conexión (0,024

Using fop with tomcat

2003-04-17 Thread Steve Radabaugh
I have successfully downloaded the pre-compiled version of fop and would like to use it with my existing tomcat server. This is all run on a linux box. My question to you is, what files do I put where in order to use fop, xml parsers, xsl engine etc. to use with jakarta tomcat? Thanks in

Pb during printing PDF produced through FOP

2003-04-17 Thread Olivier Imbert
My mail does not seem to reach the list ... I try again ... Excuse me for any double ... From: Olivier Imbert [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Pb during printing PDF produced through FOP Date: 17 Apr 2003 14:55:22 +0200 I am not sure this problem is related to FOP but

RE: Using fop with tomcat

2003-04-17 Thread Adam Shelley
if you're using 0.20.5rc2 i'd build the fop.war using ant in the examples/servlet director and copy the build/fop.war into the webapps dir of tomcat and you should be up and running. -Adam -Original Message- From: Steve Radabaugh [mailto:[EMAIL PROTECTED] Sent: April 17, 2003 10:11 AM

Re: Pb during printing PDF produced through FOP

2003-04-17 Thread Jeremias Maerki
Have you tried printing other PDFs (not generated by FOP) using the same procedure? Also, have you tried to print to a different printer? I don't think this has anything to do with FOP. On 17.04.2003 19:12:43 Olivier Imbert wrote: I am not sure this problem is related to FOP but ... We are

Illegal 'retrieve-boundary' value error after upgrading to 0.20.5rc2

2003-04-17 Thread Louis . Masters
OK, I am having another problem with upgrading from .3 to .5rc2. On any stylesheet with markers, I get the following error: [ERROR] org.apache.fop.apps.FOPException: Illegal 'retrieve-boundary' value org.apache.fop.apps.FOPException: org.apache.fop.apps.FOPException: Illegal 'ret rieve-boundary'

How can I get from bean to PDF with FOP and Castor

2003-04-17 Thread JHardy
I am trying to produce dynamic PDF documents from a JSP/Servlet (Struts) application. This is what I am trying to do: 1) from a servlet, generate a report bean. 2) use Castor to marshal the bean to an in-memory XML document (maybe a DOM document?). 3) use FOP to merge the in-memory XML

Re: display-align property for table-cell, border property for inline

2003-04-17 Thread J.Pietschmann
Jeremias Maerki wrote: Border properties for inlines have not been implemented, yet. That's euphemistic.A fo:inline doesn't even generate an area, it is basically a synonym for fo:wrapper. This means: no property associated with areas works, no borders, no background, no padding, no space-begin

Re: Illegal 'retrieve-boundary' value error after upgrading to 0.20.5rc2

2003-04-17 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: OK, I am having another problem with upgrading from .3 to .5rc2. On any stylesheet with markers, I get the following error: [ERROR] org.apache.fop.apps.FOPException: Illegal 'retrieve-boundary' value org.apache.fop.apps.FOPException: org.apache.fop.apps.FOPException:

Re: display-align property for table-cell, border property for inline

2003-04-17 Thread Kairi Henry
so do you know if it will ever be implemented because it helps to do the stuff inline dynamic based the size of the text. - Original Message - From: J.Pietschmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 17, 2003 4:43 PM Subject: Re: display-align property for

Re: How can I get from bean to PDF with FOP and Castor

2003-04-17 Thread Jeremias Maerki
Have a look at the examples on the embedding page: http://xml.apache.org/fop/embedding.html#examples The corresponding Java sources can be found in examples/embedding. This shows you the basic patterns of working with FOP and JAXP. It even shows how to use a Java object as data source similar to

fo:inline Question

2003-04-17 Thread Clay Leeds
I see that fo:inline does not generate an area and hence cannot perform area-related layout (borders, background-color, padding, etc.). So, what is it good for? I've used it as follows: fo:inline font-size=4ptnbsp;/fo:inline How else can it be used? J.Pietschmann wrote: Jeremias Maerki