Loading ...
Sorry, an error occurred while loading the content.

3204[XSL-FO] override cell in table

Expand Messages
  • Xavier Robert
    Apr 1, 2003
    • 0 Attachment
      Hello everybody,

      Does somebody understand why the cell which contains "periode du"
      overrides other cells in the same line?



      Thanks,

      Xavier









      <?xml version="1.0" encoding="iso-8859-1"?>

      <pdf:stylesheet xmlns:fo="http://www.w3.org/1999/XSL/Format"
      xmlns:pdf="http://www.w3.org/1999/XSL/Transform" version="1.0">

      <pdf:output doctype-public="-//W3C//DTD HTML 3.2 Final//EN"
      indent="yes" encoding="ISO-8859-1" method="xml" />

      <xsl:variable xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      name="annee" select="//imprime/@millesime" />



      <pdf:template match="/imprime">

      <fo:root>

      <fo:layout-master-set>

      <fo:simple-page-master margin-right="1.5cm"
      margin-left="1.5cm" margin-bottom="0.3cm" margin-top="0.3cm"
      page-width="21cm" page-height="29.7cm" master-name="first">

      <fo:region-body background-color="rgb(230,230,230)"
      display-align="center" margin-bottom="1cm" margin-top="2cm" />



      <fo:region-before extent="2cm" />



      <fo:region-after extent="0.5cm" />

      </fo:simple-page-master>



      <fo:simple-page-master margin-right="1.5cm"
      margin-left="1.5cm" margin-bottom="0.3cm" margin-top="0.3cm"
      page-width="21cm" page-height="29.7cm" master-name="rest">

      <fo:region-body background-color="rgb(230,230,230)"
      display-align="center" margin-bottom="1cm" margin-top="2cm" />



      <fo:region-before extent="2cm" />



      <fo:region-after extent="0.5cm" />

      </fo:simple-page-master>



      <fo:page-sequence-master master-name="basicPSM">

      <fo:repeatable-page-master-alternatives>

      <fo:conditional-page-master-reference
      page-position="first" master-reference="first" />



      <fo:conditional-page-master-reference
      page-position="rest" master-reference="rest" />



      <fo:conditional-page-master-reference
      master-reference="rest" />

      </fo:repeatable-page-master-alternatives>

      </fo:page-sequence-master>

      </fo:layout-master-set>



      <fo:page-sequence master-reference="basicPSM">

      <fo:title>2035 - 1</fo:title>



      <fo:static-content flow-name="xsl-region-before">

      <fo:block font-size="8pt" font-family="Arial,
      Helvetica, sans-serif">

      <fo:block>Consultation ...</fo:block>



      <fo:block>Dénomination : ... N° SIREN
      : ...</fo:block>



      <fo:block>Titre</fo:block>



      <fo:block>Date et Heure Impression</fo:block>



      <fo:block>Date dernière mise à
      jour</fo:block>

      </fo:block>

      </fo:static-content>



      <fo:static-content flow-name="xsl-region-after">

      <fo:block text-align="right" font-size="8pt"
      font-family="Arial, Helvetica, sans-serif">page

      <fo:page-number />



      /

      <fo:page-number-citation ref-id="terminator" />

      </fo:block>

      </fo:static-content>



      <fo:flow flow-name="xsl-region-body">

      <fo:table table-layout="fixed" border-width="0">

      <fo:table-column column-width="4.5cm" />



      <fo:table-column column-width="2.25cm" />



      <fo:table-column column-width="1.6875cm" />



      <fo:table-column column-width="1.546875cm" />



      <fo:table-column column-width="0.703125cm" />



      <fo:table-column column-width="7.3125cm" />



      <fo:table-body>

      <fo:table-row>

      <fo:table-cell display-align="center"
      number-columns-spanned="3">

      <fo:block font-family="Arial,
      Helvetica, sans-serif">

      <fo:inline
      font-size="10pt">  RENSEIGNEMENTS RELATIFS A L'ANNEE
      20</fo:inline>

      </fo:block>

      </fo:table-cell>



      <fo:table-cell display-align="center"
      background-color="white">

      <fo:block font-family="Arial,
      Helvetica, sans-serif">

      <fo:block font-family="Arial,
      Helvetica, sans-serif" text-align="left">

      <fo:inline font-size="10pt">

      <xsl:value-of
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      select="//imprime/donnee[@code='ca_2002792']/@valeur" />



       </fo:inline>

      </fo:block>

      </fo:block>

      </fo:table-cell>



      <fo:table-cell display-align="center">

      <fo:block font-family="Arial,
      Helvetica, sans-serif"> </fo:block>

      </fo:table-cell>



      <fo:table-cell display-align="center"
      number-rows-spanned="2">

      <fo:block font-family="Arial,
      Helvetica, sans-serif">

      <fo:block font-family="Arial,
      Helvetica, sans-serif" text-align="center">

      <fo:inline
      font-size="10pt">(si l'activité a commencé</fo:inline>



      <fo:block />



      <fo:inline
      font-size="10pt">ou cessé dans l'année)</fo:inline>

      </fo:block>

      </fo:block>

      </fo:table-cell>

      </fo:table-row>



      <fo:table-row>

      <fo:table-cell display-align="center">

      <fo:block font-family="Arial,
      Helvetica, sans-serif">

      <fo:block font-family="Arial,
      Helvetica, sans-serif" text-align="center">

      <fo:inline
      font-size="10pt">OU A LA PERIODE DU</fo:inline>

      </fo:block>

      </fo:block>

      </fo:table-cell>



      <fo:table-cell display-align="center"
      background-color="white">

      <fo:block font-family="Arial,
      Helvetica, sans-serif">

      <fo:block font-family="Arial,
      Helvetica, sans-serif" text-align="center">

      <fo:inline font-size="10pt">

      <xsl:value-of
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      select="//imprime/donnee[@code='ca_2002793']/@valeur" />



       </fo:inline>

      </fo:block>

      </fo:block>

      </fo:table-cell>



      <fo:table-cell display-align="center">

      <fo:block font-family="Arial,
      Helvetica, sans-serif">

      <fo:block font-family="Arial,
      Helvetica, sans-serif" text-align="center">

      <fo:inline
      font-size="10pt">AU</fo:inline>

      </fo:block>

      </fo:block>

      </fo:table-cell>



      <fo:table-cell display-align="center"
      number-columns-spanned="2" background-color="white">

      <fo:block font-family="Arial,
      Helvetica, sans-serif">

      <fo:block font-family="Arial,
      Helvetica, sans-serif" text-align="center">

      <fo:inline font-size="10pt">

      <xsl:value-of
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      select="//imprime/donnee[@code='ca_2002794']/@valeur" />



       </fo:inline>

      </fo:block>

      </fo:block>

      </fo:table-cell>

      </fo:table-row>

      </fo:table-body>

      </fo:table>



      <fo:block id="terminator" />

      </fo:flow>

      </fo:page-sequence>

      </fo:root>

      </pdf:template>

      </pdf:stylesheet>



      [Non-text portions of this message have been removed]
    • Show all 7 messages in this topic