OutlineDemote

Syntax

OutlineDemote

Remarks

Applies the next heading level style to the selected headings (Heading 1 through Heading 8) or body text.

Example

This example demotes each paragraph in the document that follows a Heading 2:


StartOfDocument : ViewOutline
EditFindClearFormatting
EditFindStyle .Style = "Heading 2"
EditFind .Find = "", .Direction = 0, .Format = 1, .Wrap = 0
While EditFindFound()
    ParaDown
    OutlineDemote
    EditFind .Direction = 0
Wend

See Also

OutlineMoveDown, OutlinePromote