C# Class CSReportDll.cReport

Inheritance: IDisposable
Exibir arquivo Open project: javiercrowsoft/CSReports.net Class Usage Examples

Public Methods

Method 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

Protected Methods

Method Description
OnProgress ( String task ) : bool
OnProgress ( String task, int page, int currRecord, int recordCount ) : bool
OnReportDone ( ) : void

Private Methods

Method 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 method

public Dispose ( ) : void
return void

OnProgress() protected method

protected OnProgress ( String task ) : bool
task String
return bool

OnProgress() protected method

protected OnProgress ( String task, int page, int currRecord, int recordCount ) : bool
task String
page int
currRecord int
recordCount int
return bool

OnReportDone() protected method

protected OnReportDone ( ) : void
return void

cReport() public method

public cReport ( ) : System
return System

debugGroupKeys() public method

public debugGroupKeys ( ) : string[]
return string[]

debugGroupPanitKeys() public method

public debugGroupPanitKeys ( ) : string[]
return string[]

endPage() public method

public endPage ( ) : csRptEndPageResult
return csRptEndPageResult

evalPost() public method

public evalPost ( ) : void
return void

evalPostGroupFooter() public method

public evalPostGroupFooter ( ) : void
return void

evalPostGroupHeader() public method

public evalPostGroupHeader ( ) : void
return void

evalPre() public method

public evalPre ( ) : void
return void

evalPreGroupFooter() public method

public evalPreGroupFooter ( ) : void
return void

evalPreGroupHeader() public method

public evalPreGroupHeader ( ) : void
return void

getCompiler() public method

public getCompiler ( ) : cReportCompiler
return cReportCompiler

getConnect() public method

public getConnect ( ) : cReportConnect
return cReportConnect

getConnectsAux() public method

public getConnectsAux ( ) : cReportConnectsAux
return cReportConnectsAux

getControls() public method

public getControls ( ) : cReportControls2
return cReportControls2

getDescripUser() public method

public getDescripUser ( ) : String
return String

getDetails() public method

public getDetails ( ) : cReportSections
return cReportSections

getExportEmailAddress() public method

public getExportEmailAddress ( ) : String
return String

getFooters() public method

public getFooters ( ) : cReportSections
return cReportSections

getFormulaTypes() public method

public getFormulaTypes ( ) : cReportFormulaTypes
return cReportFormulaTypes

getFormulas() public method

public getFormulas ( ) : cReportFormulas
return cReportFormulas

getGroupAverage() public method

public getGroupAverage ( int colIndex, int indexGroup ) : double
colIndex int
indexGroup int
return double

getGroupCount() public method

public getGroupCount ( int colIndex, int indexGroup ) : double
colIndex int
indexGroup int
return double

getGroupLineNumber() public method

public getGroupLineNumber ( int indexGroup ) : object
indexGroup int
return object

getGroupMax() public method

public getGroupMax ( int colIndex, int indexGroup ) : double
colIndex int
indexGroup int
return double

getGroupMin() public method

public getGroupMin ( int colIndex, int indexGroup ) : double
colIndex int
indexGroup int
return double

getGroupTotal() public method

public getGroupTotal ( int colIndex, int indexGroup ) : double
colIndex int
indexGroup int
return double

getGroups() public method

public getGroups ( ) : cReportGroups
return cReportGroups

getGroupsFooters() public method

public getGroupsFooters ( ) : cIReportGroupSections
return cIReportGroupSections

getGroupsHeaders() public method

public getGroupsHeaders ( ) : cIReportGroupSections
return cIReportGroupSections

getHeaders() public method

public getHeaders ( ) : cReportSections
return cReportSections

getIsForWeb() public method

public getIsForWeb ( ) : bool
return bool

getLaunchInfo() public method

public getLaunchInfo ( ) : cReportLaunchInfo
return cReportLaunchInfo

getLine() public method

public getLine ( cReportPageFields &fields ) : csRptGetLineResult
fields cReportPageFields
return csRptGetLineResult

getLineType() public method

public getLineType ( ) : csRptGetLineResult
return csRptGetLineResult

getName() public method

public getName ( ) : String
return String

getPageSetting() public method

public getPageSetting ( ) : cReportPageSettings
return cReportPageSettings

getPages() public method

public getPages ( ) : cReportPages
return cReportPages

getPaperInfo() public method

public getPaperInfo ( ) : cReportPaperInfo
return cReportPaperInfo

getPath() public method

public getPath ( ) : String
return String

getReportDisconnected() public method

public getReportDisconnected ( ) : bool
return bool

init() public method

public init ( cReportLaunchInfo oLaunchInfo ) : bool
oLaunchInfo cReportLaunchInfo
return bool

launch() public method

public launch ( ) : bool
return bool

launch() public method

public launch ( cReportLaunchInfo oLaunchInfo ) : bool
oLaunchInfo cReportLaunchInfo
return bool

load() public method

public load ( object commDialog ) : bool
commDialog object
return bool

loadData() public method

public loadData ( object commDialog ) : bool
commDialog object
return bool

loadSilent() public method

public loadSilent ( String fileName ) : bool
fileName String
return bool

loadSilentData() public method

public loadSilentData ( String fileName ) : bool
fileName String
return bool

markGroupFooterPrinted() public method

public markGroupFooterPrinted ( ) : void
return void

markGroupHeaderPrinted() public method

public markGroupHeaderPrinted ( ) : void
return void

moveGroup() public method

public moveGroup ( int from, int to ) : bool
from int
to int
return bool

moveToNext() public method

public moveToNext ( ) : void
return void

newPage() public method

public newPage ( ) : csRptNewPageResult
return csRptNewPageResult

save() public method

public save ( object commDialog, bool withDialog ) : bool
commDialog object
withDialog bool
return bool

saveData() public method

public saveData ( object commDialog, bool withDialog ) : bool
commDialog object
withDialog bool
return bool

setConnectsAux() public method

public setConnectsAux ( cReportConnectsAux rhs ) : void
rhs cReportConnectsAux
return void

setDatabaseEngine() public method

public setDatabaseEngine ( csDatabaseEngine databaseEngine ) : void
databaseEngine csDatabaseEngine
return void

setDescripUser() public method

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

setDetails() public method

public setDetails ( cReportSections rhs ) : void
rhs cReportSections
return void

setExportEmailAddress() public method

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

setFooters() public method

public setFooters ( cReportSections rhs ) : void
rhs cReportSections
return void

setGroups() public method

public setGroups ( cReportGroups rhs ) : void
rhs cReportGroups
return void

setHeaders() public method

public setHeaders ( cReportSections rhs ) : void
rhs cReportSections
return void

setIsForWeb() public method

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

setLaunchInfo() public method

public setLaunchInfo ( cReportLaunchInfo oLaunchInfo ) : void
oLaunchInfo cReportLaunchInfo
return void

setName() public method

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

setPageSetting() public method

public setPageSetting ( cReportPageSettings rhs ) : void
rhs cReportPageSettings
return void

setPaperInfo() public method

public setPaperInfo ( cReportPaperInfo rhs ) : void
rhs cReportPaperInfo
return void

setPathDefault() public method

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

setReportDisconnected() public method

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