Ben Langhinrichs

February, 2012
SMTWTFS
   01 02 03 04
05 06 07 08 09 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29

Search the weblog




The Absent-Minded Muse
Creative Commons attribuution tnarik



My Comfy Chair

Genii Weblog

Briefly noted: Merged cells is one win for Open XML over ODF

Tue 19 Sep 2006, 11:33 PM



If there is one item where Office Open XML (OOXML) is clearly better than ODF, it is in the area of merged table cells.  Both Office Open XML and ODF support merged table cells, and they both handle merged columns (horizontal merging) in a somewhat similar manner which is also similar to HTML's COLSPAN attribute.  But merged rows (vertical merging) is an absolute disaster in ODF.  To quote a description from the on-line OASIS OpenDocument Essentials - Chapter 4:

Cells that span rows are an entirely different story. Rather than a simple table:number-rows-spanned attribute, OpenDocument represents the cells on either side of the large cell as sub-tablesFigure 4.6, “Cells Spanning Rows” shows a table with a cell that spans two rows. As far as OpenDocument is concerned, the table has only two rows. The second row consists of: 
  • A cell that contains a two-by-one subtable
  • An ordinary cell (labelled main 2,2)
  • A cell that spans two columns and contains a two-by-two subtable.

Figure 4.6. Cells Spanning Rows
Sample table with spanned rows
So, a table with four columns and three rows has two cells merged and becomes... a mess.  Ugh

Copyright © 2006 Genii Software Ltd.

What has been said:

No documents found

Have your say:

Name *:
E-mail:
e-mail addresses will not be displayed on this site
Comment *:


<HTML is not allowed>
Linking: Add links as {{http://xxx|title}}, and they will be activated once approved
Blocked? Unable to post a comment? Please read this for a possible explanation...