Class tcustomreportpage
Unit
Declaration
type tcustomreportpage = class(twidget, ibandparent)
Description
No description available, ancestor twidget description follows
No description available, ancestor tactcomponent description follows
No description available, ancestor tmsecomponent description follows
Hierarchy
- TObject
- TPersistent
- tcomponent
- tmsecomponent
- tactcomponent
- twidget
- tcustomreportpage
Overview
Fields
freport: tcustomreport; |
Methods
procedure registerchildwidget(const child: twidget); override; |
|
procedure unregisterchildwidget(const child: twidget); override; |
|
procedure setparentwidget(const avalue: twidget); override; |
|
procedure sizechanged; override; |
|
procedure setfont(const avalue: trepwidgetfont); |
|
function getfont: trepwidgetfont; |
|
function getfontclass: widgetfontclassty; override; |
|
procedure renderbackground(const acanvas: tcanvas); |
|
procedure beginrender(const arestart: boolean); |
|
procedure endrender; |
|
procedure adddatasets(var adatasets: datasetarty); |
|
function rendering: boolean; |
|
procedure beginarea(const acanvas: tcanvas; const sender: tbasebandarea); |
|
procedure dofirstpage; virtual; |
|
procedure dobeforerender(var empty: boolean); virtual; |
|
procedure doonpaint(const acanvas: tcanvas); override; |
|
procedure doafterpaint1(const acanvas: tcanvas); virtual; |
|
procedure doafterlastpage; virtual; |
|
procedure dobeforenextrecord(const adatasource: tdatasource); |
|
procedure dosyncnextrecord; |
|
procedure init; virtual; |
|
procedure nextrecord; |
|
function render(const acanvas: tcanvas): boolean; |
|
function getppmm: real; |
|
procedure registerclient(const aclient: ireportclient); |
|
procedure unregisterclient(const aclient: ireportclient); |
|
function beginband(const acanvas: tcanvas; const sender: tcustomrecordband): boolean; |
|
procedure endband(const acanvas: tcanvas; const sender: tcustomrecordband); |
|
function istopband: boolean; |
|
function isfirstband: boolean; |
|
function islastband(const addheight: integer = 0): boolean; |
|
procedure setareafull(const avalue: boolean); |
|
procedure updatevisible; |
|
function remainingheight: integer; |
|
function pagepagenum: integer; |
|
function reppagenum: integer; |
|
function pageprintstarttime: tdatetime; |
|
function repprintstarttime: tdatetime; |
|
function getreppage: tcustomreportpage; |
|
function getlastpagepagecount: integer; |
|
function getlastreppagecount: integer; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
function isfirstrecord: boolean; |
|
function islastrecord: boolean; |
|
procedure insertwidget(const awidget: twidget; const apos: pointty); override; |
|
procedure recordchanged; |
|
procedure activatepage; |
|
procedure finish; |
|
procedure restart; |
|
procedure resetzebra; |
|
function getpagewidth: real; |
|
function getpageheight: real; |
Properties
property ppmm: real read fppmm write setppmm; |
|
property report: tcustomreport read freport; |
|
property pagenum: integer read fpagenum write fpagenum; |
|
property lastpagecount: integer read getlastpagepagecount write flastpagecount; |
|
property printstarttime: tdatetime read fprintstarttime write fprintstarttime; |
|
property visiblepage: boolean read fvisiblepage write fvisiblepage default true; |
|
property pagewidth: real read fpagewidth write setpagewidth; |
|
property pageheight: real read fpageheight write setpageheight; |
|
property font: trepwidgetfont read getfont write setfont stored isfontstored; |
|
property nextpage: tcustomreportpage read fnextpage write setnextpage; |
|
property nextpageifempty: tcustomreportpage read fnextpageifempty write
setnextpageifempty; |
|
property nextpageiflast: tcustomreportpage read fnextpageiflast write
setnextpageiflast; |
|
property datasource: tdatasource read getdatasource write setdatasource; |
|
property options: reportpageoptionsty read foptions write setoptions
default []; |
|
property printorientation: reppageorientationty read fprintorientation
write fprintorientation default rpo_default; |
|
property onfirstpage: reportpageeventty read fonfirstpage
write fonfirstpage; |
|
property onbeforerender: beforerenderpageeventty read fonbeforerender
write fonbeforerender; |
|
property onafterrender: reportpageeventty read fonafterrender
write fonafterrender; |
|
property onpaint: reportpagepainteventty read fonpaint write fonpaint; |
|
property onafterpaint: reportpagepainteventty read fonafterpaint
write fonafterpaint; |
|
property onbeforenextrecord: notifyeventty read fonbeforenextrecord
write fonbeforenextrecord; |
|
property onafternextrecord: notifyeventty read fonafternextrecord
write fonafternextrecord; |
|
property onafterlastpage: reportpageeventty read fonafterlastpage
write fonafterlastpage; |
Description
Fields
freport: tcustomreport; |
|
Methods
procedure registerchildwidget(const child: twidget); override; |
|
procedure unregisterchildwidget(const child: twidget); override; |
|
procedure setparentwidget(const avalue: twidget); override; |
|
procedure sizechanged; override; |
|
procedure setfont(const avalue: trepwidgetfont); |
|
function getfont: trepwidgetfont; |
|
function getfontclass: widgetfontclassty; override; |
|
procedure renderbackground(const acanvas: tcanvas); |
|
procedure beginrender(const arestart: boolean); |
|
procedure endrender; |
|
procedure adddatasets(var adatasets: datasetarty); |
|
function rendering: boolean; |
|
procedure beginarea(const acanvas: tcanvas; const sender: tbasebandarea); |
|
procedure dofirstpage; virtual; |
|
procedure dobeforerender(var empty: boolean); virtual; |
|
procedure doonpaint(const acanvas: tcanvas); override; |
|
procedure doafterpaint1(const acanvas: tcanvas); virtual; |
|
procedure doafterlastpage; virtual; |
|
procedure dobeforenextrecord(const adatasource: tdatasource); |
|
procedure dosyncnextrecord; |
|
procedure init; virtual; |
|
procedure nextrecord; |
|
function render(const acanvas: tcanvas): boolean; |
|
function getppmm: real; |
|
procedure registerclient(const aclient: ireportclient); |
|
procedure unregisterclient(const aclient: ireportclient); |
|
function beginband(const acanvas: tcanvas; const sender: tcustomrecordband): boolean; |
|
procedure endband(const acanvas: tcanvas; const sender: tcustomrecordband); |
|
function istopband: boolean; |
|
function isfirstband: boolean; |
|
function islastband(const addheight: integer = 0): boolean; |
|
procedure setareafull(const avalue: boolean); |
|
procedure updatevisible; |
|
function remainingheight: integer; |
|
function pagepagenum: integer; |
|
function reppagenum: integer; |
|
function pageprintstarttime: tdatetime; |
|
function repprintstarttime: tdatetime; |
|
function getreppage: tcustomreportpage; |
|
function getlastpagepagecount: integer; |
|
function getlastreppagecount: integer; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
function isfirstrecord: boolean; |
|
function islastrecord: boolean; |
|
procedure insertwidget(const awidget: twidget; const apos: pointty); override; |
|
procedure recordchanged; |
|
procedure activatepage; |
|
procedure finish; |
|
procedure restart; |
|
procedure resetzebra; |
|
function getpagewidth: real; |
|
function getpageheight: real; |
|
Properties
property ppmm: real read fppmm write setppmm; |
|
property report: tcustomreport read freport; |
|
property pagenum: integer read fpagenum write fpagenum; |
|
property lastpagecount: integer read getlastpagepagecount write flastpagecount; |
|
property printstarttime: tdatetime read fprintstarttime write fprintstarttime; |
|
property visiblepage: boolean read fvisiblepage write fvisiblepage default true; |
|
property pagewidth: real read fpagewidth write setpagewidth; |
|
property pageheight: real read fpageheight write setpageheight; |
|
property font: trepwidgetfont read getfont write setfont stored isfontstored; |
|
property nextpage: tcustomreportpage read fnextpage write setnextpage; |
|
property nextpageifempty: tcustomreportpage read fnextpageifempty write
setnextpageifempty; |
|
property nextpageiflast: tcustomreportpage read fnextpageiflast write
setnextpageiflast; |
|
property datasource: tdatasource read getdatasource write setdatasource; |
|
property options: reportpageoptionsty read foptions write setoptions
default []; |
|
property printorientation: reppageorientationty read fprintorientation
write fprintorientation default rpo_default; |
|
property onfirstpage: reportpageeventty read fonfirstpage
write fonfirstpage; |
|
property onbeforerender: beforerenderpageeventty read fonbeforerender
write fonbeforerender; |
|
property onafterrender: reportpageeventty read fonafterrender
write fonafterrender; |
|
property onpaint: reportpagepainteventty read fonpaint write fonpaint; |
|
property onafterpaint: reportpagepainteventty read fonafterpaint
write fonafterpaint; |
|
property onbeforenextrecord: notifyeventty read fonbeforenextrecord
write fonbeforenextrecord; |
|
property onafternextrecord: notifyeventty read fonafternextrecord
write fonafternextrecord; |
|
property onafterlastpage: reportpageeventty read fonafterlastpage
write fonafterlastpage; |
|
Generated by PasDoc 0.16.0.