Ben Langhinrichs

Photograph of Ben Langhinrichs

E-mail address - Ben Langhinrichs







Recent posts

Tue 19 May 2020

An unladen user



Thu 7 May 2020

Can we get a huzzah for updated Domino Limits?



Wed 29 Apr 2020

A bigger boat: when in Rome


July, 2020
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 30 31

Search the weblog





























Genii Weblog

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

Tue 19 Sep 2006, 11:33 PM



by Ben Langhinrichs
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