Unit msereport

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
Record tablineinfoty  
Class treptabfont  
Class trepwidgetfont  
Class trepfont  
Class treptabitemdatalink  
Record itemsumty  
Class treptabulatoritem  
Class treptabulators  
Interface ireportclient  
Interface ibandparent  
Class trecordbanddatalink  
Class trepspacer  
Class trepwidgetframe  
Class tcustomrecordband  
Class trecordband  
Class tcustomrepvaluedisp  
Class trepvaluedisp  
Class treppagenumdisp  
Class trepprintdatedisp  
Class tcustombandgroup  
Class tbandgroup  
Class tbasebandarea  
Class tcustombandarea  
Class tbandarea  
Class tcustomtilearea  
Class ttilearea  
Class treportpagedatalink  
Class tcustomreportpage  
Class treportpage  
Record repdesigninfoty  
Class treppageform  
Class tcustomreport  
Class treport  

Functions and Procedures

function createreport(const aclass: tclass; const aclassname: pshortstring): tmsecomponent;
procedure initreportcomponent(const amodule: tcomponent; const acomponent: tcomponent);
function getreportscale(const amodule: tcomponent): real;
function createreppageform(const aclass: tclass; const aclassname: pshortstring): tmsecomponent;
function getreppageformscale(const amodule: tcomponent): real;

Types

lookupkindty = (...);
linevisiblety = (...);
linevisiblesty = set of linevisiblety;
tablinekindty = (...);
tablineinfoarty = array[tablinekindty] of tablineinfoty;
bandoptionshowty = (...);
bandoptionshowsty = set of bandoptionshowty;
bandoptionty = (...);
bandoptionsty = set of bandoptionty;
reportoptionty = (...);
reportoptionsty = set of reportoptionty;
rendereventty = procedure(const sender: tobject; const acanvas: tcanvas) of object;
beforerenderrecordeventty = procedure(const sender: tcustomrecordband; var empty: boolean) of object;
synceventty = procedure() of object;
getrichstringeventty = procedure(const sender: tobject; var avalue: richstringty) of object;
reptabulatoritemoptionty = (...);
reptabulatoritemoptionsty = set of reptabulatoritemoptionty;
recordbandstatety = (...);
recordbandstatesty = set of recordbandstatety;
ireportclientarty = array of ireportclient;
bandareaarty = array of tbasebandarea;
recordbandarty = array of tcustomrecordband;
recordbandeventty = procedure(const sender: tcustomrecordband) of object;
zebraoptionty = (...);
zebraoptionsty = set of zebraoptionty;
getrepvaluetexteventty = procedure(const sender: tcustomrepvaluedisp; var atext: msestring) of object;
bandareastatety = (...);
bandareastatesty = set of bandareastatety;
bandareaeventty = procedure(const sender: tbasebandarea) of object;
bandareapainteventty = procedure(const sender: tbasebandarea; const acanvas: tcanvas) of object;
bandareaoptionty = (...);
bandareaoptionsty = set of bandareaoptionty;
tileareaoptionty = (...);
tileareaoptionsty = set of tileareaoptionty;
reportpagestatety = (...);
reportpagestatesty = set of reportpagestatety;
reportpageoptionty = (...);
reportpageoptionsty = set of reportpageoptionty;
reportpageeventty = procedure(const sender: tcustomreportpage) of object;
reportpagepainteventty = procedure(const sender: tcustomreportpage; const acanvas: tcanvas) of object;
beforerenderpageeventty = procedure(const sender: tcustomreportpage; var empty: boolean) of object;
reppageorientationty = (...);
reportpagearty = array of tcustomreportpage;
prepdesigninfoty = ˆrepdesigninfoty;
reppageformclassty = class of treppageform;
repstatety = (...);
repstatesty = set of repstatety;
reporteventty = procedure(const sender: tcustomreport) of object;
preambleeventty = procedure(const sender: tcustomreport; var apreamble: string) of object;
reportclassty = class of treport;

Constants

