xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreia Oliveira" <andr...@reitoria.uminho.pt>
Subject FOP - Keeping blocks together
Date Thu, 02 Mar 2006 11:44:26 GMT
Hi,
 
I am using fop 0.20.5 and I have a document with several pages organized
using List items.

<fo:list-item space-before="12pt" keep-with-next.within-page="always">
<fo:list-item-label>
<fo:block keep-with-next.within-page="always" font-family="NewsGotT"
font-size="11pt" line-height="12pt" color="rgb(0,0,0)">
2.4
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block font-family="NewsGotT" font-size="11pt" line-height="12pt"
color="rgb(0,0,0)">
Title for section 2.4:
</fo:block>
<fo:block font-family="NewsGotTLig" font-size="11pt" line-height="12pt"
color="rgb(0,0,0)">
Text for section 2.4
</fo:block>
</fo:list-item-body>
</fo:list-item>

I need to always keep the contents of the list-item-body together. Both
blocks with title and contents must be together. And of course the "2.4" -
Number of the section must also be together.
Tried to implement it using the code presented.
It does not work.
Can someone advise me on hos to proceed in order to always have the content
of the list all-together?
 
Thanks in advance,
--------------------------------------
Andreia Oliveira
andreia@reitoria.uminho.pt
---------------------------------------
 

Mime
View raw message