Re: Hdr/Ftr & resizing


Subject: Re: Hdr/Ftr & resizing
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Mon Mar 26 2001 - 19:06:32 CST


On Mon, 26 Mar 2001 jskov@zoftcorp.adsl.dk wrote:

>
> 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.
>

Thanks VERY much for this Jesper. I suspected something like this was
happenning. This description of the problem really helps nail it down.

I'll get on it (almost) right away. First I've got to put the bullet
symbol back.

Cheers

Martin
 



This archive was generated by hypermail 2b25 : Mon Mar 26 2001 - 19:09:33 CST