Hdr/Ftr & resizing


Subject: Hdr/Ftr & resizing
jskov@zoftcorp.adsl.dk
Date: Mon Mar 26 2001 - 14:55:34 CST


Martin, some HdrFtr action is needed in
fl_DocListener::populateStrux. See
http://bugzilla.abisource.com/show_bug.cgi?id=1268

In short: set zoom to 'page'. Add page numbers. All is fine. Change
zoom (you should get the assertion) and the page numbers just vanish.
If you try to add page numbers again, you get a nice segv.

Incidently, that segv happens because
pt_PieceTable::getStruxOfTypeFromPosition fails to find the FmtHandle
of the strux, but still returns true (signalling that the FmtHandle
was found). I thought a bit about adding a check in that function, but
decided against is since the failure at this point is caused by an
invalid document representation - which is already caught by an
assertion in the vector code.

Jesper



This archive was generated by hypermail 2b25 : Mon Mar 26 2001 - 14:55:38 CST