obtaining listmarker string

General TRichView support forum. Please post your questions here
Post Reply
wtrwtr
Posts: 1
Joined: Fri Feb 17, 2006 10:00 am

obtaining listmarker string

Post 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...
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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)
Post Reply