Description
Sets the style of all the text's paragraph according to what specified by the schema for the text's type.
Syntax
Text.EditParaStyleAll |
Return value
Error code
Remarks
If the schema specifies that a headline text must contain an 'head' element followed by a 'subhead' element when executing EditParaStyleAll in a text of type headline the first paragraph will be assigned the 'head' format and the second one the 'subhead' format (or the styles corresponding to such elements in the format being used).
If the text does not have enough paragraphs extra ones will be added at the end. If a style is multi-part - ie it needs '@' special characters - and the corresponding paragraph does not contain enough of them extra ones are added at the end of the paragraph itself.
Context
Text designer commands
See also
EditParaStyle, EditParaStyleChain, EditParaStyleChainDlg, EditParaStyleDlg