insertParagraph method

This method inserts a paragraph before or after a table or section.

Defined in

TextRange

Syntax

public TextParagraph insertParagraph(Object tableOrSection, boolean before) throws SymphonyException

Parameters

Object tableOrSection

Specifies where the new paragraph to be inserted. Only a TextTable or TextSection object can be used as the argument, otherwise this method throws an exception.

boolean before

Specifying true means to insert the paragraph before the parameter tableOrSection. Specifying false means to insert the paragraph after the parameter tableOrSection.

Return Value

paragraph

A TextParagraph object that represents a paragraph.

See examples

Example: insertParagraph method