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

Alexander Peshkov peshkov at renderx.com
Wed Sep 10 02:41:04 PDT 2003


Hello Arjan,

You have two options to achieve desired effect:
1. Explicitly specify zero indents (start-indent="0pt" and
   end-indent="0pt") on fo:table-body element.
2. Set XEP2_COMPATIBLE_MODE to 'true' to enforce RenderX proprietary
   interpretation of inheritance. However we consider this option as
   deprecated and discourage its use.

Best regards,
Alexander Peshkov                             mailto:peshkov at renderx.com
RenderX
   
AL> Dear reader,
 
AL> Below I have added a simple XML FO document which places a table in list-item-body. 
AL> 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.
AL> I do not seem able to do this.
 
AL> 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
AL> blocks in cell contents...
 
AL> Can you help me out?
AL> arjan
 
 
AL> Arjan Loeffen
AL> Mobiel: 06-51364196
AL> Mail: arjan at salience.nl
 

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

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

AL>        </fo:block>
AL>       </fo:list-item-body>
AL>      </fo:list-item>
AL>     </fo:list-block>
AL>    </fo:block>
AL>   </fo:flow>
AL>  </fo:page-sequence>
AL> </fo:root>


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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



More information about the Xep-support mailing list