public ChartCellAlignment EvaluateAlignment(IReportScopeInstance reportScopeInstance, OnDemandProcessingContext context)
 {
     context.SetupContext(base.m_chart, reportScopeInstance);
     return(EnumTranslator.TranslateChartCellAlignment(context.ReportRuntime.EvaluateChartLegendCustomItemCellAlignmentExpression(this, base.m_chart.Name), context.ReportRuntime));
 }
Esempio n. 2
0
        internal void GetStyleAttribute(Microsoft.ReportingServices.ReportProcessing.ObjectType objectType, string objectName, string styleAttributeName, OnDemandProcessingContext context, ref bool sharedFormatSettings, out int styleIntValue)
        {
            styleIntValue = 0;
            AttributeInfo styleAttribute = null;

            if (!GetAttributeInfo(styleAttributeName, out styleAttribute))
            {
                return;
            }
            if (styleAttribute.IsExpression)
            {
                sharedFormatSettings = false;
                object obj = EvaluateStyle(objectType, objectName, styleAttributeName, context);
                if (obj != null)
                {
                    styleIntValue = (int)obj;
                }
            }
            else
            {
                styleIntValue = styleAttribute.IntValue;
            }
        }
Esempio n. 3
0
        internal object EvaluateStyle(Microsoft.ReportingServices.ReportProcessing.ObjectType objectType, string objectName, AttributeInfo attribute, StyleId styleId, OnDemandProcessingContext context)
        {
            if (attribute != null)
            {
                if (!attribute.IsExpression)
                {
                    if (StyleId.NumeralLanguage == styleId || StyleId.BackgroundImageSource == styleId)
                    {
                        return(attribute.IntValue);
                    }
                    if (attribute.Value != null && attribute.Value.Length != 0)
                    {
                        return(attribute.Value);
                    }
                    return(null);
                }
                switch (styleId)
                {
                case StyleId.BackgroundImageSource:
                    return(null);

                case StyleId.BackgroundImageValue:
                {
                    AttributeInfo attributeInfo = m_styleAttributes["BackgroundImageSource"];
                    if (attributeInfo == null)
                    {
                        return(null);
                    }
                    switch (attributeInfo.IntValue)
                    {
                    case 2:
                        return(context.ReportRuntime.EvaluateStyleBackgroundDatabaseImageValue(this, m_expressionList[attribute.IntValue], objectType, objectName));

                    case 1:
                        return(context.ReportRuntime.EvaluateStyleBackgroundEmbeddedImageValue(this, m_expressionList[attribute.IntValue], context.EmbeddedImages, objectType, objectName));

                    case 0:
                        return(context.ReportRuntime.EvaluateStyleBackgroundUrlImageValue(this, m_expressionList[attribute.IntValue], objectType, objectName));
                    }
                    break;
                }

                case StyleId.BackgroundImageMimeType:
                    return(context.ReportRuntime.EvaluateStyleBackgroundImageMIMEType(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BackgroundImageRepeat:
                    return(context.ReportRuntime.EvaluateStyleBackgroundRepeat(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BackgroundColor:
                    return(context.ReportRuntime.EvaluateStyleBackgroundColor(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BackgroundGradientType:
                    return(context.ReportRuntime.EvaluateStyleBackgroundGradientType(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BackgroundGradientEndColor:
                    return(context.ReportRuntime.EvaluateStyleBackgroundGradientEndColor(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.Color:
                    return(context.ReportRuntime.EvaluateStyleColor(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.FontSize:
                    return(context.ReportRuntime.EvaluateStyleFontSize(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.FontStyle:
                    return(context.ReportRuntime.EvaluateStyleFontStyle(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.FontFamily:
                    return(context.ReportRuntime.EvaluateStyleFontFamily(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.FontWeight:
                    return(context.ReportRuntime.EvaluateStyleFontWeight(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.Format:
                    return(context.ReportRuntime.EvaluateStyleFormat(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.TextDecoration:
                    return(context.ReportRuntime.EvaluateStyleTextDecoration(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.TextAlign:
                    return(context.ReportRuntime.EvaluateStyleTextAlign(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.VerticalAlign:
                    return(context.ReportRuntime.EvaluateStyleVerticalAlign(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.Direction:
                    return(context.ReportRuntime.EvaluateStyleDirection(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.WritingMode:
                    return(context.ReportRuntime.EvaluateStyleWritingMode(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.Language:
                    return(context.ReportRuntime.EvaluateStyleLanguage(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.UnicodeBiDi:
                    return(context.ReportRuntime.EvaluateStyleUnicodeBiDi(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.Calendar:
                    return(context.ReportRuntime.EvaluateStyleCalendar(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.CurrencyLanguage:
                    return(context.ReportRuntime.EvaluateStyleCurrencyLanguage(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.NumeralLanguage:
                    return(context.ReportRuntime.EvaluateStyleNumeralLanguage(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.LineHeight:
                    return(context.ReportRuntime.EvaluateStyleLineHeight(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.NumeralVariant:
                    return(context.ReportRuntime.EvaluateStyleNumeralVariant(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BorderColor:
                    return(context.ReportRuntime.EvaluateStyleBorderColor(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BorderColorBottom:
                    return(context.ReportRuntime.EvaluateStyleBorderColorBottom(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BorderColorLeft:
                    return(context.ReportRuntime.EvaluateStyleBorderColorLeft(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BorderColorRight:
                    return(context.ReportRuntime.EvaluateStyleBorderColorRight(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BorderColorTop:
                    return(context.ReportRuntime.EvaluateStyleBorderColorTop(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BorderStyle:
                    return(context.ReportRuntime.EvaluateStyleBorderStyle(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BorderStyleTop:
                    return(context.ReportRuntime.EvaluateStyleBorderStyleTop(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BorderStyleLeft:
                    return(context.ReportRuntime.EvaluateStyleBorderStyleLeft(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BorderStyleRight:
                    return(context.ReportRuntime.EvaluateStyleBorderStyleRight(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BorderStyleBottom:
                    return(context.ReportRuntime.EvaluateStyleBorderStyleBottom(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BorderWidth:
                    return(context.ReportRuntime.EvaluateStyleBorderWidth(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BorderWidthTop:
                    return(context.ReportRuntime.EvaluateStyleBorderWidthTop(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BorderWidthLeft:
                    return(context.ReportRuntime.EvaluateStyleBorderWidthLeft(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BorderWidthRight:
                    return(context.ReportRuntime.EvaluateStyleBorderWidthRight(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BorderWidthBottom:
                    return(context.ReportRuntime.EvaluateStyleBorderWidthBottom(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.PaddingLeft:
                    return(context.ReportRuntime.EvaluateStylePaddingLeft(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.PaddingRight:
                    return(context.ReportRuntime.EvaluateStylePaddingRight(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.PaddingTop:
                    return(context.ReportRuntime.EvaluateStylePaddingTop(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.PaddingBottom:
                    return(context.ReportRuntime.EvaluateStylePaddingBottom(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.TextEffect:
                    return(context.ReportRuntime.EvaluateStyleTextEffect(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.ShadowColor:
                    return(context.ReportRuntime.EvaluateStyleShadowColor(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.ShadowOffset:
                    return(context.ReportRuntime.EvaluateStyleShadowOffset(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.BackgroundHatchType:
                    return(context.ReportRuntime.EvaluateStyleBackgroundHatchType(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.Position:
                    return(context.ReportRuntime.EvaluatePosition(this, m_expressionList[attribute.IntValue], objectType, objectName));

                case StyleId.TransparentColor:
                    return(context.ReportRuntime.EvaluateTransparentColor(this, m_expressionList[attribute.IntValue], objectType, objectName));
                }
            }
            return(null);
        }
Esempio n. 4
0
 public string EvaluateDynamicHeight(AspNetCore.ReportingServices.OnDemandReportRendering.ChartInstance chartInstance, OnDemandProcessingContext context)
 {
     if (this.m_dynamicHeight == null)
     {
         return(null);
     }
     context.SetupContext(this, chartInstance);
     return(context.ReportRuntime.EvaluateChartDynamicSizeExpression(this, this.m_dynamicHeight, "DynamicHeight", false));
 }
Esempio n. 5
0
        public RuntimeDataTablixGroupRootObj(IReference <IScope> outerScope, AspNetCore.ReportingServices.ReportIntermediateFormat.ReportHierarchyNode dynamicMember, ref DataActions dataAction, OnDemandProcessingContext odpContext, IReference <RuntimeMemberObj>[] innerGroupings, bool outermostStatics, int headingLevel, AspNetCore.ReportingServices.ReportProcessing.ObjectType objectType)
            : base(outerScope, dynamicMember, dataAction, odpContext, objectType)
        {
            this.m_innerGroupings   = innerGroupings;
            this.m_headingLevel     = headingLevel;
            this.m_outermostStatics = outermostStatics;
            this.m_hasLeafCells     = false;
            HierarchyNodeList innerStaticMembersInSameScope = dynamicMember.InnerStaticMembersInSameScope;

            this.m_hasLeafCells = (!dynamicMember.HasInnerDynamic || (innerStaticMembersInSameScope != null && innerStaticMembersInSameScope.LeafCellIndexes != null));
            if (innerGroupings == null && innerStaticMembersInSameScope != null && innerStaticMembersInSameScope.LeafCellIndexes != null)
            {
                goto IL_0075;
            }
            if (innerGroupings != null && outermostStatics)
            {
                goto IL_0075;
            }
            goto IL_0084;
IL_0084:
            if (this.m_hasLeafCells && outermostStatics)
            {
                this.m_processOutermostStaticCells = true;
            }
            this.NeedProcessDataActions(dynamicMember);
            this.NeedProcessDataActions(dynamicMember.InnerStaticMembersInSameScope);
            if (dynamicMember.Grouping.Filters == null)
            {
                dataAction = DataActions.None;
            }
            if (!this.m_processOutermostStaticCells && !this.m_processStaticCellsForRVs)
            {
                return;
            }
            if (dynamicMember.DataRegionDef.CellPostSortAggregates == null && dynamicMember.DataRegionDef.CellRunningValues == null)
            {
                return;
            }
            base.m_dataAction |= DataActions.PostSortAggregates;
            return;

IL_0075:
            if (this.m_hasLeafCells)
            {
                this.m_processStaticCellsForRVs = true;
            }
            goto IL_0084;
        }
Esempio n. 6
0
 public double EvaluateShadowIntensity(IReportScopeInstance reportScopeInstance, OnDemandProcessingContext context)
 {
     context.SetupContext(this, reportScopeInstance);
     return(context.ReportRuntime.EvaluateGaugePanelShadowIntensityExpression(this, base.Name));
 }
 public GaugeResizeModes EvaluateResizeMode(IReportScopeInstance reportScopeInstance, OnDemandProcessingContext context)
 {
     context.SetupContext(base.m_gaugePanel, reportScopeInstance);
     return(EnumTranslator.TranslateGaugeResizeModes(context.ReportRuntime.EvaluateStateIndicatorResizeModeExpression(this, base.m_gaugePanel.Name), context.ReportRuntime));
 }
Esempio n. 8
0
 internal bool EvaluateLogarithmic(IReportScopeInstance reportScopeInstance, OnDemandProcessingContext context)
 {
     context.SetupContext(m_gaugePanel, reportScopeInstance);
     return(context.ReportRuntime.EvaluateGaugeScaleLogarithmicExpression(this, m_gaugePanel.Name));
 }
Esempio n. 9
0
 internal string EvaluateToolTip(IReportScopeInstance reportScopeInstance, OnDemandProcessingContext context)
 {
     context.SetupContext(m_gaugePanel, reportScopeInstance);
     return(context.ReportRuntime.EvaluateGaugeScaleToolTipExpression(this, m_gaugePanel.Name));
 }
Esempio n. 10
0
 internal void SetupRuntimeEnvironment(OnDemandProcessingContext odpContext)
 {
     odpContext.SetComparisonInformation(m_dataSetCore);
 }
Esempio n. 11
0
 public StreamingNoRowsCellInstance(OnDemandProcessingContext odpContext, IRIFReportDataScope cell)
     : base(odpContext, cell)
 {
 }
Esempio n. 12
0
        internal override DataAggregate ConstructAggregator(OnDemandProcessingContext odpContext, DataAggregateInfo aggregateDef)
        {
            RunningValueInfo runningValueInfo = (RunningValueInfo)aggregateDef;

            return(new Previous(odpContext, runningValueInfo.TotalGroupingExpressionCount, runningValueInfo.IsScopedInEvaluationScope, string.IsNullOrEmpty(runningValueInfo.Scope)));
        }
Esempio n. 13
0
 internal string EvaluateValue(IReportScopeInstance reportScopeInstance, OnDemandProcessingContext context)
 {
     context.SetupContext(m_chart, reportScopeInstance);
     return(context.ReportRuntime.EvaluateChartLegendColumnHeaderValueExpression(this, m_chart.Name));
 }
 public int EvaluateRightMargin(IReportScopeInstance reportScopeInstance, OnDemandProcessingContext context)
 {
     context.SetupContext(base.m_chart, reportScopeInstance);
     return(context.ReportRuntime.EvaluateChartLegendCustomItemCellRightMarginExpression(this, base.m_chart.Name));
 }
Esempio n. 15
0
 public bool EvaluateResetPageNumber(IReportScopeInstance romInstance, OnDemandProcessingContext context, IPageBreakOwner pageBreakOwner)
 {
     context.SetupContext(pageBreakOwner.InstancePath, romInstance);
     return(context.ReportRuntime.EvaluatePageBreakResetPageNumberExpression(this, this.m_resetPageNumber, pageBreakOwner.ObjectType, pageBreakOwner.ObjectName));
 }
Esempio n. 16
0
 internal double EvaluateWidth(IReportScopeInstance reportScopeInstance, OnDemandProcessingContext context)
 {
     context.SetupContext(m_gaugePanel, reportScopeInstance);
     return(context.ReportRuntime.EvaluateGaugeScaleWidthExpression(this, m_gaugePanel.Name));
 }
Esempio n. 17
0
 public bool EvaluateAutoLayout(IReportScopeInstance reportScopeInstance, OnDemandProcessingContext context)
 {
     context.SetupContext(this, reportScopeInstance);
     return(context.ReportRuntime.EvaluateGaugePanelAutoLayoutExpression(this, base.Name));
 }
 public StreamingNoRowsDataRegionInstance(OnDemandProcessingContext odpContext, IRIFReportDataScope dataRegion)
     : base(odpContext, dataRegion)
 {
 }
Esempio n. 19
0
 public TextAntiAliasingQualities EvaluateTextAntiAliasingQuality(IReportScopeInstance reportScopeInstance, OnDemandProcessingContext context)
 {
     context.SetupContext(this, reportScopeInstance);
     return(EnumTranslator.TranslateTextAntiAliasingQualities(context.ReportRuntime.EvaluateGaugePanelTextAntiAliasingQualityExpression(this, base.Name), context.ReportRuntime));
 }
Esempio n. 20
0
 public FullAtomicDataPipelineManager(OnDemandProcessingContext odpContext, DataSet dataSet)
     : base(odpContext, dataSet)
 {
 }
 public double EvaluateAngle(IReportScopeInstance reportScopeInstance, OnDemandProcessingContext context)
 {
     context.SetupContext(base.m_gaugePanel, reportScopeInstance);
     return(context.ReportRuntime.EvaluateStateIndicatorAngleExpression(this, base.m_gaugePanel.Name));
 }
 protected override void CompleteOdpContext(OnDemandProcessingContext odpContext)
 {
     base.CompleteOdpContext(odpContext);
 }
Esempio n. 23
0
 public PaletteHatchBehavior EvaluatePaletteHatchBehavior(IReportScopeInstance reportScopeInstance, OnDemandProcessingContext context)
 {
     context.SetupContext(this, reportScopeInstance);
     return(EnumTranslator.TranslatePaletteHatchBehavior(context.ReportRuntime.EvaluateChartPaletteHatchBehaviorExpression(this, base.Name), context.ReportRuntime));
 }
 protected override Microsoft.ReportingServices.ReportIntermediateFormat.ReportInstance CreateReportInstance(OnDemandProcessingContext odpContext, OnDemandMetadata odpMetadata, Microsoft.ReportingServices.ReportIntermediateFormat.ReportSnapshot reportSnapshot, out Merge odpMerge)
 {
     odpMerge = null;
     return(null);
 }
Esempio n. 25
0
        internal int GetStyleAttribute(Microsoft.ReportingServices.ReportProcessing.ObjectType objectType, string objectName, string styleAttributeName, OnDemandProcessingContext context, ref bool sharedFormatSettings, out string styleStringValue)
        {
            styleStringValue = null;
            int           result         = 0;
            object        obj            = null;
            AttributeInfo styleAttribute = null;

            if (GetAttributeInfo(styleAttributeName, out styleAttribute))
            {
                if (styleAttribute.IsExpression)
                {
                    result = 1;
                    sharedFormatSettings = false;
                    obj = EvaluateStyle(objectType, objectName, styleAttributeName, context);
                }
                else
                {
                    result = 2;
                    obj    = styleAttribute.Value;
                }
            }
            if (obj != null)
            {
                styleStringValue = (string)obj;
            }
            return(result);
        }
 protected override void ResetEnvironment(OnDemandProcessingContext odpContext, Microsoft.ReportingServices.ReportIntermediateFormat.ReportInstance reportInstance)
 {
 }
Esempio n. 27
0
        internal object EvaluateStyle(Microsoft.ReportingServices.ReportProcessing.ObjectType objectType, string objectName, string styleAttributeName, OnDemandProcessingContext context)
        {
            AttributeInfo styleAttribute = null;

            if (GetAttributeInfo(styleAttributeName, out styleAttribute))
            {
                StyleId styleId = GetStyleId(styleAttributeName);
                return(EvaluateStyle(objectType, objectName, styleAttribute, styleId, context));
            }
            return(null);
        }
 protected override void UpdateUserProfileLocation(OnDemandProcessingContext odpContext)
 {
 }
 public AspNetCore.ReportingServices.RdlExpressions.VariantResult EvaluateStart(IReportScopeInstance reportScopeInstance, OnDemandProcessingContext context)
 {
     context.SetupContext(this.m_dataPoint, reportScopeInstance);
     return(context.ReportRuntime.EvaluateChartDataPointValuesStartExpression(this.m_dataPoint, this.m_chart.Name));
 }
 public string EvaluateToolTip(IReportScopeInstance reportScopeInstance, OnDemandProcessingContext context)
 {
     context.SetupContext(base.m_chart, reportScopeInstance);
     return(context.ReportRuntime.EvaluateChartLegendCustomItemCellToolTipExpression(this, base.m_chart.Name));
 }