Populating data dynamically from the DB using Apache FOP

2010-02-10 Thread RithanyaLaxmi
Hi, I using Apache FOP for PDF generation, i have the XML with header and footer information in the bodycontent i have a placeholder, for eg, Temp.xml Sample Header [[bodycontent to be populated dynamically from DB]] Sample Footer Temp.xsl, will have the XSL tags with the layout, styles

Re: AW: AW: AW: AW: AW: Table height issue

2010-02-10 Thread rOnnie974
Hello, it's me again, I am back on this work and after several tests, I figured out that my area tree has only elements with absolute positioning, left and top offset explicitely precized. It is boring for me as I cannot work only on my specific block to adjust it (padding, height, etc.), I have

Re: Extra line spacing

2010-02-10 Thread Gregory Buchenberger
Thanks Pascal. I'll submit it to the bug tracker. On Wed, Feb 10, 2010 at 2:38 AM, Pascal Sancho wrote: > Hi Greg, > > That sounds like a bug... > This is caused by the space-after property witch is set on an fo:block > nested in an fo:inline. > the space-after is drawn for the 1st line of the ne

Re: Adding an image or character to denote line-wrap locations?

2010-02-10 Thread Jared Smith
- "Vincent Hennebert" wrote: > The requirements of the present case are different. Stylesheets doing > things like the above are just abusing the hyphenation-character > property. Thanks for enlightening me. That makes more sense now. Still, I'm wondering if the inability to add a line-wra

RE: How to balance table columns?

2010-02-10 Thread Mario Madunic
Sorry for it to make more sense here is the xpath I would test $var/child::*[position() lt count($var//child::*)/2 + 1] $var/child::*[position() gt count($var//child::*)/2] Marijan (Mario) Madunic Publishing Specialist New Flyer Industries -Original Message- From: Mario Madunic [mailto:m

RE: How to balance table columns?

2010-02-10 Thread Mario Madunic
You might want to post this up on the XSLT list. So here is how I would do it First is create a temp node variable containing all the left and right strings as child of the var. Get a count of the child nodes (left and right) divide by two (round up or down your choice) then create the table an

RE: site with good tutorial on floating blocks

2010-02-10 Thread Mario Madunic
I thought FO would behave “just” like CSS but I guess that comes from not working in print that much and seeing how many of FO’s attributes are the same as CSS. Gave me a false sense of security but I’m starting to get the hang of it. Marijan (Mario) Madunic Publishing Specialist New Flyer

How to balance table columns?

2010-02-10 Thread lexa2009
Hello! for example i have a simple table with 2 columns. like this: leftstring1 rightstring1 leftstring2 rightstring2 leftstring3 rightstring3 leftstring4 rightstring4 leftstring5 leftstring6 i do not know how many of each string will be, but i want this table leftstring1 leftstring6 lefts

Re: Adding an image or character to denote line-wrap locations?

2010-02-10 Thread Vincent Hennebert
Hi Jared, Jared Smith wrote: > On Tue, 2010-02-09 at 11:03 +, Vincent Hennebert wrote: >> To my knowledge there is no possibility to achieve that in plain XSL-FO. >> I think the best way of handling this issue is to perform line breaks >> manually. That’s probably what you want anyway, as you

Re: Extra line spacing

2010-02-10 Thread Pascal Sancho
Hi Greg, That sounds like a bug... This is caused by the space-after property witch is set on an fo:block nested in an fo:inline. the space-after is drawn for the 1st line of the nested fo:block, not the last line See short XSL-FO attached. Workaround: replace the surrounding fo:inline with a