Step by step... The display align works fine but the keep-together is not that i want. If i set "always" on table my module miss the page break and if i set on cell i don't see change. Well ,my table is a dynamic table without fixed height..
[code]
<xsl:template name="main-document.body">
<xsl:param name="document-to"/>
<fo:flow flow-name="xsl-region-body">
<fo:table width="200mm" border-collapse="collapse"
table-layout="fixed"
border-color="black" border-style="solid"
border-width="0.5pt" >
<fo:table-column column-width="85mm"/>
<fo:table-column column-width="15mm"/>
<fo:table-column column-width="20mm"/>
<fo:table-column column-width="25mm"/>
<fo:table-column column-width="15mm"/>
<fo:table-column column-width="25mm"/>
<fo:table-column column-width="15mm"/>
<fo:table-header>
<fo:table-row>
<fo:table-cell
background-color="rgb(192, 192, 192)"
border-right-color="black"
border-right-style="solid" border- right-width="0.5pt"
border-bottom-color="black" border-bottom-style="solid"
border-bottom-width="0.5pt">
<fo:block
font-family="Courier" font-size="8pt" text-align="left"
margin-left="1mm" font-weight="bold">Descrizione</fo:block>
</fo:table-cell>
<fo:table-cell
background-color="rgb(192, 192, 192)"
border-right-color="black"
border-right-style="solid" border-right-width="0.5pt"
border-bottom-color="black" border-bottom-style="solid"
border-bottom-width="0.5pt">
<fo:block
font-family="Courier" font-size="8pt" text-align="left"
margin-left="1mm" font-weight="bold">U.M.</fo:block>
</fo:table-cell>
<fo:table-cell
background-color="rgb(192, 192, 192)"
border-right-color="black"
border-right-style="solid" border-right-width="0.5pt"
border-bottom-color="black" border-bottom-style="solid"
border-bottom-width="0.5pt">
<fo:block
font-family="Courier" font-size="8pt" text-align="left"
margin-left="1mm" font-weight="bold"
>Quantit<xsl:text
disable-output-escaping="yes">&#224;</xsl:text></fo:block>
</fo:table-cell>
<fo:table-cell
background-color="rgb(192, 192, 192)"
border-right-color="black"
border-right-style="solid" border-right-width="0.5pt"
border-bottom-color="black" border-bottom-style="solid"
border-bottom-width="0.5pt">
<fo:block
font-family="Courier" font-size="8pt" text-align="left"
margin-left="1mm" font-weight="bold">Prezzo</fo:block>
</fo:table-cell>
<fo:table-cell
background-color="rgb(192, 192, 192)"
border-right-color="black"
border-right-style="solid" border-right-width="0.5pt"
border-bottom-color="black" border-bottom-style="solid"
border-bottom-width="0.5pt">
<fo:block
font-family="Courier" font-size="8pt" text-align="left"
margin-left="1mm" font-weight="bold">Sconto</fo:block>
</fo:table-cell>
<fo:table-cell
background-color="rgb(192, 192, 192)"
border-right-color="black"
border-right-style="solid" border-right-width="0.5pt"
border-bottom-color="black" border-bottom-style="solid"
border-bottom-width="0.5pt">
<fo:block
font-family="Courier" font-size="8pt" text-align="left"
margin-left="1mm" font-weight="bold">Importo netto</fo:block>
</fo:table-cell>
<fo:table-cell
background-color="rgb(192, 192, 192)"
border-bottom-color="black" border-bottom-style="solid"
border-bottom-width="0.5pt">
<fo:block
font-family="Courier" font-size="8pt" text-align="left"
margin-left="1mm" font-weight="bold">Iva</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body>
<xsl:for-each
select="voci-fattura/voce-fattura" >
<fo:table-row >
<fo:table-cell
border-right-color="black" border-right-style="solid"
border-right-width="0.5pt">
<fo:block
font-family="Times" font-size="10pt" text-align="left"
margin-left="2mm" margin-right="2mm"
white-space-collapse="false" linefeed-treatment="preserve">
<xsl:value-of disable-output-escaping="yes"
select="./descrizione"/>
</fo:block>
</fo:table-cell>
<fo:table-cell
display-align="after" border-right-color="black"
keep-together="always"
border-right-style="solid" border-right-width="0.5pt">
<fo:block
font-family="Times" font-size="10pt" text-align="left"
margin-left="2mm" margin-right="2mm">
<xsl:value-of disable-output-escaping="yes"
select="./unitaMisura"/>
</fo:block>
</fo:table-cell>
<fo:table-cell
display-align="after" border-right-color="black"
keep-together="always"
border-right-style="solid" border-right-width="0.5pt">
<fo:block
font-family="Times" font-size="10pt" text-align="right"
margin-left="2mm" margin-right="2mm">
<xsl:value-of disable-output-escaping="yes" select="./qta"/>
</fo:block>
</fo:table-cell>
<fo:table-cell
display-align="after" border-right-color="black"
keep-together="always"
border-right-style="solid" border-right-width="0.5pt">
<fo:block
font-family="Times" font-size="10pt" text-align="right"
margin-left="2mm" margin-right="2mm">
<xsl:value-of disable-output-escaping="yes" select="./importo"/>
</fo:block>
</fo:table-cell>
<fo:table-cell
display-align="after" border-right-color="black"
keep-together="always"
border-right-style="solid" border-right-width="0.5pt">
<fo:block
font-family="Times" font-size="10pt" text-align="right"
margin-left="2mm" margin-right="2mm">
<xsl:value-of disable-output-escaping="yes"
select="./scontoIncr"/>
</fo:block>
</fo:table-cell>
<fo:table-cell
display-align="after" border-right-color="black"
keep-together="always"
border-right-style="solid" border-right-width="0.5pt">
<fo:block
font-family="Times" font-size="10pt" text-align="right"
margin-left="2mm" margin-right="2mm">
<xsl:value-of disable-output-escaping="yes"
select="./importoTot"/>
</fo:block>
</fo:table-cell>
<fo:table-cell
display-align="after">
<fo:block
font-family="Times" font-size="10pt" text-align="right"
margin-left="2mm" margin-right="2mm">
<xsl:value-of disable-output-escaping="yes" select="./aliquota"
/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:for-each>
</fo:table-body>
</fo:table>
<fo:block font-family="Times" font-size="1pt">
<fo:marker marker-class-name="totale">
<xsl:text
disable-output-escaping="yes">&#8364;</xsl:text>
<xsl:value-of
disable-output-escaping="yes"
select="/fattura/totali/totale"/>
</fo:marker>
<fo:marker marker-class-name="contr-conai">
<xsl:text
disable-output-escaping="yes">Contributo CONAI assolto ove
dovuto</xsl:text>
</fo:marker>
<fo:marker marker-class-name="imponibile">
<xsl:for-each
select="sommario/dett-sommario">
<fo:block font-family="Times"
font-size="10pt" text-align="right">
<xsl:value-of
disable-output-escaping="yes" select="./imponibile"/>
</fo:block>
</xsl:for-each>
</fo:marker>
<fo:marker marker-class-name="aliquota">
<xsl:for-each
select="sommario/dett-sommario">
<fo:block font-family="Times"
font-size="10pt" text-align="right">
<xsl:value-of
disable-output-escaping="yes" select="./aliquota"/>
</fo:block>
</xsl:for-each>
</fo:marker>
<fo:marker marker-class-name="esenzione">
<xsl:for-each
select="sommario/dett-sommario">
<fo:block font-family="Times"
font-size="10pt" text-align="right">
<xsl:value-of
disable-output-escaping="yes" select="./esenzione"/>
</fo:block>
</xsl:for-each>
</fo:marker>
<fo:marker marker-class-name="importo">
<xsl:for-each
select="sommarioEsenti/sommarioEsentiDett">
<fo:block font-family="Times"
font-size="10pt" text-align="right">
<xsl:value-of
disable-output-escaping="yes" select="./importo"/>
</fo:block>
</xsl:for-each>
</fo:marker>
<fo:marker marker-class-name="causale">
<xsl:for-each
select="sommarioEsenti/sommarioEsentiDett">
<fo:block font-family="Times"
font-size="10pt" text-align="left"
margin-left="2mm">
<xsl:value-of
disable-output-escaping="yes" select="./causale"/>
</fo:block>
</xsl:for-each>
</fo:marker>
</fo:block>
<xsl:if test="$document-to='' or
$document-to='ORIGINALE'">
<fo:block id="totalPageNumber"/>
</xsl:if>
</fo:flow>
</xsl:template>
[/code]
Any idea?
--
View this message in context:
http://www.nabble.com/Page-break-tf3375024.html#a9396638
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
