Commit: Undoable Header/Footers plus Box while editting.


Subject: Commit: Undoable Header/Footers plus Box while editting.
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Tue Mar 20 2001 - 07:43:02 CST


Inserting Header/Footers is now undoable. I had to invent a new
PTX_SectionHdrFtr strux type. Now you can insert a header/footer by
inserting a PTX_SectionHdrFtr strux. It is much easier to undo this than
the other way (which still works) which is to change a DocSectionLayout to
HdrFtrSectionLayout.

Also a box appears around the header/footer
upon editting. This box only appears around the header/footer containing
the insertion point.

There is a weird bug with this that I haven't fixed yet. If you try
to enter text before the page number field on any other than the first
page you get a segfault if the field is in the first position in a
paragraph. Somehow there is a run that's not getting an AttProp's pointer
correctly.

Next: Double click in the header/footer region to insert a header/footer.

More thoughts on header/footer UI to follow.

Enjoy!

Martin

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_BlockLayout.h
CVS: src/text/fmt/xp/fl_DocLayout.cpp
CVS: src/text/fmt/xp/fl_DocListener.cpp
CVS: src/text/fmt/xp/fl_Layout.cpp src/text/fmt/xp/fl_Layout.h
CVS: src/text/fmt/xp/fl_SectionLayout.cpp
CVS: src/text/fmt/xp/fl_SectionLayout.h
CVS: src/text/fmt/xp/fp_Column.cpp src/text/fmt/xp/fp_Column.h
CVS: src/text/fmt/xp/fv_View.cpp src/text/fmt/xp/fv_View.h
CVS: src/text/ptbl/xp/pf_Frag_Strux_Section.cpp
CVS: src/text/ptbl/xp/pf_Frag_Strux_Section.h
CVS: src/text/ptbl/xp/pf_Frag_TestRoutines.cpp
CVS: src/text/ptbl/xp/pt_PT_DeleteSpan.cpp
CVS: src/text/ptbl/xp/pt_PT_DeleteStrux.cpp
CVS: src/text/ptbl/xp/pt_PT_InsertStrux.cpp
CVS: src/text/ptbl/xp/pt_PieceTable.cpp src/text/ptbl/xp/pt_Types.h
CVS: src/wp/ap/xp/ap_EditMethods.cpp
CVS: src/wp/impexp/xp/ie_exp_AbiWord_1.cpp
CVS: src/wp/impexp/xp/ie_exp_Applix.cpp
CVS: src/wp/impexp/xp/ie_exp_DocBook.cpp
CVS: src/wp/impexp/xp/ie_exp_HTML.cpp
CVS: src/wp/impexp/xp/ie_exp_LaTeX.cpp
CVS: src/wp/impexp/xp/ie_exp_MsWord_97.cpp
CVS: src/wp/impexp/xp/ie_exp_Psion.cpp
CVS: src/wp/impexp/xp/ie_exp_RTF_listenerGetProps.cpp
CVS: src/wp/impexp/xp/ie_exp_RTF_listenerWriteDoc.cpp
CVS: src/wp/impexp/xp/ie_exp_Text.cpp
CVS: src/wp/impexp/xp/ie_exp_UTF8.cpp
CVS: src/wp/impexp/xp/ie_exp_WML.cpp
CVS: ----------------------------------------------------------------------
 



This archive was generated by hypermail 2b25 : Tue Mar 20 2001 - 07:43:11 CST