[ 
https://issues.apache.org/jira/browse/FOR-1102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Williams updated FOR-1102:
------------------------------

    Fix Version/s: 0.10
                       (was: 0.9-dev)

Deferring til next release.

> Odt plugin does not manage tables correctly
> -------------------------------------------
>
>                 Key: FOR-1102
>                 URL: https://issues.apache.org/jira/browse/FOR-1102
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.odt
>    Affects Versions: 0.9-dev
>            Reporter: Cyriaque Dupoirieux
>             Fix For: 0.10
>
>
> The intermediate format generated for tables with the Odt input plugin is 
> inherited from the 
> org.apache.forrest.plugin.input.odt/resources/stylesheets/common/odt_to_xhtml.xsl
>  style sheet and is far from Xdoc format.
> The genereted HTML page is a table because HTML tags are correct but the 
> table layout is not applied.
> Something like the following is generated as intermdiate format :
> <table class="Tableau1">
>   <colgroup>
>     <col class="Tableau1_A"/>
>     <col class="Tableau1_B"/>
>     <col class="Tableau1_C"/>
>     <col class="Tableau1_D"/>
>   </colgroup>
>   <tbody>
>     <tr>
>       <td class="Tableau1_A1">
>         <p><strong><em>Jeu</em></strong>
>         </p>
>       </td>
>       <td class="Tableau1_A1">
>         <p><strong><em>Emulateur</em></strong></p>
>       </td>
>       <td class="Tableau1_A1">
>         <p><strong><em>Etat</em></strong></p>
>       </td>
>       <td class="Tableau1_A1">
>         <p><strong><em>Commentaires</em></strong></p>
>       </td>
>     </tr>
>     <tr>
>         <td class="Tableau1_A1">
>           <p>Ultima I</p>
>         </td>
>         <td class="Tableau1_A1">
>           <p><link href="http://sourceforge.net/projects/ultima-java/"; 
> target="_blank">ultima-java</link></p>
>         </td>
>         <td class="Tableau1_A1">
>           <p>Inachevé</p>
>         </td>
>         <td class="Tableau1_A1">
>           <p>Emulateur java</p>
>         </td>
>       </tr>
>     </tbody>
> </table>
> Furthermore, if used with the pdf plugin the following error occurs :
>     
>     ERROR - Ignoring property: number-columns-repeated="NaN" (No conversion 
> defined NaN; property:'number-columns-repeated')
>     WARN - Mismatch: table-body (http://www.w3.org/1999/XSL/Format) vs. flow 
> (http://www.w3.org/1999/XSL/Format)
>     WARN - Mismatch: table-body (http://www.w3.org/1999/XSL/Format) vs. 
> page-sequence (http://www.w3.org/1999/XSL/Format)
>     WARN - Mismatch: table-body (http://www.w3.org/1999/XSL/Format) vs. root 
> (http://www.w3.org/1999/XSL/Format)
> I think it would be simple to correct this, my problem is do we have to 
> update the common style sheet or is it better to correct the 
> odt-to-forrest-xhtml.xsl ?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.