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
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
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
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.
[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
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
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
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
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
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]
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
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
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
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
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
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
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'
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
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
[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:
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
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
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
23 matches
Mail list logo