Hi Tyndyll, You might be hitting a bug in FOP 0.94 regarding empty cells. Can you try with FOP Trunk? Or send me the FO file causing trouble so that I can test it with the Trunk.
Thanks, Vincent Tyndyll wrote: > Hi Vincent. > > I've pinned down the problem to the contents of one cell that looks like > this (I know I'm breaking the no XSLT rule but its a direct copy) > > <fo:table-cell> > <fo:block> > <xsl:if test="./alter < 0"><xsl:value-of > select="./alter"/></xsl:if> > </fo:block> > </fo:table-cell> > > If the "less than" test is replaced with a "greater than" test, then > everything is fine and is reproduced as expected. > > I fear that I'm making a blindingly obvious mistake.. > > Tyndyll > > > Vincent Hennebert-3 wrote: >> Hi, >> >> I can’t reproduce your problem, either with FOP 0.94 or with Trunk. When >> I duplicate the row in the table-body many times, the table gets broken >> over 2 pages as expected. And the first part is on the first page with >> the previous blocks of text. And I really don’t see what could be wrong >> in this area. >> Maybe you can provide a screenshot of what you get? >> >> Vincent >> >> >> Tyndyll wrote: >>> Hi. >>> >>> I've enclosed a sample. I've only included the one row of sample data to >>> keep the file simple. Essentially, if that row is repeated say 25 times, >>> that is small enough for it all to fit on one page and the table ends up >>> in >>> the desired location. A greater number of rows results in the table >>> starting >>> on a new page and the original page being left with a header and address >>> block only. >>> >>> If you would prefer more data lines please just ask >>> >>> Tyndyll http://www.nabble.com/file/p15518590/Sample.fo Sample.fo >>> >>> >>> Vincent Hennebert-3 wrote: >>>> Hi Tyndyll, >>>> >>>> We can’t really help you without an FO file to reproduce the problem. >>>> All I can say is that keep-with-previous works on tables. >>>> So please attach a small FO file (not xslt) to illustrate what you’re >>>> trying to achieve. >>>> >>>> Thanks >>>> Vincent >>>> >>>> Tyndyll wrote: >>>>> Hi All, >>>>> >>>>> This is potentially a simple question but I can't find an answer. >>>>> >>>>> I am trying to place a table after a few paragraphs of text. If the >>>>> table >>>>> combined with the text is greater than the length of a single page, the >>>>> table breaks onto a new page. In an act of desperation I downloaded and >>>>> tried RenderX's XEP. By adding 'keep-with-previous="always"' I can get >>>>> the >>>>> desired effect (i.e. start of the table at the end of the text, NOT on >>>>> a >>>>> new >>>>> page). >>>>> >>>>> I understand that the compliance level is partial. I am reading it as >>>>> ALL >>>>> elements that are used with tables (body, row, cell etc) are not >>>>> implemented. I am using version 0.94 but want noticed that this was >>>>> available in 0.20. Is this correct? >>>>> >>>>> Can anyone suggest a workaround? >>>>> >>>>> Thanks >>>>> >>>>> Tyndyll -- Vincent Hennebert Anyware Technologies http://people.apache.org/~vhennebert http://www.anyware-tech.com Apache FOP Committer FOP Development/Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