defaultrepppmm = 3;
defaultreppagewidth = 190;
defaultreppageheight = 270;
defaultrepfontheight = 14;
defaultrepfontname = 'stf_report';
tabpickthreshold = 3;
endrendertag = 49125363;
defaultreptabtextflags = [tf_ycentered];
defaultbandanchors = [an_top];
defaultbandoptionswidget = defaultoptionswidget;
defaultrepvaluedisptextflags = [tf_ycentered];
defaultrepvaluedispoptionsscale = [osc_expandx,osc_shrinkx,osc_expandy,osc_shrinky];
defaultrepfontcolor = cl_black;
defaulttablinewidth = 0;
defaulttablinecolor = cl_black;
defaulttablinecolorgap = cl_transparent;
defaulttablinecapstyle = cs_projecting;
defaulttablinedashes = '';
defaulttablinedist = 0;
defaulttablinevisible = [lv_topofpage,lv_nottopofpage, lv_firstofpage,lv_normal,lv_lastofpage, lv_firstofgroup,lv_lastofgroup, lv_firstrecord,lv_lastrecord];
defaulttablineinfo: tablineinfoty = (widthmm: defaulttablinewidth; color: defaulttablinecolor; colorgap: defaulttablinecolorgap; capstyle: defaulttablinecapstyle; dashes: defaulttablinedashes; dist: defaulttablinedist; visible: defaulttablinevisible);
visibilitymask = [bos_showfirstpage,bos_hidefirstpage, bos_shownormalpage,bos_hidenormalpage, bos_showevenpage,bos_hideevenpage, bos_showoddpage,bos_hideoddpage, bos_showtopofpage,bos_hidetopofpage, bos_shownottopofpage,bos_hidenottopofpage, bos_showfirstofpage,bos_hidefirstofpage, bos_shownormalofpage,bos_hidenormalofpage, bos_showlastofpage,bos_hidelastofpage, bos_showfirstrecord,bos_hidefirstrecord, bos_shownormalrecord,bos_hidenormalrecord, bos_showlastrecord,bos_hidelastrecord ];
defaultrepvaluedispoptions = [bo_evenpage,bo_oddpage];
defaultreportoptions = [];

Description

Functions and Procedures

function createreport(const aclass: tclass; const aclassname: pshortstring): tmsecomponent;
 
procedure initreportcomponent(const amodule: tcomponent; const acomponent: tcomponent);
 
function getreportscale(const amodule: tcomponent): real;
 
function createreppageform(const aclass: tclass; const aclassname: pshortstring): tmsecomponent;
 
function getreppageformscale(const amodule: tcomponent): real;
 

Types

lookupkindty = (...);
 
Values
  • lk_text
  • lk_integer
  • lk_int64
  • lk_float
  • lk_date
  • lk_time
  • lk_datetime
linevisiblety = (...);
 
Values
  • lv_topofpage
  • lv_nottopofpage
  • lv_firstofpage
  • lv_normal
  • lv_lastofpage
  • lv_firstofgroup
  • lv_lastofgroup
  • lv_firstrecord
  • lv_lastrecord
linevisiblesty = set of linevisiblety;
 
tablinekindty = (...);
 
Values
  • tlk_top
  • tlk_vert
  • tlk_bottom
tablineinfoarty = array[tablinekindty] of tablineinfoty;
 
bandoptionshowty = (...);
 
Values
  • bos_showfirstpage
  • bos_hidefirstpage
  • bos_shownormalpage
  • bos_hidenormalpage
  • bos_showevenpage
  • bos_hideevenpage
  • bos_showoddpage
  • bos_hideoddpage
  • bos_showtopofpage
  • bos_hidetopofpage
  • bos_shownottopofpage
  • bos_hidenottopofpage
  • bos_showfirstofpage
  • bos_hidefirstofpage
  • bos_shownormalofpage
  • bos_hidenormalofpage
  • bos_showlastofpage
  • bos_hidelastofpage
  • bos_showfirstrecord
  • bos_hidefirstrecord
  • bos_shownormalrecord
  • bos_hidenormalrecord
  • bos_showlastrecord
  • bos_hidelastrecord
bandoptionshowsty = set of bandoptionshowty;
 
bandoptionty = (...);
 
Values
  • bo_once
  • bo_evenpage
  • bo_oddpage
  • bo_visigroupfirst
  • bo_visigroupnotfirst
  • bo_visigrouplast
  • bo_visigroupnotlast
  • bo_delayednextrecord
  • bo_localvalue
  • bo_topofarea
bandoptionsty = set of bandoptionty;
 
reportoptionty = (...);
 
Values
  • reo_autorelease
  • reo_prepass
  • reo_nodisablecontrols
  • reo_nothread
  • reo_waitdialog
  • reo_autoreadstat
  • reo_autowritestat
  • reo_delayedreadstat
reportoptionsty = set of reportoptionty;
 
rendereventty = procedure(const sender: tobject; const acanvas: tcanvas) of object;
 
beforerenderrecordeventty = procedure(const sender: tcustomrecordband; var empty: boolean) of object;
 
synceventty = procedure() of object;
 
getrichstringeventty = procedure(const sender: tobject; var avalue: richstringty) of object;
 
reptabulatoritemoptionty = (...);
 
Values
  • rto_disabled
  • rto_count
  • rto_sum
  • rto_average
  • rto_shownull
  • rto_nocurrentvalue
  • rto_noreset
reptabulatoritemoptionsty = set of reptabulatoritemoptionty;
 
recordbandstatety = (...);
 
Values
  • rbs_prepass
  • rbs_rendering
  • rbs_showed
  • rbs_pageshowed
  • rbs_finish
  • rbs_notfirstrecord
  • rbs_lastrecord
  • rbs_visibilitychecked
  • rbs_nextrecordpending
recordbandstatesty = set of recordbandstatety;
 
ireportclientarty = array of ireportclient;
 
bandareaarty = array of tbasebandarea;
 
recordbandarty = array of tcustomrecordband;
 
recordbandeventty = procedure(const sender: tcustomrecordband) of object;
 
zebraoptionty = (...);
 
