Class tcustomreport
Unit
Declaration
type tcustomreport = class(twidget)
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
- tcustomreport
Overview
Fields
frepdesigninfo: repdesigninfoty; |
|
freppages: reportpagearty; |
|
fdefaultprintorientation: pageorientationty; |
Methods
class function hasresource: boolean override; |
|
procedure updatepagesize; |
|
procedure dopagebeforerender(const sender: tcustomreportpage; var empty: boolean); |
|
procedure dopagepaint(const sender: tcustomreportpage; const acanvas: tcanvas); |
|
procedure dopageafterpaint(const sender: tcustomreportpage; const acanvas: tcanvas); |
|
procedure internalrender(const acanvas: tcanvas; const aprinter: tcustomprinter; const acommand: msestring; const astream: ttextstream; const anilstream: boolean; const onafterrender: reporteventty); |
|
procedure initpage(const apage: tcustomreportpage); |
|
procedure unregisterchildwidget(const child: twidget); override; |
|
procedure getchildren(proc: tgetchildproc; root: tcomponent); override; |
|
procedure defineproperties(filer: tfiler); override; |
|
procedure nextpage(const acanvas: tcanvas); |
|
procedure doprogress; |
|
procedure doasyncevent(var atag: integer); override; |
|
procedure notification(acomponent: tcomponent; operation: toperation); override; |
|
procedure setfont(const avalue: trepfont); |
|
function getfont: trepfont; |
|
function getfontclass: widgetfontclassty; override; |
|
function getdialogcaption: msestring virtual; |
|
function getdialogtext: msestring virtual; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure insertwidget(const awidget: twidget; const apos: pointty) override; |
|
function add(const apage: tcustomreportpage; aindex: int32 = bigint): tcustomreportpage; |
|
procedure delete(const aindex: int32); |
|
procedure clear(); |
|
procedure movepage(const curindex,newindex: int32); |
|
procedure render(const acanvas: tcanvas; const onafterrender: reporteventty = nil); overload; |
|
procedure render(const aprinter: tstreamprinter; const command: msestring = ''; const onafterrender: reporteventty = nil); overload; |
|
procedure render(const aprinter: tstreamprinter; const astream: ttextstream; const onafterrender: reporteventty = nil); overload; |
|
procedure render(const aprinter: tcustomgdiprinter; const onafterrender: reporteventty = nil); overload; |
|
procedure waitfor; |
|
function prepass: boolean; |
|
procedure restart; |
|
procedure recordchanged; |
|
function reppagecount: integer; |
|
procedure finish; |
Properties
property ppmm: real read fppmm write setppmm; |
|
property pagewidth: real read fpagewidth write setpagewidth; |
|
property pageheight: real read fpageheight write setpageheight; |
|
property reppages[index:integer]: tcustomreportpage read getreppages
write setreppages; |
|
property pagenum: integer read fpagenum ; |
|
property lastpagecount: integer read flastpagecount write flastpagecount; |
|
property activepage: integer read factivepage write setactivepage; |
|
property printstarttime: tdatetime read fprintstarttime
write fprintstarttime; |
|
property nilstream: boolean read fnilstream; |
|
property font: trepfont read getfont write setfont; |
|
property color default cl_transparent; |
|
property grid_show: boolean read frepdesigninfo.showgrid
write setgrid_show default true; |
|
property grid_snap: boolean read frepdesigninfo.snaptogrid
write setgrid_snap default true; |
|
property grid_size: real read frepdesigninfo.gridsize write setgrid_size; |
|
property canceled: boolean read getcanceled write setcanceled; |
|
property running: boolean read getrunning; |
|
property options: reportoptionsty read foptions write foptions
default defaultreportoptions; |
|
property dialogtext: msestring read fdialogtext write fdialogtext; |
|
property dialogcaption: msestring read fdialogcaption write fdialogcaption; |
|
property onpreamble: preambleeventty read fonpreamble write fonpreamble; |
|
property onreportstart: reporteventty read fonreportstart
write fonreportstart; |
|
property onbeforerender: reporteventty read fonbeforerender
write fonbeforerender; |
|
property onafterrender: reporteventty read fonafterrender
write fonafterrender; |
|
property onreportfinished: notifyeventty read fonreportfinished
write fonreportfinished; |
|
property onpagebeforerender: beforerenderpageeventty
read fonpagebeforerender write fonpagebeforerender; |
|
property onpagepaint: reportpagepainteventty read fonpagepaint
write fonpagepaint; |
|
property onpageafterpaint: reportpagepainteventty read fonpageafterpaint
write fonpageafterpaint; |
|
property onprogress: notifyeventty read fonprogress write fonprogress; |
Description
Fields
frepdesigninfo: repdesigninfoty; |
|
freppages: reportpagearty; |
|
fdefaultprintorientation: pageorientationty; |
|
Methods
class function hasresource: boolean override; |
|
procedure updatepagesize; |
|
procedure dopagebeforerender(const sender: tcustomreportpage; var empty: boolean); |
|
procedure dopagepaint(const sender: tcustomreportpage; const acanvas: tcanvas); |
|
procedure dopageafterpaint(const sender: tcustomreportpage; const acanvas: tcanvas); |
|
procedure internalrender(const acanvas: tcanvas; const aprinter: tcustomprinter; const acommand: msestring; const astream: ttextstream; const anilstream: boolean; const onafterrender: reporteventty); |
|
procedure initpage(const apage: tcustomreportpage); |
|
procedure unregisterchildwidget(const child: twidget); override; |
|
procedure getchildren(proc: tgetchildproc; root: tcomponent); override; |
|
procedure defineproperties(filer: tfiler); override; |
|
procedure nextpage(const acanvas: tcanvas); |
|
procedure doprogress; |
|
procedure doasyncevent(var atag: integer); override; |
|
procedure notification(acomponent: tcomponent; operation: toperation); override; |
|
procedure setfont(const avalue: trepfont); |
|
function getfont: trepfont; |
|
function getfontclass: widgetfontclassty; override; |
|
function getdialogcaption: msestring virtual; |
|
function getdialogtext: msestring virtual; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure insertwidget(const awidget: twidget; const apos: pointty) override; |
|
function add(const apage: tcustomreportpage; aindex: int32 = bigint): tcustomreportpage; |
|
procedure delete(const aindex: int32); |
|
procedure clear(); |
|
procedure movepage(const curindex,newindex: int32); |
|
procedure render(const acanvas: tcanvas; const onafterrender: reporteventty = nil); overload; |
|
procedure render(const aprinter: tstreamprinter; const command: msestring = ''; const onafterrender: reporteventty = nil); overload; |
|
procedure render(const aprinter: tstreamprinter; const astream: ttextstream; const onafterrender: reporteventty = nil); overload; |
|
procedure render(const aprinter: tcustomgdiprinter; const onafterrender: reporteventty = nil); overload; |
|
procedure waitfor; |
|
function prepass: boolean; |
|
procedure restart; |
|
procedure recordchanged; |
|
function reppagecount: integer; |
|
procedure finish; |
|
Properties
property ppmm: real read fppmm write setppmm; |
|
property pagewidth: real read fpagewidth write setpagewidth; |
|
property pageheight: real read fpageheight write setpageheight; |
|
property reppages[index:integer]: tcustomreportpage read getreppages
write setreppages; |
|
property pagenum: integer read fpagenum ; |
|
property lastpagecount: integer read flastpagecount write flastpagecount; |
|
property activepage: integer read factivepage write setactivepage; |
|
property printstarttime: tdatetime read fprintstarttime
write fprintstarttime; |
|
property nilstream: boolean read fnilstream; |
|
property font: trepfont read getfont write setfont; |
|
property color default cl_transparent; |
|
property grid_show: boolean read frepdesigninfo.showgrid
write setgrid_show default true; |
|
property grid_snap: boolean read frepdesigninfo.snaptogrid
write setgrid_snap default true; |
|
property grid_size: real read frepdesigninfo.gridsize write setgrid_size; |
|
property canceled: boolean read getcanceled write setcanceled; |
|
property running: boolean read getrunning; |
|
property options: reportoptionsty read foptions write foptions
default defaultreportoptions; |
|
property dialogtext: msestring read fdialogtext write fdialogtext; |
|
property dialogcaption: msestring read fdialogcaption write fdialogcaption; |
|
property onpreamble: preambleeventty read fonpreamble write fonpreamble; |
|
property onreportstart: reporteventty read fonreportstart
write fonreportstart; |
|
property onbeforerender: reporteventty read fonbeforerender
write fonbeforerender; |
|
property onafterrender: reporteventty read fonafterrender
write fonafterrender; |
|
property onreportfinished: notifyeventty read fonreportfinished
write fonreportfinished; |
|
property onpagebeforerender: beforerenderpageeventty
read fonpagebeforerender write fonpagebeforerender; |
|
property onpagepaint: reportpagepainteventty read fonpagepaint
write fonpagepaint; |
|
property onpageafterpaint: reportpagepainteventty read fonpageafterpaint
write fonpageafterpaint; |
|
property onprogress: notifyeventty read fonprogress write fonprogress; |
|
Generated by PasDoc 0.16.0.