Problem Load RTF File with TSRichViewEdit
Posted: Tue Feb 15, 2011 7:51 pm
Hi,
I try to open a RTF File with TSRichViewEdit and don't open righ.
Enviroment
TSRichViewEdit v3.6.1
IDE Delphi2010
Code for open file
- RTF File Loaded don't show breakpage right way. I open this RTF File with MS Word And looks correct.
- RTF File was build by FastReport Components (TfrxReport + TfrxRTFExport).
- I try Runtime And Desing Time. Don't work
Any Idea?
Thanks
I try to open a RTF File with TSRichViewEdit and don't open righ.
Enviroment
TSRichViewEdit v3.6.1
IDE Delphi2010
Code for open file
Code: Select all
//config SrveEditor =>TSRichViewEdit
SrveEditor.Clear;
SrveEditor.RichViewEdit.DeleteUnusedStyles(true,true,true);
SrveEditor.RTFReadProperties.ReadDocParameters:=true;
SrveEditor.RTFReadProperties.TextStyleMode := rvrsAddIfNeeded;
SrveEditor.RTFReadProperties.ParaStyleMode := rvrsAddIfNeeded;
...
...
...
SrveEditor.RichViewEdit.LoadRTF(OpenDialog1.FileName);
SrveEditor.Format
- RTF File Loaded don't show breakpage right way. I open this RTF File with MS Word And looks correct.
- RTF File was build by FastReport Components (TfrxReport + TfrxRTFExport).
- I try Runtime And Desing Time. Don't work
Any Idea?
Thanks