Search found 4 matches

by cwenet
Fri Apr 13, 2007 4:03 pm
Forum: Support
Topic: RTf to XML
Replies: 1
Views: 8076

RTf to XML

Hi, I want to export rtf to xml. The RTF comes from word. There is a paragraph named U1. If I load the rtf to trichview the paragraph looks good. In the XML files the paragraph looks like this: <text textstyle="Font Style" parastyle="Paragraph Style">MyHeadingText</text> But I need something like ...
by cwenet
Sun Apr 30, 2006 10:02 am
Forum: Support
Topic: TABS TRichViewEdit V1.9.23.1
Replies: 1
Views: 8490

Ok, I have solved:

Code: Select all

var ParaStyle: TParaInfo;
begin
paraStyle := TParaInfo.Create(nil);
  parastyle.Tabs.Clear;

  with paraStyle.Tabs.Add do begin
    align := rvtaLeft;
    leader := '.';
    position := 120;
    end;
Christoph
by cwenet
Sat Apr 29, 2006 5:51 pm
Forum: Support
Topic: Marking Tabs
Replies: 1
Views: 8766

Marking Tabs

Hi,

with this I want mark tabs:

Code: Select all

richedit.SetSelectionBounds(0,richedit.GetOffsBeforeItem(0),0,richedit.GetOffsBeforeItem(0));
  while richedit.SearchText(#9, [rvseoDown]) do
   richedit.ApplyTextStyle(4);
But it doesn't work.

How can I do this ?

regards
Christoph
by cwenet
Sat Apr 29, 2006 11:58 am
Forum: Support
Topic: TABS TRichViewEdit V1.9.23.1
Replies: 1
Views: 8490

TABS TRichViewEdit V1.9.23.1

Hi, how can I add tabs while runtime. I have to set 4 tabs. This is the first. RVStyle1.ParaStyles[0].Tabs[0].Align := rvtaLeft; RVStyle1.ParaStyles[0].Tabs[0].Leader := '.'; RVStyle1.ParaStyles[0].Tabs[0].position := 60; topedit.ApplyParaStyle(0); But there is an item maximum error. Please help ...