Page 1 of 1

obtaining listmarker string

Posted: Fri Feb 17, 2006 12:34 pm
by wtrwtr
i created my custom list with custom list marker string (paragraph preceding string) list style (o. oo. ooo. and so on.. i do this manually... )

my question is, how to obtain this string from formatted trichviewedit?
some method to get this str
RichviewEdit.Getxxxx?

example:
content of trichviewedit...

123. bla bla bla bla bla bla
xwe. bla bla bla bla bla bla
111. bla bla bla


how to get text "123." "xwe." and "111." from formatted richview?
it cannot be done using list styles because I dynamically changed its predefined listmarker string...

Posted: Sat Feb 18, 2006 5:44 pm
by Sergey Tkachenko

Code: Select all

uses RVMarker;

TRVListMarkerInfo(RVData.GetItem(ItemNo)).DisplayString
Of course, it is valid only for text types of markers (all but rvlstPicture, rvlstImageList, rvlstImageListCounter,rvlstUnicodeBullet)