TRVReportHelperWithHeaderFooters.Reset

<< Click to display table of contents >>

TRVReportHelperWithHeaderFooters.Reset

Completely clears all documents stored in this component.

procedure Reset;

This procedure clears all documents (the main document, headers, footers), deletes all text, paragraph and list styles from all TRVStyles, adds one text and one text and paragraph style having default properties.

If UseStyleTemplates = True, it also clears StyleTemplates for the main document, adds a single normal style template, and assign it to paragraph styles.

Additionally, it assigns 5 pixels to all margins (LeftMargin, RightMargin, TopMargin, BottomMargin), and resets DocParameters (keeping their Units).