Values
  • zo_resetonpagestart
  • zo_resetparent
zebraoptionsty = set of zebraoptionty;
 
getrepvaluetexteventty = procedure(const sender: tcustomrepvaluedisp; var atext: msestring) of object;
 
bandareastatety = (...);
 
Values
  • bas_inited
  • bas_backgroundrendered
  • bas_areafull
  • bas_rendering
  • bas_top
  • bas_notfirstband
  • bas_lastband
  • bas_bandstarted
  • bas_activebandchanged
  • bas_finished
bandareastatesty = set of bandareastatety;
 
bandareaeventty = procedure(const sender: tbasebandarea) of object;
 
bandareapainteventty = procedure(const sender: tbasebandarea; const acanvas: tcanvas) of object;
 
bandareaoptionty = (...);
 
Values
  • bao_nopagerestart
bandareaoptionsty = set of bandareaoptionty;
 
tileareaoptionty = (...);
 
Values
  • tao_vertical
tileareaoptionsty = set of tileareaoptionty;
 
reportpagestatety = (...);
 
Values
  • rpps_inited
  • rpps_sizesetting
  • rpps_rendering
  • rpps_backgroundrendered
  • rpps_restart
  • rpps_showed
  • rpps_finish
  • rpps_notfirstrecord
  • rpps_lastrecord
  • rpps_nextrecordpending
reportpagestatesty = set of reportpagestatety;
 
reportpageoptionty = (...);
 
Values
  • rpo_once
  • rpo_firsteven
  • rpo_firstodd
  • rpo_delayednextrecord
  • rpo_datasourceonly
  • rpo_reportpagewidth
  • rpo_reportpageheight
reportpageoptionsty = set of reportpageoptionty;
 
reportpageeventty = procedure(const sender: tcustomreportpage) of object;
 
reportpagepainteventty = procedure(const sender: tcustomreportpage; const acanvas: tcanvas) of object;
 
beforerenderpageeventty = procedure(const sender: tcustomreportpage; var empty: boolean) of object;
 
reppageorientationty = (...);
 
Values
  • rpo_default
  • rpo_portrait
  • rpo_landscape
reportpagearty = array of tcustomreportpage;
 
prepdesigninfoty = ˆrepdesigninfoty;
 
reppageformclassty = class of treppageform;
 
repstatety = (...);
 
Values
  • rs_activepageset
  • rs_finish
  • rs_restart
  • rs_running
  • rs_endpass
  • rs_dummypage
repstatesty = set of repstatety;
 
reporteventty = procedure(const sender: tcustomreport) of object;
 
preambleeventty = procedure(const sender: tcustomreport; var apreamble: string) of object;
 
reportclassty = class of treport;
 

Constants

defaultrepppmm = 3;
 
defaultreppagewidth = 190;
 
defaultreppageheight = 270;
 
defaultrepfontheight = 14;
 
defaultrepfontname = 'stf_report';
 
tabpickthreshold = 3;
 
endrendertag = 49125363;
 
defaultreptabtextflags = [tf_ycentered];
 
defaultbandanchors = [an_top];
 
defaultbandoptionswidget = defaultoptionswidget;
 
defaultrepvaluedisptextflags = [tf_ycentered];
 
defaultrepvaluedispoptionsscale = [osc_expandx,osc_shrinkx,osc_expandy,osc_shrinky];
 
defaultrepfontcolor = cl_black;
 
defaulttablinewidth = 0;
 
defaulttablinecolor = cl_black;
 
defaulttablinecolorgap = cl_transparent;
 
defaulttablinecapstyle = cs_projecting;
 
defaulttablinedashes = '';
 
defaulttablinedist = 0;
 
defaulttablinevisible = [lv_topofpage,lv_nottopofpage, lv_firstofpage,lv_normal,lv_lastofpage, lv_firstofgroup,lv_lastofgroup, lv_firstrecord,lv_lastrecord];
 
defaulttablineinfo: tablineinfoty = (widthmm: defaulttablinewidth; color: defaulttablinecolor; colorgap: defaulttablinecolorgap; capstyle: defaulttablinecapstyle; dashes: defaulttablinedashes; dist: defaulttablinedist; visible: defaulttablinevisible);
 
visibilitymask = [bos_showfirstpage,bos_hidefirstpage, bos_shownormalpage,bos_hidenormalpage, bos_showevenpage,bos_hideevenpage, bos_showoddpage,bos_hideoddpage, bos_showtopofpage,bos_hidetopofpage, bos_shownottopofpage,bos_hidenottopofpage, bos_showfirstofpage,bos_hidefirstofpage, bos_shownormalofpage,bos_hidenormalofpage, bos_showlastofpage,bos_hidelastofpage, bos_showfirstrecord,bos_hidefirstrecord, bos_shownormalrecord,bos_hidenormalrecord, bos_showlastrecord,bos_hidelastrecord ];
 
defaultrepvaluedispoptions = [bo_evenpage,bo_oddpage];
 
defaultreportoptions = [];
 

Generated by PasDoc 0.16.0.