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

Overview

Fields

Protected frepdesigninfo: repdesigninfoty;
Protected freppages: reportpagearty;
Protected fdefaultprintorientation: pageorientationty;

Methods

Protected class function hasresource: boolean override;
Protected procedure updatepagesize;
Protected procedure dopagebeforerender(const sender: tcustomreportpage; var empty: boolean);
Protected procedure dopagepaint(const sender: tcustomreportpage; const acanvas: tcanvas);
Protected procedure dopageafterpaint(const sender: tcustomreportpage; const acanvas: tcanvas);
Protected procedure internalrender(const acanvas: tcanvas; const aprinter: tcustomprinter; const acommand: msestring; const astream: ttextstream; const anilstream: boolean; const onafterrender: reporteventty);
Protected procedure initpage(const apage: tcustomreportpage);
Protected procedure unregisterchildwidget(const child: twidget); override;
Protected procedure getchildren(proc: tgetchildproc; root: tcomponent); override;
Protected procedure defineproperties(filer: tfiler); override;
Protected procedure nextpage(const acanvas: tcanvas);
Protected procedure doprogress;
Protected procedure doasyncevent(var atag: integer); override;
Protected procedure notification(acomponent: tcomponent; operation: toperation); override;
Protected procedure setfont(const avalue: trepfont);
Protected function getfont: trepfont;
Protected function getfontclass: widgetfontclassty; override;
Protected function getdialogcaption: msestring virtual;
Protected function getdialogtext: msestring virtual;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure insertwidget(const awidget: twidget; const apos: pointty) override;
Public function add(const apage: tcustomreportpage; aindex: int32 = bigint): tcustomreportpage;
Public procedure delete(const aindex: int32);
Public procedure clear();
Public procedure movepage(const curindex,newindex: int32);
Public procedure render(const acanvas: tcanvas; const onafterrender: reporteventty = nil); overload;
Public procedure render(const aprinter: tstreamprinter; const command: msestring = ''; const onafterrender: reporteventty = nil); overload;
Public procedure render(const aprinter: tstreamprinter; const astream: ttextstream; const onafterrender: reporteventty = nil); overload;
Public procedure render(const aprinter: tcustomgdiprinter; const onafterrender: reporteventty = nil); overload;
Public procedure waitfor;
Public function prepass: boolean;
Public procedure restart;
Public procedure recordchanged;
Public function reppagecount: integer;
Public procedure finish;

Properties

Public property ppmm: real read fppmm write setppmm;
Public property pagewidth: real read fpagewidth write setpagewidth;
Public property pageheight: real read fpageheight write setpageheight;
Public property reppages[index:integer]: tcustomreportpage read getreppages write setreppages;
Public property pagenum: integer read fpagenum ;
Public property lastpagecount: integer read flastpagecount write flastpagecount;
Public property activepage: integer read factivepage write setactivepage;
Public property printstarttime: tdatetime read fprintstarttime write fprintstarttime;
Public property nilstream: boolean read fnilstream;
Public property font: trepfont read getfont write setfont;
Public property color default cl_transparent;
Public property grid_show: boolean read frepdesigninfo.showgrid write setgrid_show default true;
Public property grid_snap: boolean read frepdesigninfo.snaptogrid write setgrid_snap default true;
Public property grid_size: real read frepdesigninfo.gridsize write setgrid_size;
Public property canceled: boolean read getcanceled write setcanceled;
Public property running: boolean read getrunning;
Public property options: reportoptionsty read foptions write foptions default defaultreportoptions;
Public property dialogtext: msestring read fdialogtext write fdialogtext;
Public property dialogcaption: msestring read fdialogcaption write fdialogcaption;
Public property onpreamble: preambleeventty read fonpreamble write fonpreamble;
Public property onreportstart: reporteventty read fonreportstart write fonreportstart;
Public property onbeforerender: reporteventty read fonbeforerender write fonbeforerender;
Public property onafterrender: reporteventty read fonafterrender write fonafterrender;
Public property onreportfinished: notifyeventty read fonreportfinished write fonreportfinished;
Public property onpagebeforerender: beforerenderpageeventty read fonpagebeforerender write fonpagebeforerender;
Public property onpagepaint: reportpagepainteventty read fonpagepaint write fonpagepaint;
Public property onpageafterpaint: reportpagepainteventty read fonpageafterpaint write fonpageafterpaint;
Public property onprogress: notifyeventty read fonprogress write fonprogress;

Description

Fields

Protected frepdesigninfo: repdesigninfoty;
 
Protected freppages: reportpagearty;
 
Protected fdefaultprintorientation: pageorientationty;
 

Methods

