Text Suite
472
Syntax
outline demote paragraph Required. An expression that returns a paragraph or list of paragraph
objects.
Example
This example demotes the selected paragraphs.
outline demote paragraphs of selection
This example demotes the third paragraph in the active document.
outline demote paragraph 3 of active document
Command: outline demote to body
Demotes the specified paragraph or paragraphs to body text by applying the Normal style.
Syntax
outline demote to body paragraph Required. An expression that returns a paragraph or list of
paragraph objects.
Example
This example demotes the selected paragraphs to body text by applying the Normal style.
outline demote to body paragraphs of selection
This example switches the active window to outline view and demotes the first paragraph in the
selection to body text.
set view type of view of active window to outline view
outline demote to body paragraph 1 of selection
Command: outline promote
Applies the previous heading level style (Heading 1 through Heading 8) to the specified paragraph
or paragraphs. For example, if a paragraph is formatted with the Heading 2 style, this command
promotes the paragraph by changing the style to Heading 1.
Syntax
outline promote paragraph Required. An expression that returns a paragraph or list of
paragraph objects.
Example
This example promotes the selected paragraphs.
outline promote paragraphs of selection
This example switches the active window to outline view and promotes the first paragraph in the
active document.
set view type of view of active window to outline view
outline promote paragraph 1 of active document