I can write a CRichText to a file, and later read it, but I seem to be unable to delete it completely from the file:
iStore is a CFileStore* opened on a file
iRichText is a CRichText*
I can store the richtext to the file with:
TStreamId streamId = iRichText->StoreL(*iStore);
I can read the richtext from the file with:
I have tried this to remove the richtext from the file:
But it seems that richtext formatting information is still present in the file after the DeleteL, as I can see from the size of this file and if I look at it with a text editor (e.g. remaining names of fonts), even after a CompactL() operation. What is missing here?