PATCH: WordPerfect lists

From: William Lachance (wlach@interlog.com)
Date: Sat Jun 08 2002 - 22:27:28 EDT

  • Next message: j.m.maurer: "Commit (HEAD): PATCH: WordPerfect lists"

    Here's a patch which is a start at importing lists from WordPerfect into
    AbiWord. It supports both numbered and bulleted lists, with multiple levels
    of nesting.

    There are some issues regarding nested lists here. With WordPerfect, you can
    have lists of the following format:

    1.
            i.
                    a.

    AbiWord doesn't support these, and gives this type of output when you try to
    do this:

    1.
            1.i.
                    1.i.a.

    This needs to be fixed at some point. The current behaviour that I have set
    is to handle such lists as follows:

    1.
            1.1.
                    1.1.1.

    (as one might expect)

    There's other weirdness involved in the importing process:
    - WordPerfect sets list delimiters "on the fly", instead of in the list
    definition (I get around this by updating AbiWord's list definition on the
    fly, probably a sub-optimal solution).
    - WordPerfect sets custom bullets (e.g.: diamonds instead of circles) on the
    fly. I will look into fixing this later.

    By and large though, the patch improves the usability of AbiWord w.r.t.
    WordPerfect files nicely. I recommend that it only be committed to head
    though (I made the diff against head), to give us time plenty of time to let
    it be thoroughly tested and iron out the kinks, both in the importer and
    AbiWord's (good, but imho far too limited) lists facility.

    Regards,

    William Lachance
    wlach@interlog.com






    This archive was generated by hypermail 2.1.4 : Sat Jun 08 2002 - 21:32:05 EDT