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

Overview

Fields

Protected freport: tcustomreport;

Methods

Protected procedure registerchildwidget(const child: twidget); override;
Protected procedure unregisterchildwidget(const child: twidget); override;
Protected procedure setparentwidget(const avalue: twidget); override;
Protected procedure sizechanged; override;
Protected procedure setfont(const avalue: trepwidgetfont);
Protected function getfont: trepwidgetfont;
Protected function getfontclass: widgetfontclassty; override;
Protected procedure renderbackground(const acanvas: tcanvas);
Protected procedure beginrender(const arestart: boolean);
Protected procedure endrender;
Protected procedure adddatasets(var adatasets: datasetarty);
Protected function rendering: boolean;
Protected procedure beginarea(const acanvas: tcanvas; const sender: tbasebandarea);
Protected procedure dofirstpage; virtual;
Protected procedure dobeforerender(var empty: boolean); virtual;
Protected procedure doonpaint(const acanvas: tcanvas); override;
Protected procedure doafterpaint1(const acanvas: tcanvas); virtual;
Protected procedure doafterlastpage; virtual;
Protected procedure dobeforenextrecord(const adatasource: tdatasource);
Protected procedure dosyncnextrecord;
Protected procedure init; virtual;
Protected procedure nextrecord;
Protected function render(const acanvas: tcanvas): boolean;
Protected function getppmm: real;
Protected procedure registerclient(const aclient: ireportclient);
Protected procedure unregisterclient(const aclient: ireportclient);
Protected function beginband(const acanvas: tcanvas; const sender: tcustomrecordband): boolean;
Protected procedure endband(const acanvas: tcanvas; const sender: tcustomrecordband);
Protected function istopband: boolean;
Protected function isfirstband: boolean;
Protected function islastband(const addheight: integer = 0): boolean;
Protected procedure setareafull(const avalue: boolean);
Protected procedure updatevisible;
Protected function remainingheight: integer;
Protected function pagepagenum: integer;
Protected function reppagenum: integer;
Protected function pageprintstarttime: tdatetime;
Protected function repprintstarttime: tdatetime;
Protected function getreppage: tcustomreportpage;
Protected function getlastpagepagecount: integer;
Protected function getlastreppagecount: integer;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public function isfirstrecord: boolean;
Public function islastrecord: boolean;
Public procedure insertwidget(const awidget: twidget; const apos: pointty); override;
Public procedure recordchanged;
Public procedure activatepage;
Public procedure finish;
Public procedure restart;
Public procedure resetzebra;
Public function getpagewidth: real;
Public function getpageheight: real;

Properties

Protected property ppmm: real read fppmm write setppmm;
Public property report: tcustomreport read freport;
Public property pagenum: integer read fpagenum write fpagenum;
Public property lastpagecount: integer read getlastpagepagecount write flastpagecount;
Public property printstarttime: tdatetime read fprintstarttime write fprintstarttime;
Public property visiblepage: boolean read fvisiblepage write fvisiblepage default true;
Public property pagewidth: real read fpagewidth write setpagewidth;
Public property pageheight: real read fpageheight write setpageheight;
Public property font: trepwidgetfont read getfont write setfont stored isfontstored;
Public property nextpage: tcustomreportpage read fnextpage write setnextpage;
Public property nextpageifempty: tcustomreportpage read fnextpageifempty write setnextpageifempty;
Public property nextpageiflast: tcustomreportpage read fnextpageiflast write setnextpageiflast;
Public property datasource: tdatasource read getdatasource write setdatasource;
Public property options: reportpageoptionsty read foptions write setoptions default [];
Public property printorientation: reppageorientationty read fprintorientation write fprintorientation default rpo_default;
Public property onfirstpage: reportpageeventty read fonfirstpage write fonfirstpage;
Public property onbeforerender: beforerenderpageeventty read fonbeforerender write fonbeforerender;
Public property onafterrender: reportpageeventty read fonafterrender write fonafterrender;
Public property onpaint: reportpagepainteventty read fonpaint write fonpaint;
Public property onafterpaint: reportpagepainteventty read fonafterpaint write fonafterpaint;
Public property onbeforenextrecord: notifyeventty read fonbeforenextrecord write fonbeforenextrecord;
Public property onafternextrecord: notifyeventty read fonafternextrecord write fonafternextrecord;
Public property onafterlastpage: reportpageeventty read fonafterlastpage write fonafterlastpage;

Description

Fields

Protected freport: tcustomreport;
 

Methods

Protected procedure registerchildwidget(const child: twidget); override;
 
Protected procedure unregisterchildwidget(const child: twidget); override;
 
