C# Class CSReportPaint.cReportPrint

Inheritance: cIReportPrint, IDisposable
Show file Open project: javiercrowsoft/CSReports.net Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
cIReportPrint_PrintReport ( ) : bool
closePreviewWindow ( ) : bool
doPrint ( cIPrintClient objClient ) : bool
exportPDF ( ) : bool
exportPDFEx ( String &outputFile, bool bShowPDFWindow ) : bool
fieldIsInDetail ( int indexField ) : bool
getCtrlFooter ( String ctrlName ) : cReportPageField
getCurrPage ( ) : int
getExportFileName ( ) : String
getField ( int indexField ) : cReportPageField
getFieldByCtrlName ( String ctrlName, CSReportDll fields ) : cReportPageField
getFieldByCtrlName ( String ctrlName, CSReportDll fields, int indexField ) : cReportPageField
getFileToSavePDF ( ) : String
getIndexFieldByName ( String ctrlName ) : int
getLine ( int indexField ) : cReportPageFields
getPDFQuality ( ) : csPDFQuality
getPageImageAsBase64 ( int page ) : string
getPaintObjByCtrlNameEx ( String ctrlName, int indexField ) : cReportPaintObject
getReport ( ) : cReport
isInThisLine ( String ctrlName, int indexField, CSReportDll testFld ) : bool
makeReport ( ) : bool
makeXml ( ) : bool
previewReport ( ) : bool
printPage ( int moveTo ) : void
printPage ( int nPage, bool inPrinter ) : void
printReport ( ) : bool
refreshCtrl ( int indexField ) : void
refreshCtrlFooter ( String ctrlName ) : void
sendMail ( String files, String emailAddress ) : object
setCurrPage ( int rhs ) : void
setExportFileName ( String rhs ) : void
setFileToSavePDF ( String rhs ) : void
setHidePreviewWindow ( bool rhs ) : void
setModal ( bool rhs ) : void
setPDFQuality ( csPDFQuality rhs ) : void
setPreviewControl ( CSReportPreview rhs ) : void
setReport ( object rhs ) : void

Private Methods

