W3C home > Mailing lists > Public > www-xsl-fo@w3.org > July 2012

usage of block-progression-dimension.minimum

From: Lanz <lancelot.meurillon@gmail.com>
Date: Tue, 10 Jul 2012 20:54:24 +0200
Message-ID: <CAPh3csLRXBWrkhd-KGk2W6P9nhgRZififLS_RUJxm=MgfEODKQ@mail.gmail.com>
To: www-xsl-fo@w3.org
Hi all,

I'm trying to create a block that has a minimum heigt of 37mm by using
'block-progression-dimension.minimum' attribute in this way :


<fo:root xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:oecd="
http://oecd.metastore.ingenta.com/ns/" xmlns:cover="
http://www.oecd.org/ilibrary/cover" xmlns:functx="http://www.functx.com"
xmlns:svg="http://www.w3.org/2000/svg"
   xmlns:fo="http://www.w3.org/1999/XSL/Format">
   <fo:layout-master-set>
      <fo:simple-page-master master-name="simple" page-height="297mm"
page-width="210mm" margin-bottom="0mm" margin-left="0mm" margin-right="0mm"
margin-top="0mm">
         <fo:region-body/>
      </fo:simple-page-master>
   </fo:layout-master-set>
   <fo:page-sequence master-reference="simple">
      <fo:flow flow-name="xsl-region-body">
[...]
<fo:block-container position="absolute" top="245mm" left="80mm"
width="115mm" border="0.75pt solid black"
block-progression-dimension.minimum="37mm">
    <fo:block margin="3mm" font-family="Arial" font-size="11pt"
line-height="15pt" linefeed-treatment="preserve"
white-space-collapse="false">United Nations Industrial Development
Organization<fo:inline font-style="italic">, et al.</fo:inline> (2009),
“Employment and Social Protection”, <fo:inline font-style="italic">OECD
Journal on Development</fo:inline>, published online first. <fo:basic-link
external-destination="http://dx.doi.org/10.1787/journal_dev-v9-art1-en"
text-decoration="underline" color="#507AAA">
http://dx.doi.org/10.1787/journal_dev-v9-art1-en</fo:basic-link>
    </fo:block>
</fo:block-container>
[...]
     </fo:flow>
   </fo:page-sequence>
</fo:root>

but it does not work, when the content is not long enough the dimension of
the block is less than 37 mm.

Thank you for helping
Best regards
Lanz
Received on Tuesday, 10 July 2012 19:30:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 10 July 2012 19:30:24 GMT