Repost: OutOfMemoryError when running FOP in Websphere 4.0.4 but sucessful in Win 2000

2003-02-17 Thread Sherlane Lam
Hi, I have posted this message in fop-dev before. Now I would like to post this in fop-user to ask for some opinion from other existing users of FOP in AIX environment. The version of fop is 0.20.4, thanks! I am currently writing a fop serlvet. The input is a xml xslt file and the

Use of configuration files in embedded FOP

2003-02-17 Thread Rodolfo M. Raya
Hi, I have an application that uses FOP 0.20.4 and relies on userconfig.xml to setup fonts for PDF rendering. I want to upgrade to latest version on CVS repository, but class org.apache.fop.apps.Options doesn't exist anymore and my applications doesn't work. Can anybody tell me how to use

Re: Use of configuration files in embedded FOP

2003-02-17 Thread Oleg Tkachenko
Rodolfo M. Raya wrote: I have an application that uses FOP 0.20.4 and relies on userconfig.xml to setup fonts for PDF rendering. I want to upgrade to latest version on CVS repository, but class org.apache.fop.apps.Options doesn't exist anymore and my applications doesn't work. Please, read

Different page layout using pdf renderer or awt renderer

2003-02-17 Thread frederic . kieffer
Hi. Rendering a document through the awtrenderer (sent directly to the printer) doesn't give me the same result than rendering the samep document throught the PDF renderer (PDF is generated in a servlet, then open in a browser window). Both modules share the embedded fonts and xslt file. Any

Re: Different page layout using pdf renderer or awt renderer

2003-02-17 Thread Jeremias Maerki
This happens because the two renderer use a different font source which results in slightly different font metrics for the same fonts. This in turn has consequences on the layout. There's currently nothing you can do to get the same output other than by switching renderers. PDF and PostScript, for

RE: Different page layout using pdf renderer or awt renderer

2003-02-17 Thread frederic . kieffer
Thank you very much for your input. Frédéric -Message d'origine- De: Jeremias Maerki [mailto:[EMAIL PROTECTED] Date: lundi 17 février 2003 11:53 À: [EMAIL PROTECTED] Objet: Re: Different page layout using pdf renderer or awt renderer This happens because the two renderer use a different

counting variable

2003-02-17 Thread Zieseniß, Markus
Hello, is there a possibility to create a variable, which can count elements of my letter? Thanks in adavance Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: counting variable

