You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Francisco García <fg...@corpme.es> on 2003/06/05 10:43:46 UTC

can I use ?

Hello.

I use <fo:table-header> in a table, but i get:

Error: org.apache.fop.apps.FOPException: Currently only Table Rows are supported in table body, header and footer 

My code is: 

<fo:table-header>
 <fo:table-row>
    <fo:table-cell>
        <fo:block text-align="center"> Registro</fo:block>
  </fo:table-cell>
<fo:table-cell>
    <fo:block text-align="center">Municipio</fo:block>
</fo:table-cell>
</fo:table-row> 
</fo:table-header>
I have FOP 0.20.4

Thanks.

Francisco.


R: can I use ?

Posted by Roberto Bonsignori <bo...@caribel.pisa.it>.
I use it as:

<fo:table>
<fo:table-header>
  <fo:table-row>
    <fo:table-cell>
        <fo:block text-align="center"> Registro</fo:block>
    </fo:table-cell>
    <fo:table-cell>
        <fo:block text-align="center">Municipio</fo:block>
    </fo:table-cell>
  </fo:table-row>
</fo:table-header>
<fo:table-body>
    ... table rows ...
</fo:table-body>
<fo:table>

-----Messaggio originale-----
Da: Francisco García [mailto:fgleal@corpme.es]
Inviato: giovedì 5 giugno 2003 10.44
A: fop-user@xml.apache.org
Oggetto: can I use <fo:table-header>?


Hello.

I use <fo:table-header> in a table, but i get:

Error: org.apache.fop.apps.FOPException: Currently only Table Rows are
supported in table body, header and footer

My code is:

<fo:table-header>
 <fo:table-row>
    <fo:table-cell>
        <fo:block text-align="center"> Registro</fo:block>
  </fo:table-cell>
<fo:table-cell>
    <fo:block text-align="center">Municipio</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-header>
I have FOP 0.20.4
Thanks.
Francisco.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


RE: can I use ?

Posted by Torsten Erler <To...@net-linx.com>.
move table header out of the body:


<fo:table-header>
 <fo:table-row>
    <fo:table-cell/>
 <fo:table-row>
</fo:table-header>
<fo:table-body>
 <fo:table-row>
    <fo:table-cell/>
 <fo:table-row>
</fo:table-body>

cu Torsten
-----Original Message-----
From: Francisco García [mailto:fgleal@corpme.es]
Sent: Donnerstag, 5. Juni 2003 10:44
To: fop-user@xml.apache.org
Subject: can I use <fo:table-header>?


Hello.

I use <fo:table-header> in a table, but i get:

Error: org.apache.fop.apps.FOPException: Currently only Table Rows are
supported in table body, header and footer

My code is:

<fo:table-header>
 <fo:table-row>
    <fo:table-cell>
        <fo:block text-align="center"> Registro</fo:block>
  </fo:table-cell>
<fo:table-cell>
    <fo:block text-align="center">Municipio</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-header>
I have FOP 0.20.4
Thanks.
Francisco.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org