trichview.com

trichview.support




Re: Change bullet styles on air while pasting something from a rtf document


Return to index


Author

Message

Sergey Tkachenko

Posted: 05/15/2003 17:51:08


Yes, when reading Word6/richedit RTF, properties of markers are not

completely known until reading the end of paragraph.

FormatString and font are defined in ListStyles. New list styles are added

at the end of RVStyle.ListStyles.

You can compare a number of styles before and after RTF loading, and new

styles in OnChange (you'll need to reformat document if you'll change

formatstring or font)


> Hi there,

>

> Is there a way to change the bullet levels' formatstring and fonts on air

> while pasting something to a richviewedit?

>

> I tried OnItemAction when "ItemAction = rviaInserted" but not working

> because I'm always TRVMarkerItemInfo(Item).GetLevelInfo is always turning

> "nil". I tried to change all different ListLevels' values to my default

but

> that time after calling format I'm getting a different shape than I've

set.

> I think it is something from the previous font of ListLevel.

>

> I will be glad if someone there can help me.

>

> Best regards,

>

> Cagatay DOGAN

> [email protected]

>

>





Powered by ABC Amber Outlook Express Converter