You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Stefan Pflumm <St...@web.de> on 2006/01/17 22:36:24 UTC
fop 0.91: keep-next-previous
Hello,
A few days ago i upgraded fop 0.20 to 0.91 beta. But now it seems that the "keep-with-previous" attribute on table rows is ignored.
For example:
[...]
<fo:table-row>
<fo:table-cell>
<fo:block id="bestätigungsvermerk-index" text-align="left" font-size="16pt" font-weight="bold" padding-bottom="1cm">
<xsl:for-each select="/drucken/inhaltsverzeichnis/abschnitt">
<xsl:if test="@beschreibung = 'Bestätigungsvermerk'">
<xsl:value-of select="@nummerierung"/> Bestätigungsvermerk
</xsl:if>
</xsl:for-each>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row keep-with-previous="always">
<fo:table-cell>
<fo:block padding-bottom="0.5cm">
Wir bestätigen unter Hinweis auf unseren Bericht und erteilen folgenden Abschlussvermerk:
</fo:block>
</fo:table-cell>
</fo:table-row>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: fop 0.91: keep-with-previous
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
It's not on my high-priority list and as far as I can remember from when
I implemented the layout manager code for tables, this is a non-trivial
task. So unless someone else does it or my priorities change, I guess
the next release will still have this limitation.
Did you understand my suggestion about removing the blind table (keep
work-around)?
On 23.01.2006 21:36:48 Stefan Pflumm wrote:
> Hi,
>
> Thank's for the help, but i use "keep-with-previous" in other parts of my document which couldn't replaced easely with keep-with-next.
> So will "keep-with-previous" for table rows reimplemented in the next beta version?
>
> fop-users@xmlgraphics.apache.org schrieb am 17.01.06 23:01:12:
>
> That's a known issue documented in the release notes:
> http://xmlgraphics.apache.org/fop/relnotes.html#FOP+0.91+beta
>
> I can see that you're only using the table here because of the
> work-around for keeps in 0.20.5. You can actually remove that table for
> 0.91beta now because keeps work on normal blocks, even
> keep-with-previous. keep-with-previous just doesn't work inside tables
> and lists, yet. The other option is to use keep-with-next instead of
> keep-with-previous if possible. And it looks like it is possible in your
> case.
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: fop 0.91: keep-next-previous
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
That's a known issue documented in the release notes:
http://xmlgraphics.apache.org/fop/relnotes.html#FOP+0.91+beta
I can see that you're only using the table here because of the
work-around for keeps in 0.20.5. You can actually remove that table for
0.91beta now because keeps work on normal blocks, even
keep-with-previous. keep-with-previous just doesn't work inside tables
and lists, yet. The other option is to use keep-with-next instead of
keep-with-previous if possible. And it looks like it is possible in your
case.
I hope that helps.
On 17.01.2006 22:36:24 Stefan Pflumm wrote:
> Hello,
>
> A few days ago i upgraded fop 0.20 to 0.91 beta. But now it seems that the "keep-with-previous" attribute on table rows is ignored.
> For example:
>
> [...]
> <fo:table-row>
> <fo:table-cell>
> <fo:block id="bestätigungsvermerk-index" text-align="left" font-size="16pt" font-weight="bold" padding-bottom="1cm">
> <xsl:for-each select="/drucken/inhaltsverzeichnis/abschnitt">
> <xsl:if test="@beschreibung = 'Bestätigungsvermerk'">
> <xsl:value-of select="@nummerierung"/> Bestätigungsvermerk
> </xsl:if>
> </xsl:for-each>
> </fo:block>
> </fo:table-cell>
> </fo:table-row>
> <fo:table-row keep-with-previous="always">
> <fo:table-cell>
> <fo:block padding-bottom="0.5cm">
> Wir bestätigen unter Hinweis auf unseren Bericht und erteilen folgenden Abschlussvermerk:
> </fo:block>
> </fo:table-cell>
> </fo:table-row>
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org