NEW3.02.02 · Released 17 September 2019
NEWfinPOWER Connect
Released in
3.02.02
17 September 2019
  1. Opened10 Sep
  2. Closed16 Sep
  3. Released17 Sep
Article 16341 Job J022918

Word Documents; new options for formatting paragraphs when inserting an ISSummaryTable

New paragraph formatting options have been added to Word Documents when inserting an ISSummaryTable.

This means you have better control over line spacing and spacing before and after paragraphs.

Note, paragraph formatting can be applied at individual cell level or on the summary table itself. Properties in the new ParagraphFormat object are nullable, and if not set will not be used.

The example code below illustrates these new properties

With SummaryTable.WordDocumentOptions.ParagraphFormat
  .KeepLinesTogether = True
  .LineSpacing = 1
  .SpaceBefore = 0
  .SpaceAfter = 0
End With

Note, SummaryTable.WordDocumentOptions.ParagraphKeepLinesTogether has been obsoleted and you should now use SummaryTable.WordDocumentOptions.ParagraphFormat.KeepLinesTogether.