commit: Cut and Paste Lists plus other list improvements.


Subject: commit: Cut and Paste Lists plus other list improvements.
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Mon Jan 29 2001 - 18:05:07 CST


Beta code to cut and paste lists. Plus lots of work to imporove speed
in multi-level lists and to improve undo's. Arbitarily weird lists can be
cut and undone.

Cuts and pastes on sane list structures work. Pasting a bullet list into a
numbered list truns the bullet list into a numbered list.

I need to improve memory useage by turning an array of structures into a
Vector of a classes.

This code extends rtf by using a {/*/abilist } construct. This way I can
be sure all the information needed by abi is easily available during
pastes and imports.

Saving an abi file to *.rtf consequently gives zero loss of list
information. The Abi list strcuture can be contorted into the rtf
specification but the model assumed by the spec is totally different from
our list model. (Ours is much more elegant.) I spent a long time trying to
work out a clean way of doing this but in the end I decided it was better
to get cutting and pasting working first. The contorting into the rtf spec
can happen later.

The upshot is that right now other apps that read rtf will not ignor our
list definitions.

This can be fixed later.

Martin

CVS:
----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: abi/src/text/fmt/xp/fl_AutoLists.h
CVS: abi/src/text/fmt/xp/fl_AutoNum.cpp
CVS: abi/src/text/fmt/xp/fl_AutoNum.h
CVS: abi/src/text/fmt/xp/fl_BlockLayout.cpp
CVS: abi/src/text/fmt/xp/fv_View.cpp
CVS: abi/src/text/ptbl/xp/pd_Document.cpp
CVS: abi/src/text/ptbl/xp/pd_Document.h
CVS: abi/src/text/ptbl/xp/pt_PieceTable.cpp
CVS: abi/src/wp/impexp/xp/ie_exp_RTF_listenerWriteDoc.cpp
CVS: abi/src/wp/impexp/xp/ie_imp_AbiWord_1.cpp
CVS: abi/src/wp/impexp/xp/ie_imp_RTF.cpp
CVS: abi/src/wp/impexp/xp/ie_imp_RTF.h psiconv/stamp-h.in
CVS:
----------------------------------------------------------------------



This archive was generated by hypermail 2b25 : Mon Jan 29 2001 - 18:05:20 CST