Problems with tables that I import as part of an RTF documet

General TRichView support forum. Please post your questions here
Post Reply
Pablito
Posts: 2
Joined: Wed Oct 04, 2006 9:43 am

Problems with tables that I import as part of an RTF documet

Post by Pablito »

When I import tables that are parts of RTF documents I lose vertical alignment of text. What is the reason and how can I solve this problem?! Help me! I use Delphi.
Pablito
Posts: 2
Joined: Wed Oct 04, 2006 9:43 am

Post by Pablito »

And can I in such a way make the second row text verticle in my table after import:

procedure TfrmMain.N1Click(Sender: TObject);
var
i, ItemNo, ParaNo: Integer;
table: TRVTableItemInfo;
begin
try
ItemNo := RichViewEdit1.ItemCount;
for i:=0 to ItemNo-1 do
if RichViewEdit1.GetItemStyle(i)=rvsTable then
begin
ParaNo := i;
system.break;
end;
table := TRVTableItemInfo(RichEdit.GetItem(ParaNo));
table.SetRowVAlign(rvcBottom, 1);
RichViewEdit1.Change;
end;
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, vertical text is not supported.
Post Reply