Fop examples on web - another update

2003-01-07 Thread Darrel Riekhof
Just deployed, www.webappcore.com/fop, details of update: Fixed version, 0.20.5rc. Fixed advanced/giro.fo Made images available to fo/images.fo and fo/bgimage.fo. This was a little tricker than I thought. The two fo files reference their images as ./../../graphics. Tomcat thinks that . is

status of txt rendering was: RE: blanks and TXTRenderer

2003-01-07 Thread alex elsholz
Hi, but I doubt that it is high on anybody's priority list. ;-) yes it seems the txt rendering has a very mean status. in my opinion the txtrenderer is good to retail the fop output (for example to send it directly to a printer using the escape sequences, because many printres couldnt handle

problem with table header

2003-01-07 Thread Mihael Knezevic
hi, i got a little problem with table rendering. my problem: i have a table with a header row. as i dynamically generate the content of the headers i don't know how long the text for the header will be. so i sometimes get a very long header, which breaks into a second header row. now i would

Re: Problem: Expanding tables and background colours

2003-01-07 Thread Chris Rowe
I don't want to set the background colour of the table because I want to highlight only certain columns. I'm setting the background colour of the table cell... fo:table-cell background-color=#cde8f7 fo:block text-align=right xsl:value-of

Re: Problem: Expanding tables and background colours

2003-01-07 Thread VipinJ
As you know there is an option : number-columns-spanned=no Eg : fo:table-cell number-columns-spanned=6 fo:block font-size=12pt font-weight=boldxsl:value-of select =./accountDesc//fo:block /fo:table-cell This is used for a cell to occupy multiple columns. I belive there is an option

Re: blanks and txtrenderer

2003-01-07 Thread Fabrizio Tringali
I don't know why, but I solve the problem of inserted empty lines specifying line-height=10pt for each row in tables hope this help From: alex elsholz [EMAIL PROTECTED] Hi, i've problems with the layout using the txt-renderer. sometimes one blank comes to 3, sometimes to 10, sometimes

SVG Text to PDF Text using FOP 2.0.5rc

