Einhugur OpenDocument Text Plugin for Xojo

Container.AppendParagraph Method

Appends paragraph at back of the container, creating one run for the string passed in with this method.

AppendParagraph(
   value as String) as EinhugurODT.Paragraph

Parameters

value
Text to put in the first run of the paragraph.

Returns

EinhugurODT.Paragraph
Reference to the newly created paragraph.

Remarks

Note that in the OpenDocument Text format then a Paragraph can exist with text data having no runs on it at all. So if you add run to the paragraph after calling this method then after adding run the Paragraph will have 2 runs but before adding run it will have zero runs. This is because the text without run gets converted to runs when adding 2nd run.

See Also

Container Class