Search found 9 matches

by yh01110
Fri Sep 12, 2014 3:47 am
Forum: Support
Topic: How to caculate the current item top-y on the pge ?
Replies: 1
Views: 10100

How to caculate the current item top-y on the pge ?

How to caculate the current item top-y on the pge in the function TSRichViewEdit.PaintPage?
by yh01110
Mon Feb 20, 2012 6:57 am
Forum: Support
Topic: SRVEdit can not support unicode when insert into SVE
Replies: 1
Views: 9322

SRVEdit can not support unicode when insert into SVE

c := TSRVEdit.Create(nil); c.Parent := Panel5;//}SRichViewEdit1.RichViewEdit; c.Name:= 'SRVEdit'; c.Text:=''; c.Color:=clWhite; c.Font.Name :='ËÎÌå'; c.EnabledBorderWidth :=0; SRichViewEdit1.RichViewEdit.InsertControl('teste', c, rvvaAbsMiddle); just use those codes ,but SRVEdit can not surport uni ...
by yh01110
Fri Nov 25, 2011 9:20 am
Forum: Support
Topic: how to insert the document from another SRichViewEdit?
Replies: 3
Views: 13124

SRichViewEdit1.richviewedit.style=rvs , SRichViewEdit4.richviewedit.style= rvs. but the two document has different formt words ,for example SRichViewEdit4.richviewedit.style.textStyles[14] .color is red¡£but SRichViewEdit1.richviewedit.style.textStyles[14].color is black .when i use that code to add ...
by yh01110
Tue Nov 22, 2011 3:27 am
Forum: Support
Topic: how to insert the document from another SRichViewEdit?
Replies: 3
Views: 13124

how to insert the document from another SRichViewEdit?

when i use this code to add the document to the SRichViewEdit1. then SRichViewEdit1's document will be use another rvstyle which SRichViewEdit4 is use. so some word in the document will not display correctly. SRichViewEdit4.RichViewEdit.SaveRVFToStream(Stream, false); stream.Position:=0 ...
by yh01110
Fri Jun 10, 2011 12:54 am
Forum: Support
Topic: how can RichViewEdit document save as *.mht?
Replies: 3
Views: 17385

thank u ! here is my code var itype:integer; str :string; Stream: TMemoryStream; Path, Title, ImagesPrefix, ExtraStyles, ExternalCSS, CPPrefix: String; Options: TRVSaveOptions ; bltype:integer; s2:string; s: TRVRawByteString; boundary: TRVRawByteString; i: Integer; slist:Tstringlist; ss:string ...
by yh01110
Thu Jun 09, 2011 7:06 am
Forum: Support
Topic: how can RichViewEdit document save as *.mht?
Replies: 3
Views: 17385

how can RichViewEdit document save as *.mht?

the *.mht file includes images¡£
by yh01110
Fri Apr 22, 2011 4:14 am
Forum: Support
Topic: select the text item in table using code
Replies: 14
Views: 47172

thanks ,The Problem has been solved .
just add this code

Code: Select all

SRichViewEdit1.ScrollToItem(table.Cells[0,0]),i);
by yh01110
Fri Apr 22, 2011 3:37 am
Forum: Support
Topic: select the text item in table using code
Replies: 14
Views: 47172

for example: table-1 in page-1 and the text item-0 in cell[0,0],the current page is page2.When i use the following code ,the text item-0 can be selected ,but the srichviewedit will not jump to page-1.So i do't know how to write codes to let the srichviewedit jump to the table-1 . TRVTableCellData ...
by yh01110
Thu Apr 21, 2011 1:23 am
Forum: Support
Topic: select the text item in table using code
Replies: 14
Views: 47172

select the text item in table using code

for example : text item in table a
table a in table b
how to select the text item using code. such as

Code: Select all

SRichViewEdit1.ActiveEditor.TopLevelEditor.SetSelectionBounds