Apache OpenOffice (AOO) Bugzilla – Issue 60238
Vertical merged table result wrongly into a subtable XML structure
Last modified: 2007-01-11 05:17:49 UTC
The output from writer documents containing tables with vertical merged cells saved as xhtml contains TD elements with rowspan attributes. However, if a document is exported to xhtml you get the surrounding cells nested inside a table (tables nested inside tables). The formatting problems are to an extent resolved by the CSS generated but this is not ideal and a bit of a hack. The xsl to transform tables need to be updated to handle vertical merged cells correctly eg use rowspans and don't nest tables within tables
Reassigned to JSI.
changing component to xml
- Changing sub component - Target: XHTML -> OOo Later - Owner: sus
Hi debyld, Can you please attach your test document to this issue. Thanks in advance Svante
Created attachment 34104 [details] Example table with vertical merged cells
sus->debyld: I can reproduce your problem. I am going to attach a ZIP containing the flat ODT XML, the flat OOo XML, which actually is the input of the XSL transformation and the output, which renders badly in Firefox 1.5.1. I can see two issues: 1) the XHTML is badly rendered, although it has been validated against http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd. It would be marvelous if you could file an issue to Mozilla as well. You might use the XHTML from the ZIP as input. 2) There is a subtable in the ODF/OOo XML although the user did not created it explicitly. For this I will move the current issue to the writer. But the XHTML transformation is working as desired. If there is an inner table in the input document, the structure will be reproduced as closed as possible.
Created attachment 34115 [details] ZIP containing the flat OpenOffice.org/OpenDocument XML and XHTML output
sus->mba: In the attached document the OpenDocument XML contains a inner table although this structure was not explicitly created from the user. The default usage of inner table result into problems for people working on with the document file format and should only be taken, when explicitly choosen. Vertical merged cells/columns have to be taken. (discussed with FLR)
.
No action appears to have occurred on this for almost a year. This is a real problem is if you merge rows and want to create the HTML of the document. Can someone please advise on the status of this.
FME->debyld: We are currently implementing the support of rowspans in the Writer core, see i4032. I'll close this one as duplicate. *** This issue has been marked as a duplicate of 4032 ***