Unit RTFReport2

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

RTFReport2 is non visual component which provides functionality for generating reports according prepared RTF or TXT template with special TAGs; it uses this template and fill data into it instead of TAGs; RTF template can be modified easily by any RTF or TXT editor (i.g. MS Word).

See homepage http://www.rosinsky.cz/delphi/ for detail help.

Updated version compatible with Delphi2010+ and 64bit platform. Splash screen in demo version.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TCalcField Object contain calculated value for each field
Class TRTFReport2 RTFReport2 is non visual component which provides functionality for generating reports according prepared RTF template with special TAGs

Types

TTemplateFormat = (...);
TRTFTextFormat = (...);
TRTFTextFormats = set of TRTFTextFormat;
TMemoFormat = (...);
TReportProcessEvent = procedure(Sender: TObject; RecNbr: integer; var Abort: boolean) of object;
TUserCalc = procedure(Sender: TObject; var CalcStr: string; var Replace: boolean) of object;
TModifyContent = procedure(Sender: TObject; var FileContent: string) of object;
TOnGetTemplateStr = procedure(Sender: TObject; var TemplateStr: string) of object;

Constants

maxDS = 25;

Description

Types

TTemplateFormat = (...);

list of template format types

Values
  • tfAutoDetect:  
  • tfRTF:  
  • tfText:  
TRTFTextFormat = (...);

list of RTF text format types

Values
  • frmBold:  
  • frmItalic:  
  • frmUnderline:  
TRTFTextFormats = set of TRTFTextFormat;

set of RTF text format types

TMemoFormat = (...);

list of memo or blob format types (used if is not defined in rtf template)

Values
  • mfText:  
  • mfRTF:  
  • mfAutoDetect:  
  • mfRTFLine:  
  • mfPlain:  
TReportProcessEvent = procedure(Sender: TObject; RecNbr: integer; var Abort: boolean) of object;

event type called for each record during reporting

TUserCalc = procedure(Sender: TObject; var CalcStr: string; var Replace: boolean) of object;

event type called to get calculated string result

TModifyContent = procedure(Sender: TObject; var FileContent: string) of object;

event type called to modify file content

TOnGetTemplateStr = procedure(Sender: TObject; var TemplateStr: string) of object;

event type called instead of loading of template file

Constants

maxDS = 25;
 

Author

Created

Apr 2006

Last Modified

Dec 2015


Generated by PasDoc 0.13.0 on 2017-06-17 14:57:07