Hahn Kurt (CHA) wrote:
Below is a code sample from a table I'm displaying. I need to have some
space between 2 rows, in order to separate them visually. I tried a number
of things, especially the various padding-properties but also other things,
but no clue so far. The only thing that worked (a
While using FOP to build some docbooks of mine works quite nicely, one
rather visual problem occured when I used tables.
The linewidth of the table/cell borders is not the same for all cells.
Some borders appear to be double as wide as others.
Yet there seems to be no pattern either, thus I came
Hi,
While trying to generate a PDF from a xml using a xsl...
the pdf generated is a 0KB one.
Can anybody tell me the probable reason for this
TIA,
Regards,
Chandrakant.
-Original Message-
From: Hahn Kurt (CHA) [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 06, 2002 12:46 PM
To:
It is VERY bad practive to reply to a mail when you want to start a new
thread! Not even the subject is changed.
The empty PDF often happens when an exception/error occurs. You'll have
to post more information on your problem: error message, stacktrace/log,
version of FOP, platform where the
I need to add a graphics file, originally placed in the same directory where
my sitemap is located.
¨There's no problem if I use an absolute path, the file is displayed. If I
use a relative path, nothing. The file is very small, so I even copied in
other subdirectories, but still nothing. How can
I need to add a graphics file, originally placed in the same directory where
my sitemap is located.
¨There's no problem if I use an absolute path, the file is displayed. If I
use a relative path, nothing. The file is very small, so I even copied in
other subdirectories, but still nothing. How
While trying to generate a PDF from a xml using a xsl...
the pdf generated is a 0KB one.
Driver driver = new Driver();
driver.setRenderer(Driver.RENDER_PDF);
XMLReader parser = input.getParser();
driver.setOutputStream(new FileOutputStream(pdffile));
driver.render(parser,
Did you try to run the transformation (XML XSL) without generating a PDF?
If that doesn't produce any output your PDF will be empty.
$ -Original Message-
$ From: chandrakant_binwani [mailto:[EMAIL PROTECTED]
$ Sent: donderdag 6 juni 2002 10:42
$ To: [EMAIL PROTECTED]
$ Subject: Problem
Hi
all.
I have a problem. It
happens that sometimes i have blocks that startat the end of a page and
get cutted just to follow on the next one page. What I would like to do is make
those blocks startat the beginning of the next page. Can anyone tell me
what do I have to do to achieve
If you don't want to force a page-break before any
block, you should use the keep-together property.
Unfortunately fop doesn't handle this property on
block elements.
A solution can be to insert the block in a table.
Then you can apply keep-together on the table-row element.
Flo
-
I've been trying to run FOP from an ASP page with little success. I can get
the .fo file generated 'on the 'fly' but I want to be able to generate and
view the PDF file when the user clicks a button. Any help would be greatly
appreciated.
Andrew E. Kirin
[EMAIL PROTECTED]
(724) 567-2141
Hi,
I'm getting following exception while generating a pdf using FOP.
file:///D:/tempReports/testReport.xml; Line 2; Column 24;
org.apache.fop.apps.FOPException
at
Tried that...
Still gives the same exception
-Original Message-
From: Michiel Verhoef [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 06, 2002 7:52 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Problem with PDF generation
ehm, not sure if this helps but have you tried a different order of
Just to see if I can get a decent fo file: could you send us your XSLT and
XML files so we can
try the conversion?
$ -Original Message-
$ From: chandrakant_binwani [mailto:[EMAIL PROTECTED]
$ Sent: donderdag 6 juni 2002 16:32
$ To: [EMAIL PROTECTED]
$ Subject: RE: Problem with PDF
Pls find the attached files:
-Original Message-
From: Michiel Verhoef [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 06, 2002 8:02 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Problem with PDF generation
Just to see if I can get a decent fo file: could you send us your XSLT and
XML files
Hi Ramon,
Could you tell me what versions of FOP and other things you used...
and most importantly... did you run them from command line...?
It works for me if i run them from command line
but it doesn't work if i try to do so through a java program
-Original Message-
From: Ramon
The version of fop i'm using is 0.20.3 but i have obteined it from the
command line.
I'm going to try to generate the same result from a servlet. Nowadys I
think your problem could be because of the libraries you're using. If
you look to the FopServlet.java, you'll see which exactly ones you need
chandrakant_binwani wrote:
Pls find the attached files:
Those works like a charm in (msxml3, saxon, xalan) + fop. Show us your java
code.
--
Oleg Tkachenko
Multiconn International, Israel
Hi.
I have exactly the same problem
-Message d'origine-
De: Michiel Verhoef [mailto:[EMAIL PROTECTED]
Date: jeudi 6 juin 2002 16:32
À: '[EMAIL PROTECTED]'
Objet: RE: Problem with PDF generation
Just to see if I can get a decent fo file: could you send us your XSLT and
XML files so
I'm using the libraries mentioned in the FopServlet.java
The FOP version is 0.20.3
-Original Message-
From: Ramon Maria Gallart [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 06, 2002 8:29 PM
To: [EMAIL PROTECTED]
Subject: RE: Problem with PDF generation
The version of fop i'm
I've just tried with the servlet and it works fine. Do what Oleg says.
Send us your java code (if you can).
Ramon.
-Mensaje original-
De: chandrakant_binwani [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 06 de junio de 2002 16:53
Para: [EMAIL PROTECTED]
Asunto: RE: Problem with PDF
Here how i'm trying to implement PDF generation:
public static void Print()
throws Exception
{
try
{
String xslParam = D:\\tempReports\\testReport.xml;
Thanks a lot Oleg...
It finally worked Very silly mistake on my part
-Original Message-
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 06, 2002 10:37 PM
To: [EMAIL PROTECTED]
Subject: Re: Problem with PDF generation
chandrakant_binwani wrote:
Here how i'm
But it was helpful to us newbies who will probably make similar errors. The
more examples I see, the better. Just wish there was someone out there who
could take one of my sample reports that I need to generate, and create the
whole thing from start to finish. I could use that as a model for
Florence Deforge wrote:
I'm not sure it makes the difference but I always precede the relative path
with the file: string like this :
fo:external-graphic src=file:ecu.jpg/
That's a *bad* idea, actually violating URL syntax.
See
http://marc.theaimsgroup.com/?l=xml-cocoon-devm=102027988321347w=2
I´m getting this error...
java.lang.IllegalArgumentException: The input node can not be null for a
DOMSource for newTemplates!
It´s probably because the xml has tags like this
seguroEmitido
pais/pais
codigo/codigo
Hahn Kurt (CHA) wrote:
I need to add a graphics file, originally placed in the same directory where
my sitemap is located.
¨There's no problem if I use an absolute path, the file is displayed. If I
use a relative path, nothing. The file is very small, so I even copied in
other subdirectories, but
Ismaeil, Sameh Z wrote:
I want to align a table, whose width is smaller than the body width, to be
in the center of the page body
I think I read a solution before on this list, suggesting to put the table
inside the cell of another one-cell table, but I don't know which attribute
to use and on
Zahigian, Mike wrote:
I am using FOP to take a single page of XSL:FO content and convert to PDF.
I have embedded FOP in a servlet. When I have one user requesting a page it
takes about 6 or 7 seconds to get the page formatted as PDF. It seems like
each additional simultaneous request pushes the
Matt, I'm not sure what you mean by a one FOP processing thread per
appserver instance?
J., I am getting data out of some javabeans in the form of xml, then this
xml is transformed using a stylesheet, then another transformation takes
place to create the xsl:fo and then FOP takes over. I'll go
I mean every other thread has to wait. I have the FOP processor wrapped in a
stateless session bean and I limit the number of instances of that bean to
one. This is because of the serious performance drop-off we see when FOP is
run more than once concurrently. I'm still working out some of the
I get it. Do you know if I can similarly limit the number of instances of a
servlet to one?
Mike Z.
-Original Message-
From: Savino, Matt C [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 06, 2002 2:17 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Performance Guidance
I mean every other
32 matches
Mail list logo