2003-02-17 Thread Oleg Tkachenko
Zieseniß, Markus wrote: is there a possibility to create a variable, which can count elements of my letter? Sure, xsl:variable name=elems-number select=count(//*)/ -- Oleg Tkachenko Multiconn Technologies, Israel - To unsubscribe,

Re: No pictures in PDF

2003-02-17 Thread Jiri_Nejedly
I don't know what's the difference between build clean and build so I called the build.bat batch in FOP directory. It works the same way - no pictures. Here's the log from runing fop.bat ( fop test.fo test.pdf -d) (See attached file: out.txt) I'm logging also when running embedded FOP: (See

Re: No pictures in PDF

2003-02-17 Thread Jeremias Maerki
Ok, I get it. Looking into the PDF using a text editor I can see that your JPEG image is right there in the PDF. The problem probably is that it's a special JPEG subformat (JFIF, Exif) that's currently not supported by FOP. By the way, I didn't get no pictures, I got Insufficient data for an

Re: Use of configuration files in embedded FOP

2003-02-17 Thread Rodolfo M. Raya
On Mon, 2003-02-17 at 04:10, Oleg Tkachenko wrote: Rodolfo M. Raya wrote: I have an application that uses FOP 0.20.4 and relies on userconfig.xml to setup fonts for PDF rendering. I want to upgrade to latest version on CVS repository, but class org.apache.fop.apps.Options doesn't

Re: No pictures in PDF

2003-02-17 Thread Jiri_Nejedly
I'm not really sure that the jpg file format is what is wrong. Several arguments : - Both in current (0.20.5) and recent version (0.20.3), I have one special picture with question mark, which I use in case, when there's picture missing in database. In FOP 0.20.3 was all ok, and this picture

Re: No pictures in PDF

2003-02-17 Thread s-oualid
Hello, I am not running FOP on a Windows server, so maybe my experience will be useless for you... But I had the same problem while givin the full unix path of my images into a servlet, and I remembered that the parameter is a URI, not a URL, so I just putted the file: prefix in my external

Re: No pictures in PDF

2003-02-17 Thread Jeremias Maerki
I see. Fop 0.20.3 was a bit different. I didn't have that special JPEG handler for optimized JPEG import when I remeber correctly. It was decoded through JIMI and reencoded to PDF exactly like PNG files. Anyway, we have to take a look at your environment. What JVMs are in use when you call FOP

Re: No pictures in PDF - solved

2003-02-17 Thread Jiri_Nejedly
I must apologize - problem is not in FOP. Because I had problem openning result PDF file (some sharing violation) I do a copy of it and then send the copy to browser: File inputFile = new File(outFilePath); File outputFile = new File(outPDFPath); FileReader fr = new FileReader(inputFile);

Logger reading

2003-02-17 Thread Matthew Lancashire
If I have the following setup Logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_DEBUG); MessageHandler.setScreenLogger(logger); Where ais the log written to in the windows platform Matthew Lancashire IT Project Manager Intitial Electronic Security Ltd Tel: +44 1282 473554

Book on FOP

2003-02-17 Thread Ferdous Ahmed
Title: Book on FOP Hello, I need a good reference book to for FOP. Can any one give some reference ? Best Regards Ahmed Ferdous Team Leader - In Germany: Afinion AG Niederlassung

Re: Logger reading

2003-02-17 Thread Jeremias Maerki
Since it's the ConsoleLogger it's written to System.out which in turn is sent to the default console (console window in Windows). If you need a different logging target see here: http://xml.apache.org/fop/embedding.html#logging On 17.02.2003 17:02:43 Matthew Lancashire wrote: If I have the

Variable and Static Content

2003-02-17 Thread s-oualid
Hello, I have a little problem using variable in a static content... I have a border on even pages of my document where I wanna draw the title of the current category. So I putted a static content with a test on the $THEME variable, which will select the right image for the current category.

Variable in Static Content (forgot)

2003-02-17 Thread s-oualid
I forgot, here's an example of my PDF output, it would be easier for you to understand my problem, my english is so bad ! :) The title I was speaking about in my previous message is HISTOIRE CONTEMPORAINE on the second page. http://www.tatouage.fr/temp/fop_user_example.pdf Simon OUALID Arte

Re: Book on FOP

2003-02-17 Thread Zhong Yi
Don't think there is one. FOP is still in baby stage, I think. --- Ferdous Ahmed [EMAIL PROTECTED] wrote: Hello, I need a good reference book to for FOP. Can any one give some reference ? Best Regards Ahmed Ferdous Team Leader

Re: Book on FOP

2003-02-17 Thread Jeremias Maerki
You're wrong there. :-) http://www.amazon.com/exec/obidos/tg/detail/-/0131403745/qid=1045499814/sr=8-2/ref=sr_8_2/002-7179745-6532868?v=glances=booksn=507846 http://www.amazon.com/exec/obidos/tg/detail/-/0596003552/qid=1045499814/sr=8-1/ref=sr_8_1/002-7179745-6532868?v=glances=booksn=507846

Re: Book on FOP

2003-02-17 Thread Zhong Yi
Hei, Those are xsl-fo not FOP. I already read the second one. It's a good intro, but lack of cool stuff. And definetly not for How to use FOP for publishing. --- Jeremias Maerki [EMAIL PROTECTED] wrote: You're wrong there. :-)

Re: Book on FOP

2003-02-17 Thread Jeremias Maerki
Oh, and this one: http://www.amazon.com/exec/obidos/tg/detail/-/0672322811/ref=pd_sim_books_3/002-7179745-6532868 On 17.02.2003 17:39:12 Jeremias Maerki wrote: You're wrong there. :-)

Re: Book on FOP

2003-02-17 Thread Jeremias Maerki
Sorry, didn't go into my mind that he was talking about FOP not XSL-FO. :-) Well, everything worth knowing about FOP should be on the website which has neat PDFs to print out. If something's missing we're gladly accepting documentation patches. *grin* On 17.02.2003 17:42:10 Zhong Yi wrote: Hei,

Re: Book on FOP

