Units documentation

rpqtdriver.pas

Description

This unit implements the QT print driver for Windows and Linux.The output may be a bitmap or the printer.

Components and classes

Name Base class Description
TRpQtDriver TInterfacedObject, IRpPrintDriver Implementation of the Qt print driver print driver using CLX library
TFRpQtProgress TForm Dialog to show the progress of report and print processing

Functions

Declaration Description
procedure PageSizeSelection (rpPageSize:TPageSizeQt); Selects a page size
procedure OrientationSelection (neworientation:TRpOrientation); Selects a orientation
function PrintMetafile (metafile:TRpMetafileReport; tittle:string; showprogress,allpages:boolean; frompage,topage,copies:integer; collate:boolean; printerindex:TRpPrinterSelect):boolean; Prints a metafile
function CalcReportWidthProgress (report:TRpReport):boolean; Calculates the report
function PrintReport (report:TRpReport; Caption:string; progress:boolean; allpages:boolean; frompage,topage,copies:integer; collate:boolean):Boolean; Print a report
function ExportReportToPDF (report:TRpReport; Caption:string; progress:boolean; allpages:boolean; frompage,topage:integer; showprintdialog:boolean; filename:string;compressed:boolean):Boolean; Saves a report as a pdf file
function DoShowPrintDialog (var allpages:boolean; var frompage,topage,copies:integer; var collate:boolean; disablecopies:boolean=false):boolean; Print Dialog
function PrinterSelection (printerindex:TRpPrinterSelect):TPoint; Printer selection