[XSLFO] List block with table

Here should go questions about transforming XML with XSLT and FOP.
ESTRADE
Posts: 46

[XSLFO] List block with table

Thu Jul 12, 2012 2:34 pm

Hi,

In a list I print an array.
The content of table cells must be aligned left
As a result I have a gap in the text and not in the border?
Extract the file fo :

Code: Select all

<fo:block>
<fo:list-block space-before="3mm">
<fo:list-item>
<fo:list-item-label end-indent="label-end()"><fo:block space-before="0cm"> </fo:block></fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>
<fo:table border-width="thin" border-color="black"
table-layout="fixed" block-progression-dimension="auto"
inline-progression-dimension="auto" border-start-style="solid"
border-end-style="solid" border-before-style="solid"
border-after-style="solid" text-align="start">
<fo:table-column column-number="1" column-width="proportional-column-width(284)"/>
<fo:table-column column-number="2" column-width="proportional-column-width(283)"/>
<fo:table-header border-start-style="solid" border-end-style="solid" border-width="thin" border-before-style="solid" border-after-style="solid">
<fo:table-row>
<fo:table-cell border-start-style="solid" border-end-style="solid"
border-width="thin" border-before-style="solid"
border-after-style="solid" text-align="start"
vertical-align="top" border-color="black">
<fo:block margin-left="0pt" margin-right="0pt" padding="2pt">COLONNE 1</fo:block>
</fo:table-cell>
<fo:table-cell border-start-style="solid" border-end-style="solid" border-width="thin" border-before-style="solid" border-after-style="solid" text-align="start" vertical-align="top" border-color="black">
<fo:block margin-left="0pt" margin-right="0pt" padding="2pt">COLONNE 2</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-header>
............
Thank you for help

best regard

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 1 guest