C# Class CSReportDll.cReport

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

Méthodes publiques

Méthode Description
Dispose ( ) : void
cReport ( ) : System
debugGroupKeys ( ) : string[]
debugGroupPanitKeys ( ) : string[]
endPage ( ) : csRptEndPageResult
evalPost ( ) : void
evalPostGroupFooter ( ) : void
evalPostGroupHeader ( ) : void
evalPre ( ) : void
evalPreGroupFooter ( ) : void
evalPreGroupHeader ( ) : void
getCompiler ( ) : cReportCompiler
getConnect ( ) : cReportConnect
getConnectsAux ( ) : cReportConnectsAux
getControls ( ) : cReportControls2
getDescripUser ( ) : String
getDetails ( ) : cReportSections
getExportEmailAddress ( ) : String
getFooters ( ) : cReportSections
getFormulaTypes ( ) : cReportFormulaTypes
getFormulas ( ) : cReportFormulas
getGroupAverage ( int colIndex, int indexGroup ) : double
getGroupCount ( int colIndex, int indexGroup ) : double
getGroupLineNumber ( int indexGroup ) : object
getGroupMax ( int colIndex, int indexGroup ) : double
getGroupMin ( int colIndex, int indexGroup ) : double
getGroupTotal ( int colIndex, int indexGroup ) : double
getGroups ( ) : cReportGroups
getGroupsFooters ( ) : cIReportGroupSections
getGroupsHeaders ( ) : cIReportGroupSections
getHeaders ( ) : cReportSections
getIsForWeb ( ) : bool
getLaunchInfo ( ) : cReportLaunchInfo
getLine ( cReportPageFields &fields ) : csRptGetLineResult
getLineType ( ) : csRptGetLineResult
getName ( ) : String
getPageSetting ( ) : cReportPageSettings
getPages ( ) : cReportPages
getPaperInfo ( ) : cReportPaperInfo
getPath ( ) : String
getReportDisconnected ( ) : bool
init ( cReportLaunchInfo oLaunchInfo ) : bool
launch ( ) : bool
launch ( cReportLaunchInfo oLaunchInfo ) : bool
load ( object commDialog ) : bool
loadData ( object commDialog ) : bool
loadSilent ( String fileName ) : bool
loadSilentData ( String fileName ) : bool
markGroupFooterPrinted ( ) : void
markGroupHeaderPrinted ( ) : void
moveGroup ( int from, int to ) : bool
moveToNext ( ) : void
newPage ( ) : csRptNewPageResult
save ( object commDialog, bool withDialog ) : bool
saveData ( object commDialog, bool withDialog ) : bool
setConnectsAux ( cReportConnectsAux rhs ) : void
setDatabaseEngine ( csDatabaseEngine databaseEngine ) : void
setDescripUser ( String rhs ) : void
setDetails ( cReportSections rhs ) : void
setExportEmailAddress ( String rhs ) : void
setFooters ( cReportSections rhs ) : void
setGroups ( cReportGroups rhs ) : void
setHeaders ( cReportSections rhs ) : void
setIsForWeb ( bool rhs ) : void
setLaunchInfo ( cReportLaunchInfo oLaunchInfo ) : void
setName ( String rhs ) : void
setPageSetting ( cReportPageSettings rhs ) : void
setPaperInfo ( cReportPaperInfo rhs ) : void
setPathDefault ( String rhs ) : void
setReportDisconnected ( bool rhs ) : void

Méthodes protégées

Méthode Description
OnProgress ( String task ) : bool
OnProgress ( String task, int page, int currRecord, int recordCount ) : bool
OnReportDone ( ) : void

Private Methods

