Introduced in build 8.6.1
Description
Gets or sets whether line breaks in data will result in a new paragraph after processing the WordTemplate. This property only has an affect on OOXML Word documents (.docx, .dotx, etc).C#
<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>
public boolean LineBreaksToParagraphs{ get; set; }
</pre></td></tr></table>vb.net
<p>Public Property LineBreaksToParagraphs() As Boolean</p>
Remarks
If set totrue, new lines in data will be treated as new paragraphs by the WordTemplate object when inserting into the document. If set to false, new lines in data will be inserted as soft-breaks in Word. LineBreaksToParagraphs must be set before calling Open
Examples
C#
WordTemplate WordTempl = new WordTemplate();
WordTempl.LineBreaksToParagraphs = true;
vb.net
Dim WordTempl As New WordTemplate()
WordTempl.LineBreaksToParagraphs = True
