TCustomRichView.LoadRTFFromStream Slowness
Posted: Tue Jul 15, 2008 2:09 am
Hello All
I'm using TRichView v 1.9.24 with Turbo Delphi 2006 to display rtf document via LoadRTFFromStream. For a particular document, it is 2M is size and 1.8M of which seems to be header information for fonts, lists, etc. When trying to load this document, it took 5-6 minutes in TRVRTFReader.Parse. I loaded the same document in another non Delphi rtf viewer, it took no time to display it.
Any ideas/suggestions for this?
Thanks
I'm using TRichView v 1.9.24 with Turbo Delphi 2006 to display rtf document via LoadRTFFromStream. For a particular document, it is 2M is size and 1.8M of which seems to be header information for fonts, lists, etc. When trying to load this document, it took 5-6 minutes in TRVRTFReader.Parse. I loaded the same document in another non Delphi rtf viewer, it took no time to display it.
Any ideas/suggestions for this?
Thanks