Method Description
createPaintObjects ( CSReportDll fields, int offset ) : void
drawPage ( Graphics graph, bool isPrinter ) : bool
evaluateTextHeight ( string text, Font font, float width, int flags, float scaleY, float scaleX ) : float
getDetailHeight ( CSReportDll page, float &top ) : float
getLineHeight ( CSReportDll fields, float &offsetTop ) : float
m_fPreview_FormUnload ( ) : void
m_rpwPrint_BodyDblClick ( ) : void
m_rpwPrint_BodyMouseDown ( int button, int shift, float x, float y ) : void
m_rpwPrint_BodyMouseMove ( int button, int shift, float x, float y ) : void
m_rpwPrint_ChangeZoom ( int zoom ) : void
m_rpwPrint_DoPrint ( ) : void
m_rpwPrint_ExportPDF ( ) : void
m_rpwPrint_SaveDocument ( ) : void
make ( ) : bool
pCreatePaint ( ) : void
pDestroyFonts ( ) : void
pDoPrint ( cIPrintClient objClient ) : bool
pExportPDF ( String &outputFile, bool bShowPDFWindow ) : bool
pGetExportFileName ( ) : String
pGetFieldFromIndexAux ( CSReportDll fields, int index, CSReportDll &rtn ) : bool
pGetLineAux ( int indexLine, CSReportDll fields ) : cReportPageFields
pGetPagesToPrint ( String pagesToPrint ) : int[]
pGetPaintObjByCtrlName ( String ctrlName, CSReportDll fields, int offset ) : cReportPaintObject
pGetPaintObjByIndex ( int indexField ) : cReportPaintObject
pHaveToPrintThisPage ( int page, int v ) : bool
pNewPage ( float &top, float &detailHeight ) : bool
pRefreshObjClient ( int iPage, cIPrintClient objClient ) : bool
printPage ( object sender, System.Drawing.Printing.PrintPageEventArgs e ) : void
printPagesToPrinter ( cPrinter printer, cIPrintClient objClient ) : bool
printerSetSizeAndOrient ( string p, csReportPaperType csReportPaperType, int p_2 ) : void
rpwPrintBodyPaint ( object sender, PaintEventArgs e ) : void
rpwPrintMoveFirst ( object sender, EventArgs e ) : void
rpwPrintMoveLast ( object sender, EventArgs e ) : void
rpwPrintMoveNext ( object sender, EventArgs e ) : void
rpwPrintMovePrevious ( object sender, EventArgs e ) : void
rpwPrintMoveToPage ( object sender, PageEventArgs e ) : void
setPreviewForm ( ) : void
setReport ( CSReportDll rhs ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

cIReportPrint_PrintReport() public method

public cIReportPrint_PrintReport ( ) : bool
return bool

closePreviewWindow() public method

public closePreviewWindow ( ) : bool
return bool

doPrint() public method

public doPrint ( cIPrintClient objClient ) : bool
objClient cIPrintClient
return bool

exportPDF() public method

public exportPDF ( ) : bool
return bool

exportPDFEx() public method

public exportPDFEx ( String &outputFile, bool bShowPDFWindow ) : bool
outputFile String
bShowPDFWindow bool
return bool

fieldIsInDetail() public method

public fieldIsInDetail ( int indexField ) : bool
indexField int
return bool

getCtrlFooter() public method

public getCtrlFooter ( String ctrlName ) : cReportPageField
ctrlName String
return CSReportDll.cReportPageField

getCurrPage() public method

public getCurrPage ( ) : int
return int

getExportFileName() public method

public getExportFileName ( ) : String
return String

getField() public method

public getField ( int indexField ) : cReportPageField
indexField int
return CSReportDll.cReportPageField

getFieldByCtrlName() public method

public getFieldByCtrlName ( String ctrlName, CSReportDll fields ) : cReportPageField
ctrlName String
fields CSReportDll
return CSReportDll.cReportPageField

getFieldByCtrlName() public method

public getFieldByCtrlName ( String ctrlName, CSReportDll fields, int indexField ) : cReportPageField
ctrlName String
fields CSReportDll
indexField int
return CSReportDll.cReportPageField

getFileToSavePDF() public method

public getFileToSavePDF ( ) : String
return String

getIndexFieldByName() public method

public getIndexFieldByName ( String ctrlName ) : int
ctrlName String
return int

getLine() public method

public getLine ( int indexField ) : cReportPageFields
indexField int
return CSReportDll.cReportPageFields

getPDFQuality() public method

public getPDFQuality ( ) : csPDFQuality
return csPDFQuality

getPageImageAsBase64() public method

public getPageImageAsBase64 ( int page ) : string
page int
return string

getPaintObjByCtrlNameEx() public method

public getPaintObjByCtrlNameEx ( String ctrlName, int indexField ) : cReportPaintObject
ctrlName String
indexField int
return cReportPaintObject

getReport() public method

public getReport ( ) : cReport
return CSReportDll.cReport

isInThisLine() public method

public isInThisLine ( String ctrlName, int indexField, CSReportDll testFld ) : bool
ctrlName String
indexField int
testFld CSReportDll
return bool

makeReport() public method

public makeReport ( ) : bool
return bool

makeXml() public method

public makeXml ( ) : bool
return bool

previewReport() public method

public previewReport ( ) : bool
return bool

printPage() public method

public printPage ( int moveTo ) : void
moveTo int
return void

printPage() public method

public printPage ( int nPage, bool inPrinter ) : void
nPage int
inPrinter bool
return void

printReport() public method

public printReport ( ) : bool
return bool

refreshCtrl() public method

public refreshCtrl ( int indexField ) : void
indexField int
return void

refreshCtrlFooter() public method

public refreshCtrlFooter ( String ctrlName ) : void
ctrlName String
return void

sendMail() public method

public sendMail ( String files, String emailAddress ) : object
files String
emailAddress String
return object

setCurrPage() public method

public setCurrPage ( int rhs ) : void
rhs int
return void

setExportFileName() public method

public setExportFileName ( String rhs ) : void
rhs String
return void

setFileToSavePDF() public method

public setFileToSavePDF ( String rhs ) : void
rhs String
return void

setHidePreviewWindow() public method

public setHidePreviewWindow ( bool rhs ) : void
rhs bool
return void

setModal() public method

public setModal ( bool rhs ) : void
rhs bool
return void

setPDFQuality() public method

public setPDFQuality ( csPDFQuality rhs ) : void
rhs csPDFQuality
return void

setPreviewControl() public method

public setPreviewControl ( CSReportPreview rhs ) : void
rhs CSReportPreview
return void

setReport() public method

public setReport ( object rhs ) : void
rhs object
return void