2003-02-17 Thread Zhong Yi
Jeremias, Read the first commentor's comment about this book: Good code but good formatters are hard to find. Looks like you have to work hard on FOP:-). --- Jeremias Maerki [EMAIL PROTECTED] wrote: Oh, and this one:

RE: Book on FOP

2003-02-17 Thread Ferdous Ahmed
Title: RE: Book on FOP In fact, I need a combination of FOP and XSL FO for printing pdf. So I am looking for a book which will give me a good overview and then get into the details if needed regardinf FOP and XSL FO. Best Regards Ahmed Ferdous Team Leader

RE: Book on FOP

2003-02-17 Thread Ferdous Ahmed
Title: RE: Book on FOP These books I have already seen at Amazon. I am asking some one experienced so that I dont buy a trash..:-)) Best Regards Ahmed Ferdous Team Leader - In

RE: Book on FOP

2003-02-17 Thread Steve Pitchford
Title: RE: Book on FOP Ive always found, especially with open source projects in the stage that fop is at ( young and developing rapidly )that static material dedicated to the subject is counter productive. Bugs and features get added so often that the publication rapidly becomes out of

RE: Book on FOP

2003-02-17 Thread Steve Pitchford
Title: RE: Book on FOP Sorry, I was obviously reffering to bug fixes, rather than implying a growing number of bugs. Such a statement would be very unfair to the hard working contributors to FOP. -Original Message- From: Steve Pitchford [mailto:[EMAIL PROTECTED] Sent: 17

Odd or Even in the xsl-region-body

2003-02-17 Thread s-oualid
Hi, I would like to know if it's possible to test the odd or even condition while writing in non-static content. Here's an example of what I want to do : fo:block font-size=13pt border-style=solid border-width=0pt font-family=Helvetica Black

Re: Odd or Even in the xsl-region-body

2003-02-17 Thread Jeremias Maerki
In an ideal world you would probably be using text-align=inside and text-align=outside. But that's not implemented in FOP AFAIK. The approach you're trying to follow will only work if you try to do the whole page-breaking stuff yourself in XSLT. But that could get real messy and might not solve

Re: Odd or Even in the xsl-region-body

2003-02-17 Thread s-oualid
Thanks you for your answer mate ! I am so nervous on this project (because that's a totally new approach for me, I was working with VPE's DLL of ideal software before I managed to convince people here to use XSL:FO), that I am really happy to get some help even if it doesn't really solve my

Re: Odd or Even in the xsl-region-body

2003-02-17 Thread Jeremias Maerki
On 17.02.2003 22:05:18 s-oualid wrote: Thanks you for your answer mate ! I am so nervous on this project (because that's a totally new approach for me, I was working with VPE's DLL of ideal software before I managed to convince people here to use XSL:FO), that I am really happy to get

Re: Variable in Static Content (forgot)

2003-02-17 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: So I am wondering how to put a dynamic variable in a static content (it is working well for the page number) ! You can't the way you think you do it. Actually you are mixing up XSL transformation and formatting. These are two different things. A fo:page-number is

logging and line numbers of errors

2003-02-17 Thread Eric Smith
I find it frustrating not being informed of line numbers where fop finds an error. I get the stack trace but no useful indication of where to find the error. Is this a known deficiency or am I missing something? fop 0204 -- Eric Smith

Re: (private reply) Variable in Static Content (forgot)

2003-02-17 Thread s-oualid
Thanks you for your answer ! And many thanks for the english lesson, I really need it, excuse my poor grammar... But I think the usage of wanna was right in my sentence (I wanna draw the title ...), isn't it ? Anyway, that's not the question, thanks you for having a look on my problem, I'll

Réf. : Re: (private reply) Variable in Static Content (forgot)

2003-02-17 Thread s-oualid
Ooops... Sorry, that's public finally ! I really need to sleep! ;)Zz[EMAIL PROTECTED] a écrit : -Pour : [EMAIL PROTECTED]De : [EMAIL PROTECTED]Date : 18/02/2003 12:24AMObjet : Re: (private reply) Variable in Static Content (forgot)Thanks you for your answer !And many thanks for the english

RE: (not so private reply) Variable in Static Content

2003-02-17 Thread Roland Neilands
Simon, So I am wondering how to put a dynamic variable in a static content (it is working well for the page number) ! You can't the way you think you do it. Actually you are mixing up XSL transformation and formatting. These are two different things. A fo:page-number is evaluated by