2003-01-07 Thread Eric Prevost
Does somebody knows how convert an SVG text to an PDF with text. when i try it using this fo:block my result is a good pdf but with line art. fo:block fo:external-graphic src='testfont001.svg'/ /fo:block my svg : style type=text/css![CDATA[ text.t1

Re: problem with table header

2003-01-07 Thread J.Pietschmann
Mihael Knezevic wrote: i have a table with a header row. as i dynamically generate the content of the headers i don't know how long the text for the header will be. so i sometimes get a very long header, which breaks into a second header row. now i would like to generally make the header 2 rows

Re: Problem: Expanding tables and background colours

2003-01-07 Thread J.Pietschmann
Chris Rowe wrote: But I can't find a way for the last table cell to stretch to the full height of the table. Any ideas? Last cell or last table row? You can try to add height=100% on the last fo:table-row, however, I don't know whether this is implemented and will work the way it is expected to

Re: FOP completes rendering when using lo-res graphics, but not with hi-res

2003-01-07 Thread J.Pietschmann
Graham Hannington wrote: Is there some memory restriction here? I'd really like to use those high-res graphics (in total, the _printonly PNGs amount to 1.58MB). Probably. You should get a MemoryOverflowException somewhere, check whatever logs you have. Try to give more memory to the JVM, see the

RE: problem with table header

2003-01-07 Thread Mihael Knezevic
sorry for my poor explanation of my problem. you are right with your assumption that i set explicitly the header and that it won't break into a second row but in a second line in the same cell. i wasn't that clear to me 'till now. but the problem remains: i got different table header height

Re: problem with table header

2003-01-07 Thread J.Pietschmann
Mihael Knezevic wrote: but the problem remains: i got different table header height because it sometimes needs one and sometimes two lines for the header. is there a possibility to say that i want the header (table cell from header) as high as two lines (relativ or absolut value) so that there all

RE: problem with table header

2003-01-07 Thread Mihael Knezevic
thanx. i'll try it. -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 3:11 PM To: [EMAIL PROTECTED] Subject: Re: problem with table header Mihael Knezevic wrote: but the problem remains: i got different table header height because it

RE: FOP completes rendering when using lo-res graphics, but not w ith hi-res

2003-01-07 Thread Graham Hannington
Probably. You should get a MemoryOverflowException somewhere, check whatever logs you have. Try to give more memory to the JVM, see the FOP FAQ for more hints. Thank you so much! I added -Xmx200m between the java and -cp in fop.bat, and now FOP completely renders my document with high-res

Re: Problem: Expanding tables and background colours

2003-01-07 Thread Chris Bowditch
Hi Chris, did you try using fo:table-column column-number=1 background-color=#cde8f7/ Regards, Chris From: Chris Rowe [EMAIL PROTECTED] I don't want to set the background colour of the table because I want to highlight only certain columns. I'm setting the background colour of the table cell...

Re: FOP completes rendering when using lo-res graphics, but not w ith hi-res

2003-01-07 Thread J.Pietschmann
Graham Hannington wrote: (The FOP FAQ, at http://xml.apache.org/fop/faq.html, has a memory settings of the JVM hyperlink that, not that helpfully, points to the FOP home page.) This will be fixed once the site is regenerated. Where would that MemoryOverflowException be reported? I'm currently

A question about tables

2003-01-07 Thread bhati001
I am using Fop in a servlet based application to generate pdfs using xslt. I wanted to post a question on this list to inquire whether dynamic table resizing has been built into fop. The reason is that my data is xml and I generate my pdfs at runtime, so i really do not know the length or even

RE: A question about tables

2003-01-07 Thread Graham Hannington
Not a direct answer to your question, I'm afraid, but here's what I do in my HTML-FO stylesheet, for tables whose column widths are not specified: xsl:variable name=width select=concat(format-number(floor(number(substring-before($column-width, 'mm')) div

Re: Problem: Expanding tables and background colours

2003-01-07 Thread Chris Rowe
I've had another go trying to get fo:table-column column-number=1 background-color=#cde8f7/ to work but the highlighted column still doesn't stretch to the bottom of the table. The background colour stops when the text stops. If I print too many extra blank lines then the table expands - is

Gradients with svg

2003-01-07 Thread Debra Mendelson, CCE
I have a simple svg file that works fine with an SVG viewer. The interesting part is that it has a gradient for a fill. When I run it through fop 0.20.4 the gradient does not come up. Am I doing something wrong? SVG FILE (simple.svg) ?xml version=1.0 standalone=no? !DOCTYPE svg

Re: Combining JavaScript with Fop application

2003-01-07 Thread J.Pietschmann
Meir wrote: this question for the people that have or using the Fop application (http://xml.apache.org/fop/) i did read the manual and did read some of the news groups msg's but i didn't understand how can i use JavaScript with Fop ? in the .xsl file that creating the xsl-fo ? do i need program

RE: Combining JavaScript with Fop application

2003-01-07 Thread Matthew L. Avizinis
What you're writing about here is how to use Javascript with Xalan. When you run FOP from the command line, it is transparent to the user that it is calling and running Xalan to create the fo file before FOP itself runs on the fo file. If you look at the Xalan page of apache.org, you'll see a

Re: Combining JavaScript with Fop application

2003-01-07 Thread Meir
Hello tnx for the fast reply . well i have some custom functions i need to operate on xml nodes .and maybe i will need more js support for formatting date ,time , numbers in all sorts of NOT standard ways . any way i only found in Xalan site only this example for using js , but i did not

Re: Combining JavaScript with Fop application

2003-01-07 Thread Meir
Hello well yeah i know the process of using xml--xslt--fo--pdf and its working just fine , but the problem is when i try to combine js in my xslt file the xsl file that creates the xsl-fo file from the xml data from the one example i found in