LoadRTF containing a table into idented paragraph
Posted: Mon Jun 09, 2008 9:09 am
Hi,
I'm currently having some trouble when loading an RTF containing a table into a document that has indentation.
Code snippit:
The problem occurs when a user has an indented paragraph, and attempts to insert an RTF containing a table.
The table's values get wrapped.
Is there a way to correctly add the table (indented) without changing its appearance?
Thanks.
I'm currently having some trouble when loading an RTF containing a table into a document that has indentation.
Code snippit:
Code: Select all
RichViewEdit1->RTFReadProperties->ParaStyleMode = rvrsUseSpecified;
RichViewEdit1->RTFReadProperties->ParaStyleNo = iParagraphStyle;
Stream->Position = 0;
RichViewEdit1->LoadRTFFromStream(Stream);
RichViewEdit1->RTFReadProperties->ParaStyleMode = rvrsAddIfNeeded;
The table's values get wrapped.
Is there a way to correctly add the table (indented) without changing its appearance?
Thanks.