C# Class CSReportPaint.cReportPrint

Inheritance: cIReportPrint, IDisposable
Afficher le fichier Open project: javiercrowsoft/CSReports.net Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Dispose ( ) : void
Résultat void

cIReportPrint_PrintReport() public méthode

public cIReportPrint_PrintReport ( ) : bool
Résultat bool

closePreviewWindow() public méthode

public closePreviewWindow ( ) : bool
Résultat bool

doPrint() public méthode

public doPrint ( cIPrintClient objClient ) : bool
objClient cIPrintClient
Résultat bool

exportPDF() public méthode

public exportPDF ( ) : bool
Résultat bool

exportPDFEx() public méthode

public exportPDFEx ( String &outputFile, bool bShowPDFWindow ) : bool
outputFile String
bShowPDFWindow bool
Résultat bool

fieldIsInDetail() public méthode

public fieldIsInDetail ( int indexField ) : bool
indexField int
Résultat bool

getCtrlFooter() public méthode

public getCtrlFooter ( String ctrlName ) : cReportPageField
ctrlName String
Résultat CSReportDll.cReportPageField

getCurrPage() public méthode

public getCurrPage ( ) : int
Résultat int

getExportFileName() public méthode

public getExportFileName ( ) : String
Résultat String

getField() public méthode

public getField ( int indexField ) : cReportPageField
indexField int
Résultat CSReportDll.cReportPageField

getFieldByCtrlName() public méthode

public getFieldByCtrlName ( String ctrlName, CSReportDll fields ) : cReportPageField
ctrlName String
fields CSReportDll
Résultat CSReportDll.cReportPageField

getFieldByCtrlName() public méthode

public getFieldByCtrlName ( String ctrlName, CSReportDll fields, int indexField ) : cReportPageField
ctrlName String
fields CSReportDll
indexField int
Résultat CSReportDll.cReportPageField

getFileToSavePDF() public méthode

public getFileToSavePDF ( ) : String
Résultat String

getIndexFieldByName() public méthode

public getIndexFieldByName ( String ctrlName ) : int
ctrlName String
Résultat int

getLine() public méthode

public getLine ( int indexField ) : cReportPageFields
indexField int
Résultat CSReportDll.cReportPageFields

getPDFQuality() public méthode

public getPDFQuality ( ) : csPDFQuality
Résultat csPDFQuality

getPageImageAsBase64() public méthode

public getPageImageAsBase64 ( int page ) : string
page int
Résultat string

getPaintObjByCtrlNameEx() public méthode

public getPaintObjByCtrlNameEx ( String ctrlName, int indexField ) : cReportPaintObject
ctrlName String
indexField int
Résultat cReportPaintObject

getReport() public méthode

public getReport ( ) : cReport
Résultat CSReportDll.cReport

isInThisLine() public méthode

public isInThisLine ( String ctrlName, int indexField, CSReportDll testFld ) : bool
ctrlName String
indexField int
testFld CSReportDll
Résultat bool

makeReport() public méthode

public makeReport ( ) : bool
Résultat bool

makeXml() public méthode

public makeXml ( ) : bool
Résultat bool

previewReport() public méthode

public previewReport ( ) : bool
Résultat bool

printPage() public méthode

public printPage ( int moveTo ) : void
moveTo int
Résultat void

printPage() public méthode

public printPage ( int nPage, bool inPrinter ) : void
nPage int
inPrinter bool
Résultat void

printReport() public méthode

public printReport ( ) : bool
Résultat bool

refreshCtrl() public méthode

public refreshCtrl ( int indexField ) : void
indexField int
Résultat void

refreshCtrlFooter() public méthode

public refreshCtrlFooter ( String ctrlName ) : void
ctrlName String
Résultat void

sendMail() public méthode

public sendMail ( String files, String emailAddress ) : object
files String
emailAddress String
Résultat object

setCurrPage() public méthode

public setCurrPage ( int rhs ) : void
rhs int
Résultat void

setExportFileName() public méthode

public setExportFileName ( String rhs ) : void
rhs String
Résultat void

setFileToSavePDF() public méthode

public setFileToSavePDF ( String rhs ) : void
rhs String
Résultat void

setHidePreviewWindow() public méthode

public setHidePreviewWindow ( bool rhs ) : void
rhs bool
Résultat void

setModal() public méthode

public setModal ( bool rhs ) : void
rhs bool
Résultat void

setPDFQuality() public méthode

public setPDFQuality ( csPDFQuality rhs ) : void
rhs csPDFQuality
Résultat void

setPreviewControl() public méthode

public setPreviewControl ( CSReportPreview rhs ) : void
rhs CSReportPreview
Résultat void

setReport() public méthode

public setReport ( object rhs ) : void
rhs object
Résultat void