Protected class function hasresource: boolean override;
 
Protected procedure updatepagesize;
 
Protected procedure dopagebeforerender(const sender: tcustomreportpage; var empty: boolean);
 
Protected procedure dopagepaint(const sender: tcustomreportpage; const acanvas: tcanvas);
 
Protected procedure dopageafterpaint(const sender: tcustomreportpage; const acanvas: tcanvas);
 
Protected procedure internalrender(const acanvas: tcanvas; const aprinter: tcustomprinter; const acommand: msestring; const astream: ttextstream; const anilstream: boolean; const onafterrender: reporteventty);
 
Protected procedure initpage(const apage: tcustomreportpage);
 
Protected procedure unregisterchildwidget(const child: twidget); override;
 
Protected procedure getchildren(proc: tgetchildproc; root: tcomponent); override;
 
Protected procedure defineproperties(filer: tfiler); override;
 
Protected procedure nextpage(const acanvas: tcanvas);
 
Protected procedure doprogress;
 
Protected procedure doasyncevent(var atag: integer); override;
 
Protected procedure notification(acomponent: tcomponent; operation: toperation); override;
 
Protected procedure setfont(const avalue: trepfont);
 
Protected function getfont: trepfont;
 
Protected function getfontclass: widgetfontclassty; override;
 
Protected function getdialogcaption: msestring virtual;
 
Protected function getdialogtext: msestring virtual;
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy; override;
 
Public procedure insertwidget(const awidget: twidget; const apos: pointty) override;
 
Public function add(const apage: tcustomreportpage; aindex: int32 = bigint): tcustomreportpage;
 
Public procedure delete(const aindex: int32);
 
Public procedure clear();
 
Public procedure movepage(const curindex,newindex: int32);
 
Public procedure render(const acanvas: tcanvas; const onafterrender: reporteventty = nil); overload;
 
Public procedure render(const aprinter: tstreamprinter; const command: msestring = ''; const onafterrender: reporteventty = nil); overload;
 
Public procedure render(const aprinter: tstreamprinter; const astream: ttextstream; const onafterrender: reporteventty = nil); overload;
 
Public procedure render(const aprinter: tcustomgdiprinter; const onafterrender: reporteventty = nil); overload;
 
Public procedure waitfor;
 
Public function prepass: boolean;
 
Public procedure restart;
 
Public procedure recordchanged;
 
Public function reppagecount: integer;
 
Public procedure finish;
 

Properties

Public property ppmm: real read fppmm write setppmm;
 
Public property pagewidth: real read fpagewidth write setpagewidth;
 
Public property pageheight: real read fpageheight write setpageheight;
 
Public property reppages[index:integer]: tcustomreportpage read getreppages write setreppages;
 
Public property pagenum: integer read fpagenum ;
 
Public property lastpagecount: integer read flastpagecount write flastpagecount;
 
Public property activepage: integer read factivepage write setactivepage;
 
Public property printstarttime: tdatetime read fprintstarttime write fprintstarttime;
 
Public property nilstream: boolean read fnilstream;
 
Public property font: trepfont read getfont write setfont;
 
Public property color default cl_transparent;
 
Public property grid_show: boolean read frepdesigninfo.showgrid write setgrid_show default true;
 
Public property grid_snap: boolean read frepdesigninfo.snaptogrid write setgrid_snap default true;
 
Public property grid_size: real read frepdesigninfo.gridsize write setgrid_size;
 
Public property canceled: boolean read getcanceled write setcanceled;
 
Public property running: boolean read getrunning;
 
Public property options: reportoptionsty read foptions write foptions default defaultreportoptions;
 
Public property dialogtext: msestring read fdialogtext write fdialogtext;
 
Public property dialogcaption: msestring read fdialogcaption write fdialogcaption;
 
Public property onpreamble: preambleeventty read fonpreamble write fonpreamble;
 
Public property onreportstart: reporteventty read fonreportstart write fonreportstart;
 
Public property onbeforerender: reporteventty read fonbeforerender write fonbeforerender;
 
Public property onafterrender: reporteventty read fonafterrender write fonafterrender;
 
Public property onreportfinished: notifyeventty read fonreportfinished write fonreportfinished;
 
Public property onpagebeforerender: beforerenderpageeventty read fonpagebeforerender write fonpagebeforerender;
 
Public property onpagepaint: reportpagepainteventty read fonpagepaint write fonpagepaint;
 
Public property onpageafterpaint: reportpagepainteventty read fonpageafterpaint write fonpageafterpaint;
 
Public property onprogress: notifyeventty read fonprogress write fonprogress;
 

Generated by PasDoc 0.16.0.