Re: possible piece table bug


Subject: Re: possible piece table bug
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Tue Jun 05 2001 - 19:24:51 CDT


Hi Hub,
        That call can only safely be made after the the PieceTable has
finished loading. Loads are done via "append" and populate methods. These
do not do all the extra stuff to keep the PieceTable consistent during
file loads to speed things up.

Regarding you question about Header/Footers I'm afraid you'll have to
store header/footers in some data structure until the rest of the document
has loaded then do appendStrux's on the data structures to store the
header/footers.

I think the bext way to do this is to save the raw RTF text inside the
header/footer definition as regular RTF text in a special buffer. When the
rest of the document has loaded, run this text back through RTF importer
with the appropriate section tags before and after each chunk of RTF text.

I believe that that it should be possible to do this without too much
effort since the RTF importer can stream from at least two source
already. (The clipboard and a file.)

Good Luck!

Martin

On Wed, 6 Jun 2001, Hubert Figuiere wrote:

>
> can somebody with Piece Table knowledge have a look at this bug:
> http://bugzilla.abisource.com/show_bug.cgi?id=1514
>
>
> Thanks
>
> Hub
>
>



This archive was generated by hypermail 2b25 : Tue Jun 05 2001 - 19:25:56 CDT