Richard Van Deren wrote:
I never got the logger to work. I hope that you post your solution.
It looks like there are errors in the documentation. I read it several
times.
There was a change to avalon's logger. Then you can add your own via
the LogKit.
I tried it several ways.
I get
: AW: Embedding FOP in Java
Amin Schoeib wrote:
I tried the code of JohnPT.
...
java.lang.NullPointerException
at org.apache.fop.fo.flow.Flow.setFlowName(Unknown Source) at
org.apache.fop.fo.flow.Flow.init(Unknown Source)
This is the real problem. Ensure your fo:flow has a flow
name
:
Subject: AW: AW: AW: AW: Embedding FOP in Java
Hi J.Pietschmann,
Thanks for your help.
Can you tell me, where I can download 0.20.5cvs version of FOP ???
Thanxx
Schoeib
-Ursprüngliche Nachricht-
Von: J.Pietschmann [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 19. September 2002 21:46
Under this adress I found only version 0.20.4!
But where is the 0.20.5cvs version?
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 20. September 2002 14:35
An: [EMAIL PROTECTED]
Betreff: Re: AW: AW: AW: AW: Embedding FOP in Java
http
Amin Schoeib wrote:
Under this adress I found only version 0.20.4!
But where is the 0.20.5cvs version?
Get a CVS client application and look into
docs/html-docs/download.html for further hints.
J.Pietschmann
-
To
MAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 17. September 2002 16:31
An: [EMAIL PROTECTED]
Betreff: Re: AW: AW: Embedding FOP in Java
I created a convenience class called PdfRenderer. It cache's a stylesheet and then you can process files or streams throught it. You can also pa
to PDF
java org.apache.fop.apps.Fop -fo styleOutput.fo -pdf resulting.pdf
JohnPT
PS: sorry about the outdated logger code.
[EMAIL PROTECTED]
09/18/02 05:59 AM
Please respond to fop-dev
To:[EMAIL PROTECTED]
cc:
Subject:AW: AW: AW: Embedding FOP in Java
Hi,
I
Amin Schoeib wrote:
I tried the code of JohnPT.
...
java.lang.NullPointerException
at org.apache.fop.fo.flow.Flow.setFlowName(Unknown Source)
at org.apache.fop.fo.flow.Flow.init(Unknown Source)
This is the real problem. Ensure your fo:flow has a flow
name specified:
fo:flow
ff: Re: AW: AW: Embedding FOP in
JavaI created a
convenience class called PdfRenderer. It cache's a stylesheet and then
you can process files or streams throught it. You can also pass
parameters to your stylesheet with a hashtable (probably should have been a
Hashmap). Anyway, it's n
-
Von: J.Pietschmann [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 16. September 2002 22:27
An: [EMAIL PROTECTED]
Betreff: Re: Embedding FOP in Java
Amin Schoeib wrote:
Hi,
I have a problem embedding FOP in Java.
My code compile without any problems, but when I execute it, I become
a list
Amin Schoeib schrieb:
Hi,
I already use the newest version of XALAN.
I use the following jar-files in my classpath:
avalon-framework-cvs-20020315.jar
batik.jar
fop.jar
xalan.jar
xercesImpl.jar
Are these the correct jar-files which I have to put in my classpath??
xml-apis.jar seems
. September 2002 12:52
An: [EMAIL PROTECTED]
Betreff: Re: AW: Embedding FOP in Java
Amin Schoeib schrieb:
Hi,
I already use the newest version of XALAN.
I use the following jar-files in my classpath:
avalon-framework-cvs-20020315.jar
batik.jar
fop.jar
xalan.jar
xercesImpl.jar
PROTECTED]
Subject: AW: AW: Embedding FOP in Java
Hi,
I tried it also with adding the xml-apis.jar, but I become the same
error.
I use the newest version of FOP,XALAN and XERXES.
What other things can make problems??
Thanxx
Schoeib
-Ursprüngliche Nachricht-
Von: Christian Geisert [mailto
Hi,
Can somebody please post a working example of an embedding FOP example
with java.
I need an example which can transform directly with a XML-File and and
XSL-File into PDF.
Please post also the needed jar-Files.
Thanxx
Schoeib
-Ursprüngliche Nachricht-
Von: Li, Francis [mailto
To:[EMAIL PROTECTED]
cc:
Subject:AW: AW: Embedding FOP in Java
Hi,
Can somebody please post a working example of an embedding FOP example
with java.
I need an example which can transform directly with a XML-File and and
XSL-File into PDF.
Please post also the needed jar-Files.
Thanxx
Amin Schoeib wrote:
I already use the newest version of XALAN.
Quite a few people belive they use the latest or a specific
version of whatever, often without any evidence and
occasionally even without turning on their brain.
Are these the correct jar-files which I have to put in my
Hi friends,
I'm new to FOP, I have requirement to generate PDF file from XML XSL...
I have down loaded fop.0.20.4, trying to use FopServlet.java on tomcat3.2.2
but it throws lot of errors, inspite of following the procedure given in the
docs... I'am not able to understand it...
So, If
Hi friends,
I'm facing a problem in embedding FOP(0.20.4 version 13-Jun-2002) into my
servlet... written a servlet to generate PDF file making use of XML and XSL
files. It's works fine... when this servlet runs on tomcat3.1. BUT if I copy
whole context to tomcat3.2.2 and above versions
check out ur xsl file is correct
or
in servlet did u pass xml and xsl file into XSLTInputhandler
try out this and reply
From: ssimha [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Problem in Embedding FOP in servlet Date: Tue, 13 Aug 2002
15:44:19 +0530
Hi
]
Subject: Problem in Embedding FOP in servlet Date: Tue, 13 Aug 2002
15:44:19 +0530
Hi friends,
I'm facing a problem in embedding FOP(0.20.4 version 13-Jun-2002) into my
servlet... written a servlet to generate PDF file making use of XML and
XSL
files. It's works fine... when
ssimha wrote:
I'm facing a problem in embedding FOP(0.20.4 version 13-Jun-2002) into my
servlet... written a servlet to generate PDF file making use of XML and XSL
files. It's works fine... when this servlet runs on tomcat3.1. BUT if I copy
whole context to tomcat3.2.2 and above
much.
Martin
-Ursprüngliche Nachricht-
Von: Christian Geisert [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 24. Juli 2002 19:08
An: [EMAIL PROTECTED]
Betreff: Re: AW: AW: Embedding FOP in Servlet
Martin Ewald schrieb:
Hi Oleg,
I have searched all possibilities where a fop
Hi Oleg,
first thanx for your response. It's indeed an ClassCastException. You're right, but
fop.far
is from July 2002, so it's new. I make an attempt from command line and wrote
following short programm which works fine. Hmm!
What is wrong with the servlet, what goes wrong during Driver driver
Martin Ewald wrote:
first thanx for your response. It's indeed an ClassCastException. You're right, but
fop.far
is from July 2002, so it's new. I make an attempt from command line and wrote
following short programm which works fine. Hmm!
You could also run fop.bat (or fop.sh) script instead.
Hi Oleg,
I have searched all possibilities where a fop could be referenced by tomcat to be sure
it's
the only one. To test I've deleted the fop.jar from the subdirectory
'C:\jakarta-tomcat-4.0.1\webapps\fop\WEB-INF\lib'
and the servlet fails completely because of missing classes. Then I have
Martin Ewald schrieb:
Hi Oleg,
I have searched all possibilities where a fop could be referenced by
tomcat to be sure it's
the only one. To test I've deleted the fop.jar from the subdirectory
'C:\jakarta-tomcat-4.0.1\webapps\fop\WEB-INF\lib'
and the servlet fails completely because of
Rhett Aultman schrieb:
This may sound like a bizarre question, but you are transforming the XHTML to a FO
document before you attemt to render it, right? To the best of my knowledge, you
must perform your own transforms and provide FOP with valid FO. Are you using a
technique like
The difference, though subtle, is that the you are not using the parser
from the XSLTInputHandler. Calling get parser sets a boolean value which
enables the transformation. Otherwise it simply returns a file input
source for the xml file.
So get the parser from the XSLTInputSource.
.. and we
-Original Message-
From: Hans-Jürgen Wiesner [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 10:21 AM
To: [EMAIL PROTECTED]
Subject: Embedding FOP
[snip]
INFO10191 [fop ] (): building formatting object tree
DEBUG 10191 [fop ] (): setting up fonts
ERROR
succeeded in installing a filter
intercepting the JSP-Servlets output to convert it by calling FOP.
The conversion works on the command line; however, I have great problems
embedding FOP in my filter.
It is usually not a good idea to use JSP to generate
XML for further processing.
Well, you can
Hi,
I am trying to embed FOP within my own Java application as described in
http://xml.apache.org/fop/embedding.html, specifically the third method:
calling getContentHandler() and firing the SAX events yourself and I am
running into difficulties!
I have a class called MyParser which fires the
embedding FOP by firing SAX events myself
I did it this way:
code
// FO -- PDF
driver.reset();
driver.setOutputStream(pdf);
driver.setRenderer(org.apache.fop.apps.Driver.RENDER_PDF);
TransformerFactory tFactory = TransformerFactory.newInstance();
if (tFactory.getFeature
But fop uses xerces and xalan. This two packages contain all xml-stuff!
-Ursprüngliche Nachricht-
Von: Smith, Paul [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 15. November 2001 14:44
An: '[EMAIL PROTECTED]'
Betreff: RE: Difficulties embedding FOP by firing SAX events myself
An: [EMAIL PROTECTED]
Betreff: Re: Embedding fop in IE..Help!!!
Hi
Im using a JSP to generate this PDF. I am able to open
other Static pdfs.
This is what i do, i create a bytearrayoutputstream
which will hold the output of the render and then use
a
pageContext.getOut().print
]
To: [EMAIL PROTECTED]
Sent: Monday, October 15, 2001 10:45 AM
Subject: Embedding fop in IE..Help!!!
Hi All
I have an XML file which i combine with a XSL to
generate the FO file and render it. It works fine with
Netscape but im having a tough time with IE. It is
displaying garbage on teh screen. All i
Did you set the proper content type?
response.setContentType(application/pdf);
Stefan
-Original Message-
From: Rajagopal. V [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 15, 2001 4:45 PM
To: [EMAIL PROTECTED]
Subject: Embedding fop in IE..Help!!!
Hi All
I have an XML file which i
Hi
Im using a JSP to generate this PDF. I am able to open
other Static pdfs.
This is what i do, i create a bytearrayoutputstream
which will hold the output of the render and then use
a
pageContext.getOut().print(bytearrayoutputstreamobject);
and this results in printing binary content on the
: Rajagopal. V [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 15, 2001 2:49 PM
To: [EMAIL PROTECTED]
Subject: Re: Embedding fop in IE..Help!!!
Hi
Im using a JSP to generate this PDF. I am able to open
other Static pdfs.
This is what i do, i create a bytearrayoutputstream
which will hold the output
to the
output stream before you start writing the PDF
content.
Try calling clearBuffer() on the output stream
first.
YS
-Original Message-
From: Rajagopal. V [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 15, 2001 2:49 PM
To: [EMAIL PROTECTED]
Subject: Re: Embedding fop in IE..Help
Hi Martin,
I have tried to add the url-pattern to web.xml and it doesn't work too:((
I would like to add that the sample given with the ditribution of FOP tha
renders fo files with a servlet works wether the call of the servlet is from
IE or Netscape Navigator.
Please help.
with regards,
adel
Hi all,
I've tryed to embed FOP-0.18.1DEV with a servlet so that to render (xml,xsl)
files into PDF. I am using Tomcat 3.2.1 as web container.
Unfortunately, the call of the servlet works from Netscape Navigator
and renders PDF. However, it doesn't work from Internet Explorer. in fact
with IE,
Hi all,
I've tryed to embed FOP-0.18.1DEV with a servlet so that to render
(xml,xsl) files into PDF. I am using Tomcat 3.2.1 as web container.
Unfortunately, the call of the servlet works from Netscape Navigator
and renders PDF. However, it doesn't work from Internet Explorer.
in fact with
42 matches
Mail list logo