Article Details
Id:16341
Product:finPOWER Connect
Type:NEW
Version:3.02.02
Opened:10/09/2019
Closed:16/09/2019
Released:17/09/2019
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.