trichview.support
Re: Bug in RichView - merging styles of newly inserted rvf documents. |
Author |
Message |
Sergey Tkachenko |
Posted: 04/28/2003 12:44:06 DoneStyleMapping is a virtual procedure, and it frees and nils mappings in TRichViewRVData's implementation. You cannot free and nil them in TCustomRVData's implementation of DoneStyleMapping - cells are subdocuments, but they use mappings shared with the main document - all cells and the main document use the same instances of mappings, and you cannot destroy it after loading the first cell. As I understand, you load document by Cell.LoadRVF. But unlike RichView.LoadRVF, it does not support style merging. Workaround: see Demos\Delphi\Assorted\Fields\MailMerge2\ demo. It loads document into the hidden RichView linked to the same TRVStyle (styles are merged), then loads in cell (with stylemode = ignore) |
Powered by ABC Amber Outlook Express Converter