OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] height of rows in tables

>Hi Ron,
>You got the part that gets the PI value into a variable, now you 
>need the part that uses the variable to add the property (attribute) 
>to the fo:table-row.  See the xsl:if for $bgcolor to see how that is 
>done. Something like:
>    <xsl:if test="$row.height != ''">
>      <xsl:attribute name="height">
>        <xsl:value-of select="$row.height"/>
>      </xsl:attribute>
>    </xsl:if>
>Bob Stayton

Thanks yet again Bob.  I can now adjust row heights in both HTML and FO.


The value of row-height you put in is added on to some standard or 
default value - roughly 0.5cm (or about 20 pixels for HTML). For Fo 
using XEP 4.7:
put in    get
1.5cm     2.0cm
1.0cm     1.5cm
0.001cm   0.55cm
-0.3cm    +0.25cm
My measurements are done with a ruler on screen and paper - at best approx.

<?dbfo row-height="-0.3cm"?> get me a 2.5 mm blank row which is just 
about what I want.  See p.441 of your book, which reads that 
row-height sets the actual row height.

put in    get
20(px)    40
1         20
-10       20
There appears to be an absolute 20 pix minimum for HTML.
Ron Catterall, Phd, DSc				email: ron@catterall.net
Prolongacion de Hidalgo 140				http://catterall.net/
San Felipe del Agua					tel: +52 951 520 1821
Oaxaca      68020	Mexico				fax: +1 530 348 8309

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]