I am facing a strange problem while generating PDF in Servlet. I have got
two PDF reports to generate at present. I can generate one PDF properly, but
the other one, whose structure is similar to and simpler than the first one,
is coming out incomplete. It gives me the header and footer, and an
It'll do, I just load tested it overnight, no problems for 250,000 hits.
I'm running through cocoon, I don't want to be playing with cocoon's source
as well.
Chris.
-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 30 April 2002 6:44
To: [EMAIL PROTECTED]
On Monday 29 April 2002 13:51, you wrote:
Thank you for all these good ideas. Would anyone happen to know of an
industry analyst study on the advantages of XSL FO ?
This is to lend some credibility to my recommendation.
Well, Gates and his minions are squealing like stuck pigs. Where
there's
This definitly works (at least in my application).
It might be a waste to define a new namespace for just own function, but it
seems to be the only solution.
Roland
[EMAIL PROTECTED] schrieb am 30.04.02:
Dear all,
How is it possible to integrate (simply) current date to a xsl stylesheet ?
[INFO]: Parsing of document complete, stopping renderer
[ERROR]: Can't add attribute to 0-length text
it is very strange.
my fo is working fine with the pdf render, but the awt render throws this
error ??
any ideas ?
Hi all,
Firstly I want to apologise in advance for asking many questions. :) It has
been some time since I used fop and fo (I think the last version i used was
0.17..)
1. Is there another way to use absolute positioning without using the
fo:block-container tag. With the text I have I don't have
JFOR
is a java written SXL:FO to RTF renderer.
It
is not yet fully implemented yet (no headers, or footers for example), but the
only one I could find.
see
www.jfor.org
-Original Message-From: Amit Kirdatt
[mailto:[EMAIL PROTECTED]Sent: 26 April 2002 17:58To: Fop
I have the same problem.
Did you find a solution ?
Otherwise, I made attempts with ghostscript 7.04 but there are the other
problems... The landscape does not work
-Message d'origine-
De : Wayne Elliott [mailto:[EMAIL PROTECTED]
Envoyé : lundi 22 avril 2002 14:29
À : [EMAIL PROTECTED]
On Monday 29 April 2002 13:51, someone wrote:
Thank you for all these good ideas. Would anyone happen to know of an
industry analyst study on the advantages of XSL FO ?
This is to lend some credibility to my recommendation.
At 05:18 30/04/2002, John Austin wrote:
All of those Open Source
Hi Ricardo:
Regarding references for FO elements and attributes. I guess you have
already checked the W3C recommendation? The pdf version has an easy
bookmark to a FO properties summary. If you check the xml cover pages site
http://xml.coverpages.org/ there might be something else. I know
OK ! But a problem persists.
when I compile with FOP, It returns me errors about the line:
'exclude-result-prefixes=user' in stylesheet and I don't understand why.
Thanks
Sandrine [Paris]
-Message d'origine-
De : Roland Lechner [mailto:[EMAIL PROTECTED]
Envoyé : mardi 30 avril 2002
Sandrine Pilon wrote:
OK ! But a problem persists.
when I compile with FOP, It returns me errors about the line:
'exclude-result-prefixes=user' in stylesheet and I don't understand why.
What is the error message ?
--
Oleg Tkachenko
Multiconn International, Israel
I guess it is better to build them as XML documents and use xsl:fo to transform
them to FO documents. It is much easier. You could use the XML to render HTML,
RTF or any other format. FOP programming is also much easier, as you shift all
the java programming burden of building the FO document
Thanks Bhawana,
This is not exactly what I mean. I don't have XML data documens, I'm trying
to build a pure XSL:FO document through code, not transform an existing XML
to FO. It will go like this:
Data (from DB) --(Java code)-- FO document --(render with FOP)-- PDF
Any clue?
-Original
Hi Ismaeil,
I think Bhawana suggested: DB-JDBC-XML-XSL-FO-FOP-PDF,
this includes the additional xml document representation, but puts the
XSL:FO instructions outside your java, which would by bypassed
by java generated FO documents (your below mentioned construction)
It probably boils down to an
I recommend you don't build XSL:FO through Java code directly. Produce a
simple XML format with just the data in it. Use a XSLT stylesheet
afterwards to convert the XMl to XSL:FO. It sounds like a lot of work,
but you're actually going to save time. For example, if your layout has
to change you
Thanks All,
I'm well aware of the XSL solution. We had long discussions about the
subject of using XSL on XML documents. I'd say I'm forced for the time being
to write the pure FO directly through code.
I'd like to know if anyboy actually has some experience with writing FO
through code. I'd
Exactly, in fact i generate XML fo batch Report using perl, then pass them
through FOP utility generating pdf file and finally sending the rendered
file to printer [which are printer and mailed to vendors].
Page x of y is easier to do this way... faced with logo display.. initially
i tries
Hello.
Please excuse me if this has already been asked - I've trawled through
the archives and read the FAQ to try to find an answer, but to no avail.
I am using a table with a fixed height, and a table-footer element.
I may be missing something, but I would like to have the footer at
The bottom
My guess is table-footer is working exactly as intended.
Are you sure you don't want to use a page footer? Something that always
gets placed at the bottom of a page? If so, look into using
xsl-region-after
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set
Thanks for the quick reply Scott,
I don't think I want to use page footers in this case
(although I'm willing to if they can solve what I want
to do ) - but I understand where you are coming from.
The reason is that the xsl I've written produces
documents that go over a few pages and I wanted to
Steve
What you could do is set the height of each table row to some length ie
5mm. You then know how many table rows will appear on each page. Count
up the number of rows in the table, calculate the number of rows that
will appear on the last page. Insert Y empty rows at the end of the
table
Patrick Andries wrote:
Alex McLintock wrote:
I don't know about an industry analysts study of XSL:FO but we ought
to be able to come up with case studies for people who have
successfully used FOP.
I think this is crucial. I found nothing of the sort.
There was recently an announcement on the
Dutta, Sumanta wrote:
I am facing a strange problem while generating PDF in Servlet. I have got
two PDF reports to generate at present. I can generate one PDF properly, but
the other one, whose structure is similar to and simpler than the first one,
is coming out incomplete. It gives me the header
Hi,
this may sound very easy for fop-cracks, but it's killing beginners like us:
How can I generate page-breaks in fo? There seem to be fitting fo-markups
(page-break-after, page-break-before etc.), but sadly they are not
implemented yet. Ideas?
Thanks,
Jens
We are considering using FOP in place of JReports or any other reporting
tools. More needs to be written on how to use Cocoon and FOP as a true
report writer. Any help would be great. I'm currently working with Corda
in hopes that they will change the SVG format to inlining so that it can
be
Sandrine Pilon wrote:
How is it possible to integrate (simply) current date to a xsl stylesheet ?
Using javaScript is one solution, exactly as you did. With
Xalan, you can also use java.util.Date directly:
http://www.biglist.com/lists/xsl-list/archives/200203/msg01243.html
Neither of these
Are there any companies out there developing products base on FOP? Just
curious.
-Original Message-
From: Patrick Lanphier [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 30, 2002 4:34 PM
To: [EMAIL PROTECTED]
Subject: Re: Why is FO(P) a superior model than what most proprietary tools
Ricardo Coutinho wrote:
1. Is there another way to use absolute positioning without using the
fo:block-container tag.
Not yet.
2. Is there a way to specify the orientation for each individual page.
No yet.
J.Pietschmann
I would also be interested in understanding more on the viability of FOP as
a reporting tool. What are people's thought on this?
Thanks,
Erich
-Original Message-
From: Patrick Lanphier [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 30, 2002 4:34 PM
To: [EMAIL PROTECTED]
Subject: Re: Why
Our product (Cetova Financial Analysis Reporting - www.cetova.com)
uses FOP (embedded) for PDF generation.
Brian
-Original Message-
From: Xie, David (IPCG-NJ) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 30, 2002 4:45 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Why is FO(P) a superior
Ralf Steppacher wrote:
I transform a xml file and add FO vocabulary, generating a PDF with fop
afterwards. Now that I got it work using xalan and fop from the command
line I embedded both into a JSP and a bean following the example code
from docs/examples/embedding.
The problem: When I generate
Are there any companies out there developing products base on FOP? Just
curious.
I've been looking at using FOP to get print versions of content from a
number of web apps but I'm finding it too unstable at the moment to
really offer as a solution. Coupled with the rather large resource
Jens Posingies wrote:
this may sound very easy for fop-cracks, but it's killing beginners like us:
How can I generate page-breaks in fo? There seem to be fitting fo-markups
(page-break-after, page-break-before etc.), but sadly they are not
implemented yet. Ideas?
Use break-before=page or
J.Pietschmann wrote:
The last major update to FOP made changes that rendered earlier .fo
files useless without some tweaks. The work involved in ensuring all
the .fo files are still working everytime FOP is updated would be a
bit of a nightmare.
The problem with the last change you seem to
This one has got me scared...
I am in the process of working out an embedded (servlet) FOP solution for
some financial reporting. The generated pdfs are probably around 20 pages..
does anyone have any info about memory requirements or problems I will run
into with multiple concurrent users?
From: Bob Leif
To: Matt Savino
It sounds like you need the performance of an efficient compiled
language that performs wherever possible its inheritance at compile
rather than run time. Ada is an ISO standard which is available as a GNU
compiler, GNAT. It should be noted that Java is a
The short answer is you can't expect a large number of users to ask for
reports at the same time and not run into memory problems. Believe me, I've
stress tested my report server and hit this wall quickly.
However, if you write your server to only run X number of reports at once
and queue any
Thanks Scott. Can you share a little more detail on how you queue the
reports?
Matt Savino
-Original Message-
From: Scott Moore [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 30, 2002 2:29 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Why is FO(P) a superior model than what most
From: Matt Savino
To: Bob Leif
Sounds great. Tell me where I can get a good Ada app-server and a Java-Ada
translator for all the existing code--and I'll run it by the corporate
brass.
Matt Savino
-Original Message-
From: Robert C. Leif [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April
Each request comes into the servlet on a separate Java Thread. I keep track
of the number of reports currently being generated and Thread.sleep(1000)
the queued threads. Every second or so the threads wake up, check to see if
they should run (next in line and # reports running MAX) otherwise
Carter, Will wrote:
I am in the process of working out an embedded (servlet) FOP solution for
some financial reporting. The generated pdfs are probably around 20 pages..
does anyone have any info about memory requirements or problems I will run
into with multiple concurrent users?
The memory
Our application absolutely requires tables spanning mulitple pages. Are we
trying to fit a square peg into a round hole incorporating FOP into a
reporting app as opposed to book publishing?
Matt Savino
-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
this is interesting...
can the servlet report how many threads it has at any given time? Do you
know of any code examples of how this is done?
thanks for the good idea...
will
-Original Message-
From: Scott Moore [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 30, 2002 4:39 PM
To:
Savino, Matt C wrote:
Our application absolutely requires tables spanning mulitple pages. Are we
trying to fit a square peg into a round hole incorporating FOP into a
reporting app as opposed to book publishing?
I didn't say you can't use tables spanning multiple
pages. I said, if you are running
46 matches
Mail list logo