Hi all,

i've a "indent" question. I've a fo:list with an embedded fo:table (full fo attached) then i've the problem that the elements (blocks) in the cells are indent by the lists start-indent. But the only thing i want is to indent the list-item-body and it content but not the elements in the content one for one... or must i use a table aaround my table with one column for the "list-item-labels" and one for the "list-item-body"??

Thanks

Dirk

<fo:list-block
       provisional-distance-between-starts="4mm"
       provisional-label-separation="0mm">
         <fo:list-item>
           <fo:list-item-label end-indent="label-end()">
             <fo:block background-color="#FFE0E0"
              text-align="left">1.</fo:block>
           </fo:list-item-label>
           <fo:list-item-body start-indent="body-start()">
             <fo:block background-color="#E0E0FF"
             font="10pt Courier"
             text-align="left">
               <fo:block>distance-between-starts = 2 in</fo:block>
               <fo:block>label-separation = 0 in</fo:block>
<fo:table provisional-distance-between-starts="0mm" table-layout="fixed" width="100%" border-collapse="separate">
     <fo:table-column column-width="50mm"/>

<?xml version="1.0" encoding="utf-8"?>

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
  <fo:layout-master-set>
    <fo:simple-page-master master-name="all-pages">
      <fo:region-body region-name="xsl-region-body" margin="0.7in"
      column-gap="0.25in" border="0.25pt solid gray"
      padding="6pt" />
      <fo:region-before region-name="xsl-region-before"
      extent="0.7in" display-align="after" padding="6pt 0.7in" />
      <fo:region-after region-name="xsl-region-after"
      extent="0.7in" display-align="before" padding="6pt 0.7in" />
    </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:page-sequence master-reference="all-pages">
    <fo:static-content flow-name="xsl-region-before">
    </fo:static-content>
    <fo:static-content flow-name="xsl-region-after">
     
    </fo:static-content>
    <fo:static-content flow-name="xsl-footnote-separator">
      <fo:block>
        <fo:leader leader-pattern="rule" leader-length="100%"
        rule-thickness="0.5pt" rule-style="solid" color="black" />
      </fo:block>
    </fo:static-content>
    <fo:flow flow-name="xsl-region-body">
      <fo:block>
        
        <fo:list-block 
        provisional-distance-between-starts="4mm"
        provisional-label-separation="0mm"
        >
          <fo:list-item>
            <fo:list-item-label end-indent="label-end()">
              <fo:block background-color="#FFE0E0"
               text-align="left">1.</fo:block>
            </fo:list-item-label>
            <fo:list-item-body start-indent="body-start()">
              <fo:block background-color="#E0E0FF"
              font="10pt Courier" 
              text-align="left">
                <fo:block>distance-between-starts = 2 in</fo:block>
                <fo:block>label-separation = 0 in</fo:block>
                 <fo:table provisional-distance-between-starts="0mm" table-layout="fixed" width="100%"  border-collapse="separate">
      <fo:table-column column-width="50mm"/>
      <fo:table-column column-width="50mm"/>
      <fo:table-column column-width="50mm"/>
      <fo:table-body>
        <fo:table-row>
          <fo:table-cell ><fo:block>good</fo:block></fo:table-cell>
          <fo:table-cell ><fo:block>bad</fo:block></fo:table-cell>
          <fo:table-cell ><fo:block>ugly</fo:block></fo:table-cell>
        </fo:table-row>
        <fo:table-row>
          <fo:table-cell ><fo:block>nice</fo:block></fo:table-cell>
          <fo:table-cell ><fo:block>dice</fo:block></fo:table-cell>
          <fo:table-cell ><fo:block>vice</fo:block></fo:table-cell>
        </fo:table-row>
        <fo:table-row>
          <fo:table-cell ><fo:block>literature</fo:block></fo:table-cell>
          <fo:table-cell ><fo:block>music</fo:block></fo:table-cell>
          <fo:table-cell ><fo:block>art</fo:block></fo:table-cell>
        </fo:table-row>
        <fo:table-row>
          <fo:table-cell ><fo:block>java</fo:block></fo:table-cell>
          <fo:table-cell ><fo:block>perl</fo:block></fo:table-cell>
          <fo:table-cell ><fo:block>python</fo:block></fo:table-cell>
        </fo:table-row>
      </fo:table-body>
    </fo:table>
              </fo:block>
            </fo:list-item-body>
          </fo:list-item>
        </fo:list-block>
      </fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to