begin
if not R.ImportRTF('d:\t\1.doc' , n{4}) then ShowMessage('import');
R.Stream.Position:= 0;
RR.Clear;
if not RR.LoadRTFFromStream(R.Stream) then ShowMessage('load');
R.Stream.SetSize(0);
end;
ok. I found possible bug: if i import file to Richviewedit, not same styles applied to lines in file. Some styles the same, some not. 'Styles' prop is the same (in RV, RVE). I can send .doc file
First, make sure that properties of RR allows adding new styles when importing RTF.
RR.RTFReadProperties.TextStyleMode must be equal to RR.RTFReadProperties.ParaStyleMode must be equal to rvrsAddIfNeeded.
If they are equal, but the problem still exists, send this doc to me to richviewgmailcom.