trichview.com

trichview.support




Re: Increase indent and bullets


Return to index


Author

Message

Sergey Tkachenko

Posted: 12/03/2004 15:16:15


First, what is Increase and Decrease Indent for bullets?

Two answers are possible

(1) promoting/demoting list level

(2) increasing/decreasing MarkerIndent and LeftIndent properties for them


ApplyListStyle either set list of all selected paragraphs to the specified

value, or (if the second parameter = -1), do not change list level for

existing lists. So it cannot be used for increasing/decreasing.

Use ChangeListLevel for that.


How it's implemented in RichViewActions:


RichViewActions use method (1), actions for changing indents do not modify

MarkerIndent and LeftIndent.

They perform two operations - changing LeftIndent of paragraphs using

ApplyParaStyleConversion (this operation affects non-bulleted paragraphs),

and calling ChangeListLevel (this operation affects bulleted paragraphs).





> Decrease and Increase indent not applicable for bullets ?

>

> ApplyListStyle(CreateBullets,0,0,False,False)

>

>





Powered by ABC Amber Outlook Express Converter