Méthode Description
addFieldToNewPage ( cReportSections sections, cReportPage page, int where ) : void
addFormula ( cReportFormula formula, String name ) : void
addGroup ( int i, int j, object value ) : void
changeGroup ( int i, object value ) : void
changeRow ( int i, int j ) : void
compileReport ( ) : bool
createPageSetting ( ) : bool
evalFunctions ( int idxGroup, csRptWhenEval whenEval ) : bool
getControlsInZOrder ( cReportControls col ) : cReportControls
getCurrenPage ( ) : int
getFileName ( String fileNameWithExt ) : String
getHeightHeader ( ) : float
getLineAux ( cReportSection sec, cReportPageFields fields ) : void
getTopFooter ( ) : float
getTotalPages ( ) : int
getValue ( String controlName ) : object
getValue ( String controlName, bool notFormat ) : object
getValueFromRs ( int colIndex ) : object
getValueString ( String controlName ) : String
initControls ( List recordsets ) : bool
initGroups ( DataTable rs, String mainDataSource ) : bool
loadAux ( CSXml docXml, cReportSections sections, String keySection ) : bool
loadConnect ( CSXml docXml ) : bool
loadConnectsAux ( CSXml docXml ) : bool
loadFormulas ( CSXml docXml ) : bool
loadGroups ( CSXml docXml ) : bool
loadLaunchInfo ( CSXml docXml ) : bool
loadPaperInfo ( CSXml docXml ) : void
nLoad ( CSXml docXml ) : bool
nLoadData ( CSXml docXml ) : bool
orderDateAsc ( int first, int last, int orderBy ) : bool
orderDateDesc ( int first, int last, int orderBy ) : bool
orderNumberAsc ( int first, int last, int orderBy ) : bool
orderNumberDesc ( int first, int last, int orderBy ) : bool
orderTextAsc ( int first, int last, int orderBy ) : bool
orderTextDesc ( int first, int last, int orderBy ) : bool
pAddFormulasInSection ( cReportSections sections ) : bool
pCheckExistsGroupHToReprint ( ) : void
pCloseGroupFooters ( int i ) : void
pDestroyCrossRef ( cReportSections secs ) : void
pDestroyImages ( ) : void
pEstimateLoops ( int n ) : int
pEvalFooterToClose ( ) : bool
pEvalFooterToClose2 ( ) : bool
pEvalGroupChange ( int i ) : void
pEvalGroupChangedAux ( int i ) : void
pExistsGroupHeadersToReprint ( ) : bool
pExistsGroupToReprintInNP ( ) : void
pFixGroupIndex ( ) : void
pGetChartImage ( int indexRows, int indexField, int indexRow, cReportControl ctrl ) : Image
pGetChildGroupFooterToClose ( int idxGroupFather ) : int
pGetData ( DataTable &vRows, DataTable &rs, cReportConnect connect, bool createIndexVector, List recordsets ) : bool
pGetData ( DataTable &vRows, cReportConnect connect, bool createIndexVector, List recordsets ) : bool
pGetDataAux ( List recordsets ) : bool
pGetDataSource ( String name ) : String
pGetFileImageInTMP ( byte bytes ) : String
pGetImage ( int indexRows, int indexField, int indexRow ) : Image
pGetIndexRows ( int &indexRows, int &indexRow, int &indexField, cReportControl ctrl ) : void
pGetLineAuxDetail ( cReportPageFields fields ) : csRptGetLineResult
pGetLineAuxDoGroups ( bool &bGetNewPage ) : void
pGetLineAuxGroupFooter ( cReportPageFields fields ) : csRptGetLineResult
pGetLineAuxGroupHeader ( bool bGetNewPage, cReportPageFields fields ) : csRptGetLineResult
pGetLineAuxPrintGroupInNP ( ) : void
pGetLineAuxPrintHeader ( ) : bool
pGetLineAuxReportCancel ( ) : csRptGetLineResult
pGetLineAuxReportIsDone ( ) : csRptGetLineResult
pGetLineWork ( cReportPageFields &fields, bool &bGetNewPage ) : csRptGetLineResult
pGetLineWorkAuxReportEnd ( ) : csRptGetLineResult
pGetMainDataSource ( List recordsets ) : String
pGroupChanged ( int i, bool &bGetNewPage ) : void
pGroupChangedAux ( int i ) : void
pInitCtrls ( cReportControl ctrl, int &idx, List recordsets, String fieldName ) : bool
pInitImages ( ) : void
pInitRowFormulas ( ) : void
pIsGroupFormula ( int formulaType ) : bool
pMarkGroupHeaderPrintedAux ( ) : void
pMarkGroupHeadersToReprint ( ) : void
pNotPendingFooters ( ) : bool
pOpenGroupHeader ( int i ) : void
pReportIsDone ( ) : bool
pSetColIndexInGroupFormulaAux ( DataTable rs, cReportFormulaInt fint, String colName, String keyParam ) : void
pSetFormulaIndexGroup ( cReportFormula formula, cReportSection sec ) : void
pSetGroupFormulaHF ( cReportSections sections, int idxGrop ) : void
pSetGroupFormulaHeaders ( ) : void
pSetGroupsInCtrlFormulaHide ( ) : void
pSetGroupsInCtrlFormulaHideAux ( cReportSectionLines scls, int idxGrop ) : void
pSetIndexColInGroupFormula ( cReportFormula formula, List recordsets ) : void
pSetIndexColInGroupFormulas ( List recordsets ) : void
pSetIndexColInGroupFormulasAux ( cReportSections sections, List recordsets ) : void
pSetIndexGroupInFormulaGroups ( cReportSections sections ) : void
pSortControlsByLeft ( ) : void
pSortControlsByLeftAux1 ( cReportSections sections ) : void
redimPreserve ( T_Group &groups, int size ) : void
reportDone ( ) : void
resumeDBAccessMissing ( String connectString, bool saveInReport, CSDataBase cn ) : bool
saveDataForWeb ( cReportPage page, String dataName, String dataPath ) : bool
sortCollection ( ) : void
sortCollectionAux ( cReportSections col ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

OnProgress() protected méthode

protected OnProgress ( String task ) : bool
task String
Résultat bool

OnProgress() protected méthode

protected OnProgress ( String task, int page, int currRecord, int recordCount ) : bool
task String
page int
currRecord int
recordCount int
Résultat bool

OnReportDone() protected méthode

protected OnReportDone ( ) : void
Résultat void

cReport() public méthode

public cReport ( ) : System
Résultat System

debugGroupKeys() public méthode

public debugGroupKeys ( ) : string[]
Résultat string[]

debugGroupPanitKeys() public méthode

public debugGroupPanitKeys ( ) : string[]
Résultat string[]

endPage() public méthode

public endPage ( ) : csRptEndPageResult
Résultat csRptEndPageResult

evalPost() public méthode

public evalPost ( ) : void
Résultat void

evalPostGroupFooter() public méthode

public evalPostGroupFooter ( ) : void
Résultat void

evalPostGroupHeader() public méthode

public evalPostGroupHeader ( ) : void
Résultat void

evalPre() public méthode

public evalPre ( ) : void
Résultat void

evalPreGroupFooter() public méthode

public evalPreGroupFooter ( ) : void
Résultat void

evalPreGroupHeader() public méthode

public evalPreGroupHeader ( ) : void
Résultat void

getCompiler() public méthode

public getCompiler ( ) : cReportCompiler
Résultat cReportCompiler

getConnect() public méthode

public getConnect ( ) : cReportConnect
Résultat cReportConnect

getConnectsAux() public méthode

public getConnectsAux ( ) : cReportConnectsAux
Résultat cReportConnectsAux

getControls() public méthode

public getControls ( ) : cReportControls2
Résultat cReportControls2

getDescripUser() public méthode

public getDescripUser ( ) : String
Résultat String

getDetails() public méthode

public getDetails ( ) : cReportSections
Résultat cReportSections

getExportEmailAddress() public méthode

public getExportEmailAddress ( ) : String
Résultat String

getFooters() public méthode

public getFooters ( ) : cReportSections
Résultat cReportSections

getFormulaTypes() public méthode

public getFormulaTypes ( ) : cReportFormulaTypes
Résultat cReportFormulaTypes

getFormulas() public méthode

public getFormulas ( ) : cReportFormulas
Résultat cReportFormulas

getGroupAverage() public méthode

public getGroupAverage ( int colIndex, int indexGroup ) : double
colIndex int
indexGroup int
Résultat double

getGroupCount() public méthode

public getGroupCount ( int colIndex, int indexGroup ) : double
colIndex int
indexGroup int
Résultat double

getGroupLineNumber() public méthode

public getGroupLineNumber ( int indexGroup ) : object
indexGroup int
Résultat object

getGroupMax() public méthode

public getGroupMax ( int colIndex, int indexGroup ) : double
colIndex int
indexGroup int
Résultat double

getGroupMin() public méthode

public getGroupMin ( int colIndex, int indexGroup ) : double
colIndex int
indexGroup int
Résultat double

getGroupTotal() public méthode

public getGroupTotal ( int colIndex, int indexGroup ) : double
colIndex int
indexGroup int
Résultat double

getGroups() public méthode

public getGroups ( ) : cReportGroups
Résultat cReportGroups

getGroupsFooters() public méthode

public getGroupsFooters ( ) : cIReportGroupSections
Résultat cIReportGroupSections

getGroupsHeaders() public méthode

public getGroupsHeaders ( ) : cIReportGroupSections
Résultat cIReportGroupSections

getHeaders() public méthode

public getHeaders ( ) : cReportSections
Résultat cReportSections

getIsForWeb() public méthode

public getIsForWeb ( ) : bool
Résultat bool

getLaunchInfo() public méthode

public getLaunchInfo ( ) : cReportLaunchInfo
Résultat cReportLaunchInfo

getLine() public méthode

public getLine ( cReportPageFields &fields ) : csRptGetLineResult
fields cReportPageFields
Résultat csRptGetLineResult

getLineType() public méthode

public getLineType ( ) : csRptGetLineResult
Résultat csRptGetLineResult

getName() public méthode

public getName ( ) : String
Résultat String

getPageSetting() public méthode

public getPageSetting ( ) : cReportPageSettings
Résultat cReportPageSettings

getPages() public méthode

public getPages ( ) : cReportPages
Résultat cReportPages

getPaperInfo() public méthode

public getPaperInfo ( ) : cReportPaperInfo
Résultat cReportPaperInfo

getPath() public méthode

public getPath ( ) : String
Résultat String

getReportDisconnected() public méthode

public getReportDisconnected ( ) : bool
Résultat bool

init() public méthode

public init ( cReportLaunchInfo oLaunchInfo ) : bool
oLaunchInfo cReportLaunchInfo
Résultat bool

launch() public méthode

public launch ( ) : bool
Résultat bool

launch() public méthode

public launch ( cReportLaunchInfo oLaunchInfo ) : bool
oLaunchInfo cReportLaunchInfo
Résultat bool

load() public méthode

public load ( object commDialog ) : bool
commDialog object
Résultat bool

loadData() public méthode

public loadData ( object commDialog ) : bool
commDialog object
Résultat bool

loadSilent() public méthode

public loadSilent ( String fileName ) : bool
fileName String
Résultat bool

loadSilentData() public méthode

public loadSilentData ( String fileName ) : bool
fileName String
Résultat bool

markGroupFooterPrinted() public méthode

public markGroupFooterPrinted ( ) : void
Résultat void

markGroupHeaderPrinted() public méthode

public markGroupHeaderPrinted ( ) : void
Résultat void

moveGroup() public méthode

public moveGroup ( int from, int to ) : bool
from int
to int
Résultat bool

moveToNext() public méthode

public moveToNext ( ) : void
Résultat void

newPage() public méthode

public newPage ( ) : csRptNewPageResult
Résultat csRptNewPageResult

save() public méthode

public save ( object commDialog, bool withDialog ) : bool
commDialog object
withDialog bool
Résultat bool

saveData() public méthode

public saveData ( object commDialog, bool withDialog ) : bool
commDialog object
withDialog bool
Résultat bool

setConnectsAux() public méthode

public setConnectsAux ( cReportConnectsAux rhs ) : void
rhs cReportConnectsAux
Résultat void

setDatabaseEngine() public méthode

public setDatabaseEngine ( csDatabaseEngine databaseEngine ) : void
databaseEngine csDatabaseEngine
Résultat void

setDescripUser() public méthode

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

setDetails() public méthode

public setDetails ( cReportSections rhs ) : void
rhs cReportSections
Résultat void

setExportEmailAddress() public méthode

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

setFooters() public méthode

public setFooters ( cReportSections rhs ) : void
rhs cReportSections
Résultat void

setGroups() public méthode

public setGroups ( cReportGroups rhs ) : void
rhs cReportGroups
Résultat void

setHeaders() public méthode

public setHeaders ( cReportSections rhs ) : void
rhs cReportSections
Résultat void

setIsForWeb() public méthode

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

setLaunchInfo() public méthode

public setLaunchInfo ( cReportLaunchInfo oLaunchInfo ) : void
oLaunchInfo cReportLaunchInfo
Résultat void

setName() public méthode

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

setPageSetting() public méthode

public setPageSetting ( cReportPageSettings rhs ) : void
rhs cReportPageSettings
Résultat void

setPaperInfo() public méthode

public setPaperInfo ( cReportPaperInfo rhs ) : void
rhs cReportPaperInfo
Résultat void

setPathDefault() public méthode

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

setReportDisconnected() public méthode

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