Function TWPSuperMerge.ConvertLetterIntoTemplate : TParagraph

Unit: WPRTEReport
Class: WPRTEReport.TWPSuperMerge

Returns

The type of the result value is TParagraph.

Description

This function converts a mailmerge letter with RTF header and footer texts to a WPReporter template withe header and footer bands. The header and footer texts which were converted are automatically deleted. The body text will be wrapped in a group band. The reference to this group band is returned to make it possible to update the alias name and set properties. You can further process the cildren paragraphs of this group, for example use the procedure to create a sub group from a table.