StiVariableHelper Class
Namespace: Stimulsoft.Report.Engine
Methods
| Method | Returns | Description |
|---|---|---|
ApplyVariableValue static |
bool | |
ClearVariableLabels static |
void | |
FillItemsOfVariable static |
bool | |
FillItemsOfVariables static |
bool | |
GetElementIndex static |
int | |
GetRelatedVariablesList static |
List |
|
GetVariableLabel static |
string | |
IsVariableValueCalculateInReport static |
bool | |
RefreshDialogInfo static |
void | |
SetDefaultValueForRequestFromUserVariables static |
void | |
SetDefaultValueForRequestFromUserVariablesIfUserItems static |
void | |
SetVariableLabel static |
void | |
SetVariableValue static |
void |
Method Details
ApplyVariableValue static
ApplyVariableValue(report: StiReport, variable: StiVariable, variableValue: object): bool
Parameters
- report (StiReport)
- variable (StiVariable)
- variableValue (object)
Returns bool
ClearVariableLabels static
ClearVariableLabels(report: StiReport): void
Parameters
- report (StiReport)
FillItemsOfVariable static
FillItemsOfVariable(variable: StiVariable, compiledReport: StiReport, modified: bool, modeItems: bool?): bool
Parameters
- variable (StiVariable)
- compiledReport (StiReport)
- modified (bool)
- modeItems (bool?)
Returns bool
FillItemsOfVariables static
FillItemsOfVariables(compiledReport: StiReport, modeItems: bool?): bool
Parameters
- compiledReport (StiReport)
- modeItems (bool?)
Returns bool
GetElementIndex static
GetElementIndex(info: StiDialogInfo, value: object): int
Parameters
- info (StiDialogInfo)
- value (object)
Returns int
GetRelatedVariablesList static
GetRelatedVariablesList(report: StiReport, var: StiVariable): List
Parameters
- report (StiReport)
- var (StiVariable)
Returns List
GetVariableLabel static
GetVariableLabel(report: StiReport, variableName: string): string
Parameters
- report (StiReport)
- variableName (string)
Returns string
IsVariableValueCalculateInReport static
IsVariableValueCalculateInReport(report: StiReport, variableName: string): bool
Parameters
- report (StiReport)
- variableName (string)
Returns bool
RefreshDialogInfo static
RefreshDialogInfo(report: StiReport, var: StiVariable): void
Parameters
- report (StiReport)
- var (StiVariable)
SetDefaultValueForRequestFromUserVariables static
SetDefaultValueForRequestFromUserVariables(report: StiReport, haveVars: bool, allowParseQuery: bool, isConnectToDataV2: bool): void
Parameters
- report (StiReport)
- haveVars (bool)
- allowParseQuery (bool)
- isConnectToDataV2 (bool)
SetDefaultValueForRequestFromUserVariablesIfUserItems static
SetDefaultValueForRequestFromUserVariablesIfUserItems(report: StiReport): void
Parameters
- report (StiReport)
SetVariableLabel static
SetVariableLabel(report: StiReport, variable: StiVariable, label: string): void
Parameters
- report (StiReport)
- variable (StiVariable)
- label (string)
SetVariableValue static
SetVariableValue(report: StiReport, variable: StiVariable, variableValue: object): void
Parameters
- report (StiReport)
- variable (StiVariable)
- variableValue (object)