The ParagraphStyle class defines a formatting style for paragraphs.

Syntax

ParagraphStyle

Introduced: X18.

Methods

Method Description
getBaseStyle Gets the FormattingStyle which is the base style of this style.
(Inherited from FormattingStyle)
getBaseline Gets the baseline alignment, in twips, of the style.
(Inherited from FormattingStyle)
getBold Gets the bold attribute of the style.
(Inherited from FormattingStyle)
getFollowingStyle Gets the name of the style that the document automatically uses for the following paragraph after the user has pressed the ENTER key.
getFontName Gets the font of the style.
(Inherited from FormattingStyle)
getFontSize Gets the font's size of the style.
(Inherited from FormattingStyle)
getForeColor Gets the style's color used to display the text.
(Inherited from FormattingStyle)
getItalic Gets the italic attribute of the style.
(Inherited from FormattingStyle)
getName Gets the name of the style.
(Inherited from FormattingStyle)
getParagraphFormat Gets the style's paragraph attributes.
getStrikeout Gets the strikeout attribute of the style.
(Inherited from FormattingStyle)
getTextBackColor Gets the style's text background color.
(Inherited from FormattingStyle)
getUnderline Gets the underlining styles for the style.
(Inherited from FormattingStyle)
setBaseline Sets the baseline alignment, in twips, of the style.
(Inherited from FormattingStyle)
setBold Sets the bold attribute of the style.
(Inherited from FormattingStyle)
setFollowingStyle Sets the name of the style that the document automatically uses for the following paragraph after the user has pressed the ENTER key.
setFontName Sets the font of the style.
(Inherited from FormattingStyle)
setFontSize Sets the font's size of the style.
(Inherited from FormattingStyle)
setForeColor Sets the style's color used to display the text.
(Inherited from FormattingStyle)
setItalic Sets the italic attribute of the style.
(Inherited from FormattingStyle)
setName Sets the name of the style.
(Inherited from FormattingStyle)
setStrikeout Sets the strikeout attribute of the style.
(Inherited from FormattingStyle)
setTextBackColor Sets the style's text background color.
(Inherited from FormattingStyle)
setUnderline Sets the underlining styles for the style.
(Inherited from FormattingStyle)