Protected procedure setparentwidget(const avalue: twidget); override;
 
Protected procedure sizechanged; override;
 
Protected procedure setfont(const avalue: trepwidgetfont);
 
Protected function getfont: trepwidgetfont;
 
Protected function getfontclass: widgetfontclassty; override;
 
Protected procedure renderbackground(const acanvas: tcanvas);
 
Protected procedure beginrender(const arestart: boolean);
 
Protected procedure endrender;
 
Protected procedure adddatasets(var adatasets: datasetarty);
 
Protected function rendering: boolean;
 
Protected procedure beginarea(const acanvas: tcanvas; const sender: tbasebandarea);
 
Protected procedure dofirstpage; virtual;
 
Protected procedure dobeforerender(var empty: boolean); virtual;
 
Protected procedure doonpaint(const acanvas: tcanvas); override;
 
Protected procedure doafterpaint1(const acanvas: tcanvas); virtual;
 
Protected procedure doafterlastpage; virtual;
 
Protected procedure dobeforenextrecord(const adatasource: tdatasource);
 
Protected procedure dosyncnextrecord;
 
Protected procedure init; virtual;
 
Protected procedure nextrecord;
 
Protected function render(const acanvas: tcanvas): boolean;
 
Protected function getppmm: real;
 
Protected procedure registerclient(const aclient: ireportclient);
 
Protected procedure unregisterclient(const aclient: ireportclient);
 
Protected function beginband(const acanvas: tcanvas; const sender: tcustomrecordband): boolean;
 
Protected procedure endband(const acanvas: tcanvas; const sender: tcustomrecordband);
 
Protected function istopband: boolean;
 
Protected function isfirstband: boolean;
 
Protected function islastband(const addheight: integer = 0): boolean;
 
Protected procedure setareafull(const avalue: boolean);
 
Protected procedure updatevisible;
 
Protected function remainingheight: integer;
 
Protected function pagepagenum: integer;
 
Protected function reppagenum: integer;
 
Protected function pageprintstarttime: tdatetime;
 
Protected function repprintstarttime: tdatetime;
 
Protected function getreppage: tcustomreportpage;
 
Protected function getlastpagepagecount: integer;
 
Protected function getlastreppagecount: integer;
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy; override;
 
Public function isfirstrecord: boolean;
 
Public function islastrecord: boolean;
 
Public procedure insertwidget(const awidget: twidget; const apos: pointty); override;
 
Public procedure recordchanged;
 
Public procedure activatepage;
 
Public procedure finish;
 
Public procedure restart;
 
Public procedure resetzebra;
 
Public function getpagewidth: real;
 
Public function getpageheight: real;
 

Properties

Protected property ppmm: real read fppmm write setppmm;
 
Public property report: tcustomreport read freport;
 
Public property pagenum: integer read fpagenum write fpagenum;
 
Public property lastpagecount: integer read getlastpagepagecount write flastpagecount;
 
Public property printstarttime: tdatetime read fprintstarttime write fprintstarttime;
 
Public property visiblepage: boolean read fvisiblepage write fvisiblepage default true;
 
Public property pagewidth: real read fpagewidth write setpagewidth;
 
Public property pageheight: real read fpageheight write setpageheight;
 
Public property font: trepwidgetfont read getfont write setfont stored isfontstored;
 
Public property nextpage: tcustomreportpage read fnextpage write setnextpage;
 
Public property nextpageifempty: tcustomreportpage read fnextpageifempty write setnextpageifempty;
 
Public property nextpageiflast: tcustomreportpage read fnextpageiflast write setnextpageiflast;
 
Public property datasource: tdatasource read getdatasource write setdatasource;
 
Public property options: reportpageoptionsty read foptions write setoptions default [];
 
Public property printorientation: reppageorientationty read fprintorientation write fprintorientation default rpo_default;
 
Public property onfirstpage: reportpageeventty read fonfirstpage write fonfirstpage;
 
Public property onbeforerender: beforerenderpageeventty read fonbeforerender write fonbeforerender;
 
Public property onafterrender: reportpageeventty read fonafterrender write fonafterrender;
 
Public property onpaint: reportpagepainteventty read fonpaint write fonpaint;
 
Public property onafterpaint: reportpagepainteventty read fonafterpaint write fonafterpaint;
 
Public property onbeforenextrecord: notifyeventty read fonbeforenextrecord write fonbeforenextrecord;
 
Public property onafternextrecord: notifyeventty read fonafternextrecord write fonafternextrecord;
 
Public property onafterlastpage: reportpageeventty read fonafterlastpage write fonafterlastpage;
 

Generated by PasDoc 0.16.0.