commit: export vertical merged cells, nested tables to RTF.

From: Martin Sevior (msevior@physics.unimelb.edu.au)
Date: Sun Sep 15 2002 - 21:13:05 EDT

  • Next message: Martin Sevior: "commit: Delete Table"

    CVS:
    ----------------------------------------------------------------------
    CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
    CVS:
    CVS: Committing in .
    CVS:
    CVS: Modified Files:
    CVS: src/wp/impexp/xp/ie_exp_RTF_listenerWriteDoc.cpp
    CVS:
    ----------------------------------------------------------------------
    export vertical merged cells, nested tables.

    MicroSoft has no idea how to design specs. Look at this description of
    where table properties should go in 1.6 of the RTF spec.

    "Note that while Word 97 emitted the row properties (<tbldef>) at the
    beginning of the row, a reader should not assume that this is the case.
    Properties can be emitted at the end and in fact Word 2000 does this. To
    avoid breaking readers that might make the aforementioned assumption
    Word 2000 will write a copy at the beginning as well, so the properties
    of a typical row in a Word 2000 document are repeated at the beginning
    and at the end of the row. Note that for nested cells Word 2000 only
    writes the properties at the end."

    So Word 2000 emits properties at the beginning and end of a row, except
    for nested cells.

    BAH.

    Anyway, Word 2000 recognizes our tables now. see:

    http://www.ph.unimelb.edu.au/~msevior/abiword/abi_ms_table.png

    Cheers!

    Martin



    This archive was generated by hypermail 2.1.4 : Sun Sep 15 2002 - 21:25:08 EDT