Unit RTFRep_DialogEx

Description

RTFRep_DialogEx provides universal dialog before execution of report. User can choose report from list of available reports and some properties. List of reports is defined by array of TRTFRepInfoEx.

Full functional demo

Overview

Classes, Interfaces, Objects and Records

Name Description
Record TRTFRepInfoEx Information record for each report (each item) - define all properties of report
Class TRTFRepDlgInfoClass define structure for reports definition info
Class TRTFRepDialogEx universal dialog before execution of RTFReport

Functions and Procedures

procedure ShowRTFRepDialogEx(const RTFRepInfo: array of TRTFRepInfoEx; RTFRepDlgInfo: TRTFRepDlgInfoClass);
procedure SetRTFRepInfo(var RTFRepInfo: TRTFRepInfoEx; Group, Caption, Info, ReportFile, OutputFile: string; const DataSets: array of TDataSet);
function CreateDataSetListEx(const DataSets: array of TDataSet): TDataSetListEx;
procedure AddRTFRepVariableEx(var RTFRepInfo: TRTFRepInfoEx; Variable: string);
procedure ClearRTFRepVariableEx(var RTFRepInfo: TRTFRepInfoEx);

Types

TDlgAutoAction = (...);
TDataSetListEx = array of TDataSet;
TConfigPDFPrinter = function(OutputPDFFile: string; var PDFPrinterName: string): boolean;

Variables

RTFRepDialogEx: TRTFRepDialogEx;

Description

Functions and Procedures

procedure ShowRTFRepDialogEx(const RTFRepInfo: array of TRTFRepInfoEx; RTFRepDlgInfo: TRTFRepDlgInfoClass);
 
procedure SetRTFRepInfo(var RTFRepInfo: TRTFRepInfoEx; Group, Caption, Info, ReportFile, OutputFile: string; const DataSets: array of TDataSet);
 
function CreateDataSetListEx(const DataSets: array of TDataSet): TDataSetListEx;
 
procedure AddRTFRepVariableEx(var RTFRepInfo: TRTFRepInfoEx; Variable: string);
 
procedure ClearRTFRepVariableEx(var RTFRepInfo: TRTFRepInfoEx);
 

Types

TDlgAutoAction = (...);
 
Values
  • daaNone
  • daaShow
  • daaPrint
  • daaMail
TDataSetListEx = array of TDataSet;

List of datasets for one report

TConfigPDFPrinter = function(OutputPDFFile: string; var PDFPrinterName: string): boolean;

Information record for dialog, define dialog events and properties

Variables

RTFRepDialogEx: TRTFRepDialogEx;
 

Author

Created

Jan 2008

Last Modified

Sep 2015


Generated by PasDoc 0.15.0.