Zeroth order table Table support.

From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Thu Jun 06 2002 - 00:26:49 EDT

  • Next message: Joaquin Cuenca Abela: "Re: Code Formatting"

    HI Folks,
            Well a bit later than promised but here it is. Zeroth order table
    support. AbiWord can load a table from an *.abw file. Try the attached
    file after this rebuilding from the commit.

    For a screen shot see:

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

    Many, many things don't work yet but at least we now have a proof of
    principle that the layout code works :-)

    The next big job will be to make a table break across multiple pages.

    The table shown has a column spanning two rows and two rows spanning two
    columns.

    After tomorrow I'll be away from the internet for a while but I will have
    my trusty laptop so I expect to make lots of progress on this.

    Cheers!

    Martin

    PS If filter maintainers want to start attempting to load tables from
    their favourite word processor, look at the *.abw file to see what is
    expected.

    You have to provide the span of the cells in the cell properties and
    ternimate cells and tables with a PTX_EndCell and PTX_EndTable struxes.

    See the abiword importer.

    CVS: ----------------------------------------------------------------------
    CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
    CVS:
    CVS: Committing in .
    CVS:
    CVS: Modified Files:
    CVS: src/text/fmt/xp/fl_BlockLayout.cpp
    CVS: src/text/fmt/xp/fl_ContainerLayout.cpp
    CVS: src/text/fmt/xp/fl_ContainerLayout.h
    CVS: src/text/fmt/xp/fl_DocListener.cpp
    CVS: src/text/fmt/xp/fl_SectionLayout.cpp
    CVS: src/text/fmt/xp/fl_TableLayout.cpp
    CVS: src/text/fmt/xp/fl_TableLayout.h
    CVS: src/text/fmt/xp/fl_TestRoutines.cpp
    CVS: src/text/fmt/xp/fp_Column.cpp src/text/fmt/xp/fp_Column.h
    CVS: src/text/fmt/xp/fp_ContainerObject.h
    CVS: src/text/fmt/xp/fp_Line.cpp
    CVS: src/text/fmt/xp/fp_TableContainer.cpp
    CVS: src/text/fmt/xp/fp_TableContainer.h
    CVS: src/text/ptbl/xp/pt_PT_InsertStrux.cpp
    CVS: src/wp/impexp/xp/ie_imp_AbiWord_1.cpp
    CVS: src/wp/impexp/xp/ie_imp_XML.cpp
    CVS: ----------------------------------------------------------------------
    Zeroth order table suport! Can load a table from a file.





    This archive was generated by hypermail 2.1.4 : Thu Jun 06 2002 - 00:28:22 EDT