xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Louis.Mast...@log-net.com
Subject Re: keeping 2 blocks together on the same page
Date Wed, 01 Feb 2006 13:08:32 GMT
Depending on which version you are using, you can try putting them into a 
blind table and then using the keep. 

Check out this post for more info: 
http://marc.theaimsgroup.com/?l=fop-user&m=113753526804493&w=2

-Lou





"Myriam Delperier" <myriam.delperier@ajlsm.com> 
02/01/2006 05:25 AM
Please respond to
fop-users@xmlgraphics.apache.org


To
<fop-users@xmlgraphics.apache.org>
cc

Subject
keeping 2 blocks together on the same page






Hello,
i've got 2 blocks of text.
my pb is that sometimes, the first one is located at the bottom of a 
page and the second one at the top of the following page.
Is there a way to be sure they stay in the same page.
I've tried :
keep-with-next.within-page="always" on the first block but it doesn't 
work.
Here is my code :

<fo:block padding-bottom="0.3cm">

        <!** the first block ***-->
  <fo:block font-family="Helvetica" line-height="12px" font-size="12pt" 
font-weight="bold">Archives départementales de l'Hérault</fo:block>

    <!** the second block ***-->

  <fo:block font-family="Helvetica" line-height="12px" font-size="10pt" 
margin-left="0.75cm" padding-bottom="0.15cm">
    <fo:block font-family="Helvetica" line-height="12px" 
font-size="10pt">Atlas du Petit et du Grand Saint-Jean (Hérault), XVIIIe 
siècle</fo:block>
    <fo:block font-family="Helvetica" line-height="12px" 
font-size="10pt">Fonds du STO ou fichier des Israélites de l'Hérault, 
1939-1945</fo:block>
    <fo:block font-family="Helvetica" line-height="12px" 
font-size="10pt">Registres paroissiaux et d'état civil : Hérault, 
XVIe-XXe siècle</fo:block>
    <fo:block font-family="Helvetica" line-height="12px" 
font-size="10pt">Cadastre napoléonien : Hérault, 1807-1838</fo:block>
    <fo:block font-family="Helvetica" line-height="12px" 
font-size="10pt">Minutes notariales : Montpellier (Hérault), XIVe-XVIIIe 
siècle</fo:block>
    <fo:block font-family="Helvetica" line-height="12px" 
font-size="10pt">Recensement de la population : Hérault, 
1831-1936</fo:block>
  </fo:block>
</fo:block> 


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org



Mime
View raw message