[xep-support] start-indent= attribute value for imbedded blkock area's

From: Arjan Loeffen (arjan@salience.nl)
Date: Wed Sep 10 2003 - 00:26:15 PDT

  • Next message: Alexander Peshkov: "Re: [xep-support] start-indent= attribute value for imbedded blkock area's"

    Dear reader,
     
    Below I have added a simple XML FO document which places a table in list-item-body.
    I want the 'C' character to be positioned just below the 'B' character, as C is the text content of the first cell of the table, which is left aligned.
    I do not seem able to do this.
     
    Note that, generally, I want all tables and all other block level constructs not to inherit the value of the start-indent= attribute. So I do not want to introduce a start-indent= attribute on blocks in cell contents...
     
    Can you help me out?
    arjan
     
     
    Arjan Loeffen
    Mobiel: 06-51364196
    Mail: arjan@salience.nl
     

    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <!DOCTYPE fo:root>
    <fo:root xmlns:fo=" <http://www.w3.org/1999/XSL/Format> http://www.w3.org/1999/XSL/Format">
     <fo:layout-master-set>
      <fo:simple-page-master master-name="page-body" margin-left="20mm" margin-right="10mm" margin-top="10mm" margin-bottom="10mm" page-height="29.7cm" page-width="21cm">
       <fo:region-body margin-top="20mm" margin-bottom="35mm"/>
       <fo:region-before extent="30mm"/>
       <fo:region-after extent="30mm"/>
      </fo:simple-page-master>
     </fo:layout-master-set>
     <fo:page-sequence master-reference="page-body">
      <fo:flow flow-name="xsl-region-body">
       <fo:block space-after="0pt">
        <fo:list-block provisional-distance-between-starts="0.7cm" provisional-label-separation="0.2cm">
         <fo:list-item>
          <fo:list-item-label end-indent="label-end()">
           <fo:block>A</fo:block>
          </fo:list-item-label>
          <fo:list-item-body start-indent="body-start()">
           <fo:block>
            <fo:inline>B</fo:inline>
            <!-- imbedded table -->

            <fo:table table-layout="fixed" border-style="solid">
             <fo:table-column column-number="1" column-width="15mm"/>
             <fo:table-column column-number="2" column-width="proportional-column-width(1)"/>
             <fo:table-body>
              <fo:table-row>
               <fo:table-cell>
                <fo:block>C</fo:block>
               </fo:table-cell>
               <fo:table-cell>
                <fo:block>D</fo:block>
               </fo:table-cell>
              </fo:table-row>
             </fo:table-body>
            </fo:table>
            <!-- end of imbedded table -->

           </fo:block>
          </fo:list-item-body>
         </fo:list-item>
        </fo:list-block>
       </fo:block>
      </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 : Wed Sep 10 2003 - 00:33:22 PDT