Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introducedin
8.6.1
8.6.1
Description

Excerpt

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).

Signature
C#
C#
<table class="diffwysiwyg-macro"><thead><tr><th class="diffdata-macro-titlename=">unmigratedunmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diffmarkup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&amp;locale=en_GB&amp;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></tbody></table>
Signature
vb.net
vb.net

<p>Public Property LineBreaksToParagraphs() As Boolean</p>

...

Example
Code Block
csharp
csharp
titleC#
            WordTemplate WordTempl = new WordTemplate();
          WordTempl.LineBreaksToParagraphs = true;
        
Code Block
vb.net
vb.net
titlevb.net
            Dim WordTempl As New WordTemplate()
          WordTempl.LineBreaksToParagraphs = True