C# Класс CSReportDll.cReport

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
OnProgress ( String task ) : bool
OnProgress ( String task, int page, int currRecord, int recordCount ) : bool
OnReportDone ( ) : void

Приватные методы

Метод Описание
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

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

OnProgress() защищенный Метод

protected OnProgress ( String task ) : bool
task String
Результат bool

OnProgress() защищенный Метод

protected OnProgress ( String task, int page, int currRecord, int recordCount ) : bool
task String
page int
currRecord int
recordCount int
Результат bool

OnReportDone() защищенный Метод

protected OnReportDone ( ) : void
Результат void

cReport() публичный Метод

public cReport ( ) : System
Результат System

debugGroupKeys() публичный Метод

public debugGroupKeys ( ) : string[]
Результат string[]

debugGroupPanitKeys() публичный Метод

public debugGroupPanitKeys ( ) : string[]
Результат string[]

endPage() публичный Метод

public endPage ( ) : csRptEndPageResult
Результат csRptEndPageResult

evalPost() публичный Метод

public evalPost ( ) : void
Результат void

evalPostGroupFooter() публичный Метод

public evalPostGroupFooter ( ) : void
Результат void

evalPostGroupHeader() публичный Метод

public evalPostGroupHeader ( ) : void
Результат void

evalPre() публичный Метод

public evalPre ( ) : void
Результат void

evalPreGroupFooter() публичный Метод

public evalPreGroupFooter ( ) : void
Результат void

evalPreGroupHeader() публичный Метод

public evalPreGroupHeader ( ) : void
Результат void

getCompiler() публичный Метод

public getCompiler ( ) : cReportCompiler
Результат cReportCompiler

getConnect() публичный Метод

public getConnect ( ) : cReportConnect
Результат cReportConnect

getConnectsAux() публичный Метод

public getConnectsAux ( ) : cReportConnectsAux
Результат cReportConnectsAux

getControls() публичный Метод

public getControls ( ) : cReportControls2
Результат cReportControls2

getDescripUser() публичный Метод

public getDescripUser ( ) : String
Результат String

getDetails() публичный Метод

public getDetails ( ) : cReportSections
Результат cReportSections

getExportEmailAddress() публичный Метод

public getExportEmailAddress ( ) : String
Результат String

getFooters() публичный Метод

public getFooters ( ) : cReportSections
Результат cReportSections

getFormulaTypes() публичный Метод

public getFormulaTypes ( ) : cReportFormulaTypes
Результат cReportFormulaTypes

getFormulas() публичный Метод

public getFormulas ( ) : cReportFormulas
Результат cReportFormulas

getGroupAverage() публичный Метод

public getGroupAverage ( int colIndex, int indexGroup ) : double
colIndex int
indexGroup int
Результат double

getGroupCount() публичный Метод

public getGroupCount ( int colIndex, int indexGroup ) : double
colIndex int
indexGroup int
Результат double

getGroupLineNumber() публичный Метод

public getGroupLineNumber ( int indexGroup ) : object
indexGroup int
Результат object

getGroupMax() публичный Метод

public getGroupMax ( int colIndex, int indexGroup ) : double
colIndex int
indexGroup int
Результат double

getGroupMin() публичный Метод

public getGroupMin ( int colIndex, int indexGroup ) : double
colIndex int
indexGroup int
Результат double

getGroupTotal() публичный Метод

public getGroupTotal ( int colIndex, int indexGroup ) : double
colIndex int
indexGroup int
Результат double

getGroups() публичный Метод

public getGroups ( ) : cReportGroups
Результат cReportGroups

getGroupsFooters() публичный Метод

public getGroupsFooters ( ) : cIReportGroupSections
Результат cIReportGroupSections

getGroupsHeaders() публичный Метод

public getGroupsHeaders ( ) : cIReportGroupSections
Результат cIReportGroupSections

getHeaders() публичный Метод

public getHeaders ( ) : cReportSections
Результат cReportSections

getIsForWeb() публичный Метод

public getIsForWeb ( ) : bool
Результат bool

getLaunchInfo() публичный Метод

public getLaunchInfo ( ) : cReportLaunchInfo
Результат cReportLaunchInfo

getLine() публичный Метод

