[xep-support] display-align problems

Wick Swain WSwain at nutracorp.com
Mon Apr 21 12:07:20 PDT 2003


The  book "XSL-FO" published by O'Reilly instructs that to align text in
the bottom of a table cell I should specify the following cell
attribute:
     display-align="after"
 
I've tried this and no matter what value I specify for the
"display-align" attribute, my text is always vertically centered  The
XEP spec sheet shows that display-align is supported so please let me
know if this is not what "display-align" does or if I am somehow
mis-using it.
I will include an example below.
 
Thanks. 
-Wick Swain
 
 
 
 
<?xml version="1.0" encoding="UTF-8"?>
<!-- I expect this to place text at the bottom of the table cell, but it
remains centered -->
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
       <fo:layout-master-set>
             <fo:simple-page-master master-name="test-master" >
                    <fo:region-body region-name="region-body"/>
             </fo:simple-page-master>
       </fo:layout-master-set>
       <fo:page-sequence master-reference="test-master">
             <fo:flow flow-name="region-body">
                    <fo:table font-size="9pt" line-height="50pt">
                           <fo:table-column/>
                           <fo:table-body>
                                 <fo:table-cell display-align="after"
border="1.0pt solid black">
                                        <fo:block>I expect this text to
appear at the bottom of the cell, but it is vertically centered
instead</fo:block>
                                 </fo:table-cell>
                           </fo:table-body>
                    </fo:table>
             </fo:flow>
       </fo:page-sequence>
</fo:root>
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20030421/c996a676/attachment.html>


More information about the Xep-support mailing list