Re: Commit (HEAD): WordPerfect Table Import

From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Sun Jul 07 2002 - 20:14:44 EDT

  • Next message: j.m.maurer: "Re: Commit (HEAD): WordPerfect Table Import"

    On Mon, 8 Jul 2002, j.m.maurer wrote:

    > As a knight of the Right-Table lead by King Martur, I humbly commit
    > WordPerfect Table Import in thou CVS repository.
    >
    > Proof of Concept:
    >
    > Document as seen in WordPerfect:
    > http://pinohuis.dhs.org/uwog/wp_tabletest.jpg
    >
    > Document as opened in AbiWord:
    > http://pinohuis.dhs.org/uwog/wp_tabletest_abw.jpg

    Congratulations Marc!

    >
    > Martin: notice the difference in margins in AbiWord for the 1st and the
    > 2nd table rows. Could you fix that?
    >
    > Martin Again: what's up with all the differtent table and cell closing
    > tags, like </cell>, <endcell>, </endcell>, </table>, <endtable> and
    > </endtable>? Just making sure they are closed? :-)
    >

    All those extra tags necessary. AbiWord's Table structure in the piece
    table is as follows.

    <Table Strux "properties of the table">
    <Cell Strux "properties of the cell">
    .
    .
    .
    Content of the cell
    .
    .
    <End Cell Strux>
    <Cell Strux "properties of the cell">
    .
    .
    .
    Content of the cell
    .
    .
    <End Cell Strux>
    <Cell Strux "properties of the cell">
    .
    .
    .
    Content of the cell
    .
    .
    <End Cell Strux>
    <End Table strux>

    each of those strux's needs it's own combination of <strux> .... </strux>
    combination.

    Though Dom made the end strux's more sane by just putting in <endcell />
    instead of <endcell></endcell>

    Anyway it basically just XML. Congratulations once again on your very
    quick work. I'll check out want went wrong with the height lines of the
    first and second cell. I suspect it is a small calculation error. I didn't
    test the code with such a small table :-)

    Cheers!

    Martin

    PS. Now where are all these MS Word import experts when you need them?



    This archive was generated by hypermail 2.1.4 : Sun Jul 07 2002 - 20:19:15 EDT