public getLine ( cReportPageFields &fields ) : csRptGetLineResult
fields cReportPageFields
Результат csRptGetLineResult

getLineType() публичный Метод

public getLineType ( ) : csRptGetLineResult
Результат csRptGetLineResult

getName() публичный Метод

public getName ( ) : String
Результат String

getPageSetting() публичный Метод

public getPageSetting ( ) : cReportPageSettings
Результат cReportPageSettings

getPages() публичный Метод

public getPages ( ) : cReportPages
Результат cReportPages

getPaperInfo() публичный Метод

public getPaperInfo ( ) : cReportPaperInfo
Результат cReportPaperInfo

getPath() публичный Метод

public getPath ( ) : String
Результат String

getReportDisconnected() публичный Метод

public getReportDisconnected ( ) : bool
Результат bool

init() публичный Метод

public init ( cReportLaunchInfo oLaunchInfo ) : bool
oLaunchInfo cReportLaunchInfo
Результат bool

launch() публичный Метод

public launch ( ) : bool
Результат bool

launch() публичный Метод

public launch ( cReportLaunchInfo oLaunchInfo ) : bool
oLaunchInfo cReportLaunchInfo
Результат bool

load() публичный Метод

public load ( object commDialog ) : bool
commDialog object
Результат bool

loadData() публичный Метод

public loadData ( object commDialog ) : bool
commDialog object
Результат bool

loadSilent() публичный Метод

public loadSilent ( String fileName ) : bool
fileName String
Результат bool

loadSilentData() публичный Метод

public loadSilentData ( String fileName ) : bool
fileName String
Результат bool

markGroupFooterPrinted() публичный Метод

public markGroupFooterPrinted ( ) : void
Результат void

markGroupHeaderPrinted() публичный Метод

public markGroupHeaderPrinted ( ) : void
Результат void

moveGroup() публичный Метод

public moveGroup ( int from, int to ) : bool
from int
to int
Результат bool

moveToNext() публичный Метод

public moveToNext ( ) : void
Результат void

newPage() публичный Метод

public newPage ( ) : csRptNewPageResult
Результат csRptNewPageResult

save() публичный Метод

public save ( object commDialog, bool withDialog ) : bool
commDialog object
withDialog bool
Результат bool

saveData() публичный Метод

public saveData ( object commDialog, bool withDialog ) : bool
commDialog object
withDialog bool
Результат bool

setConnectsAux() публичный Метод

public setConnectsAux ( cReportConnectsAux rhs ) : void
rhs cReportConnectsAux
Результат void

setDatabaseEngine() публичный Метод

public setDatabaseEngine ( csDatabaseEngine databaseEngine ) : void
databaseEngine csDatabaseEngine
Результат void

setDescripUser() публичный Метод

public setDescripUser ( String rhs ) : void
rhs String
Результат void

setDetails() публичный Метод

public setDetails ( cReportSections rhs ) : void
rhs cReportSections
Результат void

setExportEmailAddress() публичный Метод

public setExportEmailAddress ( String rhs ) : void
rhs String
Результат void

setFooters() публичный Метод

public setFooters ( cReportSections rhs ) : void
rhs cReportSections
Результат void

setGroups() публичный Метод

public setGroups ( cReportGroups rhs ) : void
rhs cReportGroups
Результат void

setHeaders() публичный Метод

public setHeaders ( cReportSections rhs ) : void
rhs cReportSections
Результат void

setIsForWeb() публичный Метод

public setIsForWeb ( bool rhs ) : void
rhs bool
Результат void

setLaunchInfo() публичный Метод

public setLaunchInfo ( cReportLaunchInfo oLaunchInfo ) : void
oLaunchInfo cReportLaunchInfo
Результат void

setName() публичный Метод

public setName ( String rhs ) : void
rhs String
Результат void

setPageSetting() публичный Метод

public setPageSetting ( cReportPageSettings rhs ) : void
rhs cReportPageSettings
Результат void

setPaperInfo() публичный Метод

public setPaperInfo ( cReportPaperInfo rhs ) : void
rhs cReportPaperInfo
Результат void

setPathDefault() публичный Метод

public setPathDefault ( String rhs ) : void
rhs String
Результат void

setReportDisconnected() публичный Метод

public setReportDisconnected ( bool rhs ) : void
rhs bool
Результат void