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

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

View raw message