Adds a new section at the current text input position. The new section ends at the end position of the section containing the input position. If a new section is inserted in a paragraph or table, the paragraph or table is split into two paragraphs or tables.
<void> SectionCollection.add(<SectionBreakKind> sectionBreakKind, [<RequestBooleanCallback> callback], [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
section |
Specifies the kind of section's break. |
callback | Optional. Receives whether the section could be added. |
error |
Optional. Is called when the operation failed with an error. |