[xep-support] display-align problems

From: Wick Swain (WSwain@nutracorp.com)
Date: Mon Apr 21 2003 - 12:07:20 PDT

  • Next message: PIERRES@hthk.com: "[xep-support] Does XEP support Chinese characters?"

    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>
     
     

    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



    This archive was generated by hypermail 2.1.5 : Mon Apr 21 2003 - 11:58:55 PDT