RE : FOP 0.92 Beta : Performance related question

2006-05-15 Thread Foucault, Sebastien
Title: RE : FOP 0.92 Beta : Performance related question Hello, Have a look at JasperReports, Birt and iText to check if they fit your needs. Regards -- Sébastien FOUCAULT -Message d'origine- De : Singhal, Ramneek (Exchange) [mailto:[EMAIL PROTECTED]] Envoyé : lundi 15 mai 2

RE: FOP 0.92 Beta : Performance related question

2006-05-15 Thread Singhal, Ramneek \(Exchange\)
Thanks J for your reply. Actually my reports are dynamic in nature which means that until I get the dataset I do not know how many columns to show in report, what is the width of each column, which column will be placed at which position etc. user has the ability to add, remove, change column wid

Re:

2006-05-15 Thread J.Pietschmann
Eivind Andreassen wrote: Do you think there is other ways to print the letter x on the last page appearing at the same place everytime? The common workaround if page-position="last" isn't available is to use a footnote at the end of the content. It will appear in the body region, rather than in

Re:

2006-05-15 Thread Eivind Andreassen
Thanks. Looks like you understanding my problem. Do you think there is other ways to print the letter x on the last page appearing at the same place everytime? greetings. Eivind Andreassen. On 15.05.2006 21:45, J.Pietschmann wrote: Eivind Andreassen wrote: I want to wrtite the letter x o

Re: Revision bar indicator. How?

2006-05-15 Thread J.Pietschmann
Michaud, Jean-Francois wrote: I need to be able to create a revision bar to the left of content that has changed in the document. You are most likely stuck with unravelling your list structure and wrap every changed paragraph in a block with an appropriate border, as described (I personally wou

Re:

2006-05-15 Thread J.Pietschmann
Eivind Andreassen wrote: I want to wrtite the letter x on the last page of a pdf document. I want to put it in a static content, so the x appear on the same place everytime. font-size="11px"> x The region-after is defined in a simple-page-mastes with page position = "last" using maste

Re: Keep with next for a paragraph?

2006-05-15 Thread J.Pietschmann
Michaud, Jean-Francois wrote: The sort of keep with next I need to be able to do Is paragraph related. This is what I need to do: If the para is less than 10 lines long, then keep it all on the same page. If it is more than 10 lines then allow it to split but keep at least 5 lines on the each pa

Re: FOP 0.92 Beta : Performance related question

2006-05-15 Thread J.Pietschmann
Singhal, Ramneek (Exchange) wrote: I did tests on a 2CPU(3.6GHz) linux machine with hyper threading on. I tried simulating generation of 100 reports with 4 concurrent threads at a time and the best output which I could achieve was 6.5 pages/sec. This sounds about right. 1. is this the kind of

fop-users@xmlgraphics.apache.org

2006-05-15 Thread Eivind Andreassen
Hi I want to wrtite the letter x on the last page of a pdf document. I want to put it in a static content, so the x appear on the same place everytime. font-size="11px"> x The region-after is defined in a simple-page-mastes with page position = "last" using master-reference="last" pa

Revision bar indicator. How?

2006-05-15 Thread Michaud, Jean-Francois
Hello people, I'm having quite a problem with revision indicators under FOP. (using 0.20.5) I need to be able to create a revision bar to the left of content that has changed in the document. Creating a left border to indicate a revision change works but it isn't sufficient because I use "fo:lis

Keep with next for a paragraph?

2006-05-15 Thread Michaud, Jean-Francois
Hello people, I am having a bit of a problem here. I looking around and dug up some information concerning keep with next already and under FOP 0.20.5, it seems that keep with next will only work under fo:table-row. I'm not certain if this can help me or not but right now, it doesn't look like it

Re: FOP jre1.5

2006-05-15 Thread Christian Geisert
Jago Pearce schrieb: > Thanks, I have done but that leads to the next problem that is, how do I > get > fop.sh to be a usable command on my system - it uncompresses and > fop.shworks but I'm not sure how to install it. I was thinking of > copying to /opt > and symlinking fop.sh to /usr/bin/fop. Th

Re: page-sequence and memory usage

2006-05-15 Thread Giorgio [EMAIL PROTECTED]
Jeremias Maerki wrote: That's where it gets tricky, at least for this particular issue. Supporting large documents will take some rather extensive changes in the layout engine: - Introduction of a first-fit page breaking algorithm which is selected on demand. etc... Thank you for the explanati

Re: Fonts in Fop9.92beta

2006-05-15 Thread Jeremias Maerki
Hmm, in that case check if there's any other log output from FOP indicating any problems (like a font that was not properly loaded) and show us your full userconfig.xml so we can see if you've placed the tag in the right place. On 15.05.2006 15:01:34 tblhh wrote: > Hi, > > I call Fop like this >

Re: Fonts in Fop9.92beta

2006-05-15 Thread tblhh
Hi, I found the mistake. I used an old userconfig.xml (fop 0.20.5), that doesn't work. So, sorry for wasting your time. Now everything is fine. Thanks for help TBL > --- Ursprüngliche Nachricht --- > Von: [EMAIL PROTECTED] > An: fop-users@xmlgraphics.apache.org > Betreff: Re: Fonts in Fop9.92bet

Re: Fonts in Fop9.92beta

2006-05-15 Thread tblhh
Hi, I call Fop like this C:\fop-0.92beta>fop -c c:\fop-0.92beta\conf\userconfig.xml -xml bsp2\Test.xml -xsl bsp2\SH_Stylesheet.xsl -pdf bsp2\Modul1.pdf > --- Ursprüngliche Nachricht --- > Von: Jeremias Maerki <[EMAIL PROTECTED]> > An: fop-users@xmlgraphics.apache.org > Betreff: Re: Fonts in Fo

Re: Fonts in Fop9.92beta

2006-05-15 Thread Jeremias Maerki
And you told FOP to use the userconfig.xml? The stuff below looks good. The fact that you're specifying a bold font but only defined the normal font weight shouldn't be a problem here. On 15.05.2006 13:54:30 tblhh wrote: > Hi, > it's me again, now with subject. > > I'm using fop 0.92beta and have

Re: Location of xsltfile

2006-05-15 Thread Jeremias Maerki
Ah ok, so if you want to use this in a web application in Tomcat I suggest you place the stylesheet in a subdirectory of your web app and use the ServletContext's getResource() method. That makes it container-independent and you don't even have to maintain a configuration setting for a base directo

Fonts in Fop9.92beta

2006-05-15 Thread tblhh
Hi, it's me again, now with subject. I'm using fop 0.92beta and have a problem using my own fonts. I created a metric file and than embedding the following lines as explained in fonts.pdf a) userconfig.xml: b) Stylesheet: FOP answers: WARNUNG: Font 'arial,normal,400' not found. Subs

Re: Location of xsltfile

2006-05-15 Thread CalvinD
Jeremias, Sorry for not being clear. I was referring to the files like projectteam2fo.xsl from the examples used in the transformer. I was just wondering how others handle this file and if there was a certain location, by convention, that it was placed. Thanks Calvin -- View this message in cont

Re: page-sequence and memory usage

2006-05-15 Thread Jeremias Maerki
On 15.05.2006 11:57:00 Giorgio [EMAIL PROTECTED] wrote: > Thank you for your replay, but I still need some info: > 1) how can I help you? That's where it gets tricky, at least for this particular issue. Supporting large documents will take some rather extensive changes in the layout engine: - Int

Re: NullPointerException when table inside inline

2006-05-15 Thread Jason R Briggs
And confirmed... ;-) Thanks again. J Jeremias Maerki wrote: Fixed in FOP Trunk: http://svn.apache.org/viewcvs?rev=406596&view=rev On 15.05.2006 10:56:17 Jeremias Maerki wrote: Seems to be a bug. I'll look into it. On 15.05.2006 04:33:36 Jason R Briggs wrote: Hi All Just wonderin

Re: NullPointerException when table inside inline

2006-05-15 Thread Jeremias Maerki
Fixed in FOP Trunk: http://svn.apache.org/viewcvs?rev=406596&view=rev On 15.05.2006 10:56:17 Jeremias Maerki wrote: > Seems to be a bug. I'll look into it. > > On 15.05.2006 04:33:36 Jason R Briggs wrote: > > Hi All > > > > Just wondering whether anyone else has been experiencing problems when

Re: page-sequence and memory useage

2006-05-15 Thread Giorgio [EMAIL PROTECTED]
Thank you for your replay, but I still need some info: 1) how can I help you? 2) there is something planned about the unlimited page-sequence problem? Best regards, Giorgio Jeremias Maerki wrote: The goal defined back then is still valid, but so far functionality was more important than handling

Re: NullPointerException when table inside inline

2006-05-15 Thread Jason R Briggs
Cheers Jeremias. Jeremias Maerki wrote: Seems to be a bug. I'll look into it. On 15.05.2006 04:33:36 Jason R Briggs wrote: Hi All Just wondering whether anyone else has been experiencing problems when an fo:table is placed inside an fo:inline? (see the example below) If the inline is c

Re: Image width

2006-05-15 Thread Jeremias Maerki
No, that's what I tried to explain. You do have to know the size of the image and use absolute values. Otherwise, FOP needs to be improved first. On 15.05.2006 10:58:21 Dominic Brügger wrote: > Thank you. But if I set the content-with to an absolute value (the width > of the region-body's content

Re: Image width

2006-05-15 Thread Dominic Brügger
Thank you. But if I set the content-with to an absolute value (the width of the region-body's content area), the image would be scaled even if it is smaller, I guess. Is it possible to scale the image only if it does not fit in the region-body's content area? Jeremias Maerki wrote: This is c

Re: No empty blocks?

2006-05-15 Thread tblhh
Hi Jeremias, I tried it with fop 0.20.5. Now I did it with fop 0.92beta and it worked well. Thanks, and have a nice day TBL > --- Ursprüngliche Nachricht --- > Von: Jeremias Maerki <[EMAIL PROTECTED]> > An: fop-users@xmlgraphics.apache.org > Betreff: Re: No empty blocks? > Datum: Mon, 15 May

Re: Image width

2006-05-15 Thread Jeremias Maerki
This is currently not possible, I'm afraid. You'll have to know about the image size and set content-height or content-width to the height or width of the region-body's content area, whichever would overflow the available size. If FOP supported it, you could specify like this: But that'll take

Image width

2006-05-15 Thread Dominic Brügger
What is the correct way to fit an image that is larger than the available area into a page? Currently I'm using content-type="image/bmp" /> which produces a "Line 1 of a paragraph overflows the available area." warning. I already read the specs, but I don't realy understand the difference betwee

Re: NullPointerException when table inside inline

2006-05-15 Thread Jeremias Maerki
Seems to be a bug. I'll look into it. On 15.05.2006 04:33:36 Jason R Briggs wrote: > Hi All > > Just wondering whether anyone else has been experiencing problems when > an fo:table is placed inside an fo:inline? (see the example below) > > If the inline is changed to a block, the pdf is generat

Re: page-sequence and memory useage

2006-05-15 Thread Jeremias Maerki
The goal defined back then is still valid, but so far functionality was more important than handling large documents. If this is very very very important to you, then please consider allocating resources to help us implement it. This is open source; everybody can help. On 12.05.2006 18:03:55 Giorg

Re: No empty blocks?

2006-05-15 Thread Jeremias Maerki
FOP version? Works fine in 0.92beta. On 15.05.2006 09:10:30 tblhh wrote: > Hi, > > I try to place some blocks in a pdf. They are used for layout, for example a > blue bar. > > This example doesn't work. > > position="absolute" color="#FFCC00"> > > > > > If I place a single letter in the f

Re: org.apache.fop.fo.expr.PropertyException

2006-05-15 Thread Jeremias Maerki
No idea. Please consider upgrading to the latest release, Apache FOP 0.92beta. On 15.05.2006 07:57:44 Kogan, Elina PWR wrote: > Hello FOP experts, > I am using fop-0.20.5rc2 with Java SDK, Standard Edition Version 1.4.2 > The following errors get printed by FOP engine: > > [12/May/20

Re: Location of xsltfile

2006-05-15 Thread Jeremias Maerki
Apache FOP doesn't care about stylesheets. It only takes the XSL-FO content (not XML!) and converts it to the output format. It's entirely up to you how you locate and load the stylesheet. On 14.05.2006 23:35:21 CalvinD wrote: > > Moving forward with my project I have succeeded in creating a pdf

Re: fop-0.92.beta: Thread safety issues with FOP instance construction

2006-05-15 Thread Jeremias Maerki
On 13.05.2006 00:45:51 Ryan Gustafson wrote: > Hi Jeremias, > > > The Service class is properly synchronized. > > I downloaded the source, and agree. > > > The ElementMapping > > classes, however, are recreated for each FopFactory. There's no > > sharing of these classes between multiple FopFac

No empty blocks?

2006-05-15 Thread tblhh
Hi, I try to place some blocks in a pdf. They are used for layout, for example a blue bar. This example doesn't work. If I place a single letter in the fo:block I get my colored bar. But I want it without text. I guess fop doesn't care about empty blocks. Anyone an idea how to do it anoth