RTF table problem
Posted: Wed Jul 01, 2009 1:53 pm
Hi,
I posted my customer's RTF in http://www.sendspace.com/file/atfr9x
When I load it with
RichViewEdit.LoadRTF('test_31c.rtf');
RichViewEdit.Format;
column sizes are damaged.
First line in Word's first column contains "Small, build your own".
First line in RichViewEdit first column contains only "Small, buid".
Is there any workaround to get a normal view for this RTF?
Thank you,
Mahris
P.S. An interesting additional feature. Let us consider the following steps.
I open the rtf in Word and save as doc.
Now, in program I do the following:
RVOfficeConverter.ImportRTF('test_31c.doc',3);
RVOfficeConverter.Stream.Position:=0;
RichViewEdit.LoadRTFFromStream(RVOfficeConverter.Stream);
RichViewEdit.Format;
And everything is OK in RichViewEdit.
(Of course, converter 3 is specific to my environment. It is Word 97-2002).
I posted my customer's RTF in http://www.sendspace.com/file/atfr9x
When I load it with
RichViewEdit.LoadRTF('test_31c.rtf');
RichViewEdit.Format;
column sizes are damaged.
First line in Word's first column contains "Small, build your own".
First line in RichViewEdit first column contains only "Small, buid".
Is there any workaround to get a normal view for this RTF?
Thank you,
Mahris
P.S. An interesting additional feature. Let us consider the following steps.
I open the rtf in Word and save as doc.
Now, in program I do the following:
RVOfficeConverter.ImportRTF('test_31c.doc',3);
RVOfficeConverter.Stream.Position:=0;
RichViewEdit.LoadRTFFromStream(RVOfficeConverter.Stream);
RichViewEdit.Format;
And everything is OK in RichViewEdit.
(Of course, converter 3 is specific to my environment. It is Word 97-2002).