たとえば、start-indent="20mm"
onfo:table
要素 とstart-indent="0mm"
on fo:table-body
(および onfo:table-header
とfo:table-footer
が使用されている場合) を指定すると、機能するはずです。例えば:
<fo:table table-layout="fixed" width="60mm"
border-style="solid" start-indent="20mm">
<fo:table-column column-width="40%"/>
<fo:table-column column-width="60%"/>
<fo:table-body start-indent="0mm" >
<fo:table-row>
<fo:table-cell border-style="solid">
<fo:block>Col1</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid">
<fo:block>Col2</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
start-indent
継承されたプロパティです。リセットすると、 の子領域には適用されなくなりますfo:table
。
margin-left
(継承されていないプロパティ)で動作させることができませんでした。これは FOP のバグである可能性があります ( XEPで動作します)。
Xmlgraphics-fop wikiのInterpreting Indent Inheritance in XSL-FOの記事も参照してください (特に、「テーブルを使用したその他の例」セクション)。