State of Bidi Addendum (tables and footnotes)

From: Tomas Frydrych (tomas@frydrych.uklinux.net)
Date: Wed Apr 30 2003 - 01:45:33 EDT

  • Next message: Martin Sevior: "Re: State of Bidi Addendum (tables and footnotes)"

    I completely forgot, bidi processing needs to be added to the table
    and footnote/endnote code, both of which is needs to be done before
    2.0.

    A. Tables
    RTL tables need to lay columns from right to left. The layout order
    of the columns should be determined as follows:

    (1) the table checks its 'dom-dir' property ("rtl" or "ltr"); if
    set, the layout is done on its basis, if not,

    (2) check the 'dom-dir' property of the document section containing
    the table; if set, the layout is done on its basis. The
    PP_lookupProperty() function should be used for this, since it
    handles document-level inheritance.

    We will need a GUI to allow the user to set the 'dom-dir' of a table;
    this will require a check-box in the Insert Table dialogue, which
    should be initialized by the value of the 'dom-dir' property of the
    parent document section (or in case of nested tables the parent
    table).

    B. Footnotes/Endnotes
    The code that inserts a note needs to examine the value of the 'dom-
    dir' property of the document section containing the footnote
    reference, and set the 'dom-dir' of the block containing the footnote
    initially to the same value.

    The code that lays out the note should examine the value of the 'dom-
    dir' property of the document section containing the footnote
    reference. If the value is 'rtl' then the footnote number needs to be
    placed to the right of the footnote text.

    Tomas



    This archive was generated by hypermail 2.1.4 : Wed Apr 30 2003 - 01:58:46 EDT