internal void Initialize(InitializationContext context, int index) { context.ExprHostBuilder.MapBindingFieldPairStart(index.ToString(CultureInfo.InvariantCulture.NumberFormat)); if (m_fieldName != null) { m_fieldName.Initialize("FieldName", context); context.ExprHostBuilder.MapBindingFieldPairFieldName(m_fieldName); } if (InElementView && m_bindingExpression != null) { m_bindingExpression.Initialize("BindingExpression", context); context.ExprHostBuilder.MapBindingFieldPairBindingExpression(m_bindingExpression); } m_exprHostID = context.ExprHostBuilder.MapBindingFieldPairEnd(); }
internal override void Initialize(InitializationContext context) { base.Initialize(context); if (m_action != null) { m_action.Initialize(context); } if (m_position != null) { m_position.Initialize("Position", context); context.ExprHostBuilder.MapDockableSubItemPosition(m_position); } if (m_dockOutsideViewport != null) { m_dockOutsideViewport.Initialize("DockOutsideViewport", context); context.ExprHostBuilder.MapDockableSubItemDockOutsideViewport(m_dockOutsideViewport); } if (m_hidden != null) { m_hidden.Initialize("Hidden", context); context.ExprHostBuilder.MapDockableSubItemHidden(m_hidden); } if (m_toolTip != null) { m_toolTip.Initialize("ToolTip", context); context.ExprHostBuilder.MapDockableSubItemToolTip(m_toolTip); } }
internal override void Initialize(InitializationContext context) { context.ExprHostBuilder.GaugeLabelStart(m_name); base.Initialize(context); if (m_text != null) { m_text.Initialize("Text", context); context.ExprHostBuilder.GaugeLabelText(m_text); } if (m_angle != null) { m_angle.Initialize("Angle", context); context.ExprHostBuilder.GaugeLabelAngle(m_angle); } if (m_resizeMode != null) { m_resizeMode.Initialize("ResizeMode", context); context.ExprHostBuilder.GaugeLabelResizeMode(m_resizeMode); } if (m_textShadowOffset != null) { m_textShadowOffset.Initialize("TextShadowOffset", context); context.ExprHostBuilder.GaugeLabelTextShadowOffset(m_textShadowOffset); } if (m_useFontPercent != null) { m_useFontPercent.Initialize("UseFontPercent", context); context.ExprHostBuilder.GaugeLabelUseFontPercent(m_useFontPercent); } m_exprHostID = context.ExprHostBuilder.GaugeLabelEnd(); }
internal override void Initialize(InitializationContext context) { context.ExprHostBuilder.ScaleRangeStart(m_name); base.Initialize(context); if (m_action != null) { m_action.Initialize(context); } if (m_distanceFromScale != null) { m_distanceFromScale.Initialize("DistanceFromScale", context); context.ExprHostBuilder.ScaleRangeDistanceFromScale(m_distanceFromScale); } if (m_startWidth != null) { m_startWidth.Initialize("StartWidth", context); context.ExprHostBuilder.ScaleRangeStartWidth(m_startWidth); } if (m_endWidth != null) { m_endWidth.Initialize("EndWidth", context); context.ExprHostBuilder.ScaleRangeEndWidth(m_endWidth); } if (m_inRangeBarPointerColor != null) { m_inRangeBarPointerColor.Initialize("InRangeBarPointerColor", context); context.ExprHostBuilder.ScaleRangeInRangeBarPointerColor(m_inRangeBarPointerColor); } if (m_inRangeLabelColor != null) { m_inRangeLabelColor.Initialize("InRangeLabelColor", context); context.ExprHostBuilder.ScaleRangeInRangeLabelColor(m_inRangeLabelColor); } if (m_inRangeTickMarksColor != null) { m_inRangeTickMarksColor.Initialize("InRangeTickMarksColor", context); context.ExprHostBuilder.ScaleRangeInRangeTickMarksColor(m_inRangeTickMarksColor); } if (m_backgroundGradientType != null) { m_backgroundGradientType.Initialize("BackgroundGradientType", context); context.ExprHostBuilder.ScaleRangeBackgroundGradientType(m_backgroundGradientType); } if (m_placement != null) { m_placement.Initialize("Placement", context); context.ExprHostBuilder.ScaleRangePlacement(m_placement); } if (m_toolTip != null) { m_toolTip.Initialize("ToolTip", context); context.ExprHostBuilder.ScaleRangeToolTip(m_toolTip); } if (m_hidden != null) { m_hidden.Initialize("Hidden", context); context.ExprHostBuilder.ScaleRangeHidden(m_hidden); } m_exprHostID = context.ExprHostBuilder.ScaleRangeEnd(); }
internal override void Initialize(InitializationContext context) { context.ExprHostBuilder.PointerCapStart(); base.Initialize(context); if (m_capImage != null) { m_capImage.Initialize(context); } if (m_onTop != null) { m_onTop.Initialize("OnTop", context); context.ExprHostBuilder.PointerCapOnTop(m_onTop); } if (m_reflection != null) { m_reflection.Initialize("Reflection", context); context.ExprHostBuilder.PointerCapReflection(m_reflection); } if (m_capStyle != null) { m_capStyle.Initialize("CapStyle", context); context.ExprHostBuilder.PointerCapCapStyle(m_capStyle); } if (m_hidden != null) { m_hidden.Initialize("Hidden", context); context.ExprHostBuilder.PointerCapHidden(m_hidden); } if (m_width != null) { m_width.Initialize("Width", context); context.ExprHostBuilder.PointerCapWidth(m_width); } context.ExprHostBuilder.PointerCapEnd(); }
internal void Initialize(InitializationContext context, bool isMeridian) { context.ExprHostBuilder.MapGridLinesStart(isMeridian); base.Initialize(context); if (m_hidden != null) { m_hidden.Initialize("Hidden", context); context.ExprHostBuilder.MapGridLinesHidden(m_hidden); } if (m_interval != null) { m_interval.Initialize("Interval", context); context.ExprHostBuilder.MapGridLinesInterval(m_interval); } if (m_showLabels != null) { m_showLabels.Initialize("ShowLabels", context); context.ExprHostBuilder.MapGridLinesShowLabels(m_showLabels); } if (m_labelPosition != null) { m_labelPosition.Initialize("LabelPosition", context); context.ExprHostBuilder.MapGridLinesLabelPosition(m_labelPosition); } context.ExprHostBuilder.MapGridLinesEnd(isMeridian); }
internal override void Initialize(InitializationContext context) { context.ExprHostBuilder.ChartEmptyPointsStart(); base.Initialize(context); if (m_action != null) { m_action.Initialize(context); } if (m_marker != null) { m_marker.Initialize(context); } if (m_dataLabel != null) { m_dataLabel.Initialize(context); } if (m_axisLabel != null) { m_axisLabel.Initialize("AxisLabel", context); context.ExprHostBuilder.ChartEmptyPointsAxisLabel(m_axisLabel); } if (m_customProperties != null) { m_customProperties.Initialize(null, context); } if (m_toolTip != null) { m_toolTip.Initialize("ToolTip", context); context.ExprHostBuilder.ChartEmptyPointsToolTip(m_toolTip); } context.ExprHostBuilder.ChartEmptyPointsEnd(); }
internal void Initialize(InitializationContext context) { context.ExprHostBuilder.MapLimitsStart(); if (m_minimumX != null) { m_minimumX.Initialize("MinimumX", context); context.ExprHostBuilder.MapLimitsMinimumX(m_minimumX); } if (m_minimumY != null) { m_minimumY.Initialize("MinimumY", context); context.ExprHostBuilder.MapLimitsMinimumY(m_minimumY); } if (m_maximumX != null) { m_maximumX.Initialize("MaximumX", context); context.ExprHostBuilder.MapLimitsMaximumX(m_maximumX); } if (m_maximumY != null) { m_maximumY.Initialize("MaximumY", context); context.ExprHostBuilder.MapLimitsMaximumY(m_maximumY); } if (m_limitToData != null) { m_limitToData.Initialize("LimitToData", context); context.ExprHostBuilder.MapLimitsLimitToData(m_limitToData); } context.ExprHostBuilder.MapLimitsEnd(); }
internal override void Initialize(InitializationContext context) { context.ExprHostBuilder.MapPolygonTemplateStart(); base.Initialize(context); if (m_scaleFactor != null) { m_scaleFactor.Initialize("ScaleFactor", context); context.ExprHostBuilder.MapPolygonTemplateScaleFactor(m_scaleFactor); } if (m_centerPointOffsetX != null) { m_centerPointOffsetX.Initialize("CenterPointOffsetX", context); context.ExprHostBuilder.MapPolygonTemplateCenterPointOffsetX(m_centerPointOffsetX); } if (m_centerPointOffsetY != null) { m_centerPointOffsetY.Initialize("CenterPointOffsetY", context); context.ExprHostBuilder.MapPolygonTemplateCenterPointOffsetY(m_centerPointOffsetY); } if (m_showLabel != null) { m_showLabel.Initialize("ShowLabel", context); context.ExprHostBuilder.MapPolygonTemplateShowLabel(m_showLabel); } if (m_labelPlacement != null) { m_labelPlacement.Initialize("LabelPlacement", context); context.ExprHostBuilder.MapPolygonTemplateLabelPlacement(m_labelPlacement); } context.ExprHostBuilder.MapPolygonTemplateEnd(); }
internal override void Initialize(InitializationContext context) { context.ExprHostBuilder.BackFrameStart(); base.Initialize(context); if (m_frameStyle != null) { m_frameStyle.Initialize("FrameStyle", context); context.ExprHostBuilder.BackFrameFrameStyle(m_frameStyle); } if (m_frameShape != null) { m_frameShape.Initialize("FrameShape", context); context.ExprHostBuilder.BackFrameFrameShape(m_frameShape); } if (m_frameWidth != null) { m_frameWidth.Initialize("FrameWidth", context); context.ExprHostBuilder.BackFrameFrameWidth(m_frameWidth); } if (m_glassEffect != null) { m_glassEffect.Initialize("GlassEffect", context); context.ExprHostBuilder.BackFrameGlassEffect(m_glassEffect); } if (m_frameBackground != null) { m_frameBackground.Initialize(context); } if (m_frameImage != null) { m_frameImage.Initialize(context); } context.ExprHostBuilder.BackFrameEnd(); }
internal void Initialize(InitializationContext context, bool isMajor) { context.ExprHostBuilder.ChartGridLinesStart(isMajor); base.Initialize(context); if (m_enabled != null) { m_enabled.Initialize("Enabled", context); context.ExprHostBuilder.ChartGridLinesEnabled(m_enabled); } if (m_interval != null) { m_interval.Initialize("Interval", context); context.ExprHostBuilder.ChartGridLinesInterval(m_interval); } if (m_intervalType != null) { m_intervalType.Initialize("IntervalType", context); context.ExprHostBuilder.ChartGridLinesEnabledIntervalType(m_intervalType); } if (m_intervalOffset != null) { m_intervalOffset.Initialize("IntervalOffset", context); context.ExprHostBuilder.ChartGridLinesIntervalOffset(m_intervalOffset); } if (m_intervalOffsetType != null) { m_intervalOffsetType.Initialize("IntervalOffsetType", context); context.ExprHostBuilder.ChartGridLinesIntervalOffsetType(m_intervalOffsetType); } context.ExprHostBuilder.ChartGridLinesEnd(isMajor); }
public void Initialize(InitializationContext context) { Global.Tracer.Assert(null != this.m_styleAttributes, "(null != m_styleAttributes)"); IDictionaryEnumerator dictionaryEnumerator = (IDictionaryEnumerator)(object)this.m_styleAttributes.GetEnumerator(); while (dictionaryEnumerator.MoveNext()) { string text = (string)dictionaryEnumerator.Key; AttributeInfo attributeInfo = (AttributeInfo)dictionaryEnumerator.Value; Global.Tracer.Assert(null != text, "(null != name)"); Global.Tracer.Assert(null != attributeInfo, "(null != attribute)"); if (attributeInfo.IsExpression) { string name = text; switch (text) { case "BorderColorLeft": case "BorderColorRight": case "BorderColorTop": case "BorderColorBottom": text = "BorderColor"; break; case "BorderStyleLeft": case "BorderStyleRight": case "BorderStyleTop": case "BorderStyleBottom": text = "BorderStyle"; break; case "BorderWidthLeft": case "BorderWidthRight": case "BorderWidthTop": case "BorderWidthBottom": text = "BorderWidth"; break; } Global.Tracer.Assert(null != this.m_expressionList, "(null != m_expressionList)"); ExpressionInfo expressionInfo = this.m_expressionList[attributeInfo.IntValue]; expressionInfo.Initialize(text, context); context.ExprHostBuilder.StyleAttribute(name, expressionInfo); } } AttributeInfo attributeInfo2 = default(AttributeInfo); this.m_styleAttributes.TryGetValue("BackgroundImageSource", out attributeInfo2); if (attributeInfo2 != null) { Global.Tracer.Assert(!attributeInfo2.IsExpression, "(!source.IsExpression)"); AspNetCore.ReportingServices.OnDemandReportRendering.Image.SourceType intValue = (AspNetCore.ReportingServices.OnDemandReportRendering.Image.SourceType)attributeInfo2.IntValue; AttributeInfo attributeInfo3 = default(AttributeInfo); if (AspNetCore.ReportingServices.OnDemandReportRendering.Image.SourceType.Embedded == intValue && (!this.m_styleAttributes.TryGetValue("EmbeddingMode", out attributeInfo3) || attributeInfo3.IntValue != 1)) { AttributeInfo attributeInfo4 = this.m_styleAttributes["BackgroundImageValue"]; Global.Tracer.Assert(null != attributeInfo4, "(null != embeddedImageName)"); AspNetCore.ReportingServices.ReportPublishing.PublishingValidator.ValidateEmbeddedImageName(attributeInfo4, context.EmbeddedImages, context.ObjectType, context.ObjectName, "BackgroundImageValue", context.ErrorContext); } } context.CheckInternationalSettings(this.m_styleAttributes); }
internal bool Initialize(InitializationContext context, out bool hasExpressionBasedValue) { bool result = false; hasExpressionBasedValue = false; context.ExprHostBuilder.TextRunStart(m_indexInCollection); if (m_value != null) { result = true; hasExpressionBasedValue = m_value.IsExpression; m_value.Initialize("Value", context); context.ExprHostBuilder.TextRunValue(m_value); } if (m_toolTip != null) { m_toolTip.Initialize("ToolTip", context); context.ExprHostBuilder.TextRunToolTip(m_toolTip); } if (m_markupType != null) { m_markupType.Initialize("MarkupType", context); context.ExprHostBuilder.TextRunMarkupType(m_markupType); } if (m_action != null) { m_action.Initialize(context); } if (m_styleClass != null) { m_styleClass.Initialize(context); } m_exprHostID = context.ExprHostBuilder.TextRunEnd(); return(result); }
internal void Initialize(InitializationContext context, int index) { context.ExprHostBuilder.GaugeInputValueStart(index); if (m_value != null) { InitializeValue(context); } if (m_formula != null) { m_formula.Initialize("Formula", context); context.ExprHostBuilder.GaugeInputValueFormula(m_formula); } if (m_minPercent != null) { m_minPercent.Initialize("MinPercent", context); context.ExprHostBuilder.GaugeInputValueMinPercent(m_minPercent); } if (m_maxPercent != null) { m_maxPercent.Initialize("MaxPercent", context); context.ExprHostBuilder.GaugeInputValueMaxPercent(m_maxPercent); } if (m_multiplier != null) { m_multiplier.Initialize("Multiplier", context); context.ExprHostBuilder.GaugeInputValueMultiplier(m_multiplier); } if (m_addConstant != null) { m_addConstant.Initialize("AddConstant", context); context.ExprHostBuilder.GaugeInputValueAddConstant(m_addConstant); } m_exprHostID = context.ExprHostBuilder.GaugeInputValueEnd(); }
internal void Initialize(InitializationContext context) { if (m_value != null) { m_value.Initialize(GetPropertyName(), context); } }
internal override void Initialize(InitializationContext context) { context.ExprHostBuilder.MapTileLayerStart(base.Name); base.Initialize(context); if (m_serviceUrl != null) { m_serviceUrl.Initialize("ServiceUrl", context); context.ExprHostBuilder.MapTileLayerServiceUrl(m_serviceUrl); } if (m_tileStyle != null) { m_tileStyle.Initialize("TileStyle", context); context.ExprHostBuilder.MapTileLayerTileStyle(m_tileStyle); } if (m_useSecureConnection != null) { m_useSecureConnection.Initialize("UseSecureConnection", context); context.ExprHostBuilder.MapTileLayerUseSecureConnection(m_useSecureConnection); } if (m_mapTiles != null) { for (int i = 0; i < m_mapTiles.Count; i++) { m_mapTiles[i].Initialize(context, i); } } m_exprHostID = context.ExprHostBuilder.MapTileLayerEnd(); }
internal void Initialize(InitializationContext context, int index) { context.ExprHostBuilder.ChartStripLineStart(index); base.Initialize(context); if (m_action != null) { m_action.Initialize(context); } if (m_title != null) { m_title.Initialize("Title", context); context.ExprHostBuilder.ChartStripLineTitle(m_title); } if (m_titleAngle != null) { m_titleAngle.Initialize("TitleAngle", context); context.ExprHostBuilder.ChartStripLineTitleAngle(m_titleAngle); } if (m_toolTip != null) { m_toolTip.Initialize("ToolTip", context); context.ExprHostBuilder.ChartStripLineToolTip(m_toolTip); } if (m_interval != null) { m_interval.Initialize("Interval", context); context.ExprHostBuilder.ChartStripLineInterval(m_interval); } if (m_intervalType != null) { m_intervalType.Initialize("IntervalType", context); context.ExprHostBuilder.ChartStripLineIntervalType(m_intervalType); } if (m_intervalOffset != null) { m_intervalOffset.Initialize("IntervalOffset", context); context.ExprHostBuilder.ChartStripLineIntervalOffset(m_intervalOffset); } if (m_intervalOffsetType != null) { m_intervalOffsetType.Initialize("IntervalOffsetType", context); context.ExprHostBuilder.ChartStripLineIntervalOffsetType(m_intervalOffsetType); } if (m_stripWidth != null) { m_stripWidth.Initialize("StripWidth", context); context.ExprHostBuilder.ChartStripLineStripWidth(m_stripWidth); } if (m_stripWidthType != null) { m_stripWidthType.Initialize("StripWidthType", context); context.ExprHostBuilder.ChartStripLineStripWidthType(m_stripWidthType); } if (m_textOrientation != null) { m_textOrientation.Initialize("TextOrientation", context); context.ExprHostBuilder.ChartStripLineTextOrientation(m_textOrientation); } m_exprHostID = context.ExprHostBuilder.ChartStripLineEnd(); }
internal override void Initialize(InitializationContext context) { context.ExprHostBuilder.LinearScaleStart(m_name); base.Initialize(context); if (m_gaugePointers != null) { for (int i = 0; i < m_gaugePointers.Count; i++) { m_gaugePointers[i].Initialize(context); } } if (m_startMargin != null) { m_startMargin.Initialize("StartMargin", context); context.ExprHostBuilder.LinearScaleStartMargin(m_startMargin); } if (m_endMargin != null) { m_endMargin.Initialize("EndMargin", context); context.ExprHostBuilder.LinearScaleEndMargin(m_endMargin); } if (m_position != null) { m_position.Initialize("Position", context); context.ExprHostBuilder.LinearScalePosition(m_position); } m_exprHostID = context.ExprHostBuilder.LinearScaleEnd(); }
internal override void Initialize(InitializationContext context) { context.ExprHostBuilder.RadialScaleStart(m_name); base.Initialize(context); if (m_gaugePointers != null) { for (int i = 0; i < m_gaugePointers.Count; i++) { m_gaugePointers[i].Initialize(context); } } if (m_radius != null) { m_radius.Initialize("Radius", context); context.ExprHostBuilder.RadialScaleRadius(m_radius); } if (m_startAngle != null) { m_startAngle.Initialize("StartAngle", context); context.ExprHostBuilder.RadialScaleStartAngle(m_startAngle); } if (m_sweepAngle != null) { m_sweepAngle.Initialize("SweepAngle", context); context.ExprHostBuilder.RadialScaleSweepAngle(m_sweepAngle); } m_exprHostID = context.ExprHostBuilder.RadialScaleEnd(); }
internal override bool Initialize(InitializationContext context) { context.ObjectType = ObjectType; context.ObjectName = m_name; context.ExprHostBuilder.RectangleStart(m_name); m_isSimple = (m_toolTip == null && m_documentMapLabel == null && m_bookmark == null && m_styleClass == null && m_visibility == null); base.Initialize(context); context.InitializeAbsolutePosition(this); if (m_pageBreak != null) { m_pageBreak.Initialize(context); } if (m_pageName != null) { m_pageName.Initialize("PageName", context); context.ExprHostBuilder.PageName(m_pageName); } if (m_visibility != null) { m_visibility.Initialize(context); } bool num = context.RegisterVisibility(m_visibility, this); context.IsTopLevelCellContents = false; m_reportItems.Initialize(context); if (num) { context.UnRegisterVisibility(m_visibility, this); } base.ExprHostID = context.ExprHostBuilder.RectangleEnd(); return(false); }
internal override void Initialize(InitializationContext context) { context.ExprHostBuilder.PointerImageStart(); base.Initialize(context); if (m_hueColor != null) { m_hueColor.Initialize("HueColor", context); context.ExprHostBuilder.PointerImageHueColor(m_hueColor); } if (m_transparency != null) { m_transparency.Initialize("Transparency", context); context.ExprHostBuilder.PointerImageTransparency(m_transparency); } if (m_offsetX != null) { m_offsetX.Initialize("OffsetX", context); context.ExprHostBuilder.PointerImageOffsetX(m_offsetX); } if (m_offsetY != null) { m_offsetY.Initialize("OffsetY", context); context.ExprHostBuilder.PointerImageOffsetY(m_offsetY); } context.ExprHostBuilder.PointerImageEnd(); }
internal void Initialize(InitializationContext context, bool innerPlot) { context.ExprHostBuilder.ChartElementPositionStart(innerPlot); if (m_top != null) { m_top.Initialize("Top", context); context.ExprHostBuilder.ChartElementPositionTop(m_top); } if (m_left != null) { m_left.Initialize("Left", context); context.ExprHostBuilder.ChartElementPositionLeft(m_left); } if (m_height != null) { m_height.Initialize("Height", context); context.ExprHostBuilder.ChartElementPositionHeight(m_height); } if (m_width != null) { m_width.Initialize("Width", context); context.ExprHostBuilder.ChartElementPositionWidth(m_width); } context.ExprHostBuilder.ChartElementPositionEnd(innerPlot); }
internal void Initialize(InitializationContext context) { context.ExprHostBuilder.MapMarkerImageStart(); if (m_source != null) { m_source.Initialize("Source", context); context.ExprHostBuilder.MapMarkerImageSource(m_source); } if (m_value != null) { m_value.Initialize("Value", context); context.ExprHostBuilder.MapMarkerImageValue(m_value); } if (m_mIMEType != null) { m_mIMEType.Initialize("MIMEType", context); context.ExprHostBuilder.MapMarkerImageMIMEType(m_mIMEType); } if (m_transparentColor != null) { m_transparentColor.Initialize("TransparentColor", context); context.ExprHostBuilder.MapMarkerImageTransparentColor(m_transparentColor); } if (m_resizeMode != null) { m_resizeMode.Initialize("ResizeMode", context); context.ExprHostBuilder.MapMarkerImageResizeMode(m_resizeMode); } context.ExprHostBuilder.MapMarkerImageEnd(); }
internal virtual void Initialize(InitializationContext context) { if (m_zoom != null) { m_zoom.Initialize("Zoom", context); context.ExprHostBuilder.MapViewZoom(m_zoom); } }
internal void Initialize(InitializationContext context) { Global.Tracer.Assert(m_styleAttributes != null, "(null != m_styleAttributes)"); IDictionaryEnumerator dictionaryEnumerator = m_styleAttributes.GetEnumerator(); while (dictionaryEnumerator.MoveNext()) { string text = (string)dictionaryEnumerator.Key; AttributeInfo attributeInfo = (AttributeInfo)dictionaryEnumerator.Value; Global.Tracer.Assert(text != null, "(null != name)"); Global.Tracer.Assert(attributeInfo != null, "(null != attribute)"); if (attributeInfo.IsExpression) { string name = text; switch (text) { case "BorderColorLeft": case "BorderColorRight": case "BorderColorTop": case "BorderColorBottom": text = "BorderColor"; break; case "BorderStyleLeft": case "BorderStyleRight": case "BorderStyleTop": case "BorderStyleBottom": text = "BorderStyle"; break; case "BorderWidthLeft": case "BorderWidthRight": case "BorderWidthTop": case "BorderWidthBottom": text = "BorderWidth"; break; } Global.Tracer.Assert(m_expressionList != null, "(null != m_expressionList)"); ExpressionInfo expressionInfo = m_expressionList[attributeInfo.IntValue]; expressionInfo.Initialize(text, context); context.ExprHostBuilder.StyleAttribute(name, expressionInfo); } } m_styleAttributes.TryGetValue("BackgroundImageSource", out AttributeInfo value); if (value != null) { Global.Tracer.Assert(!value.IsExpression, "(!source.IsExpression)"); Microsoft.ReportingServices.OnDemandReportRendering.Image.SourceType intValue = (Microsoft.ReportingServices.OnDemandReportRendering.Image.SourceType)value.IntValue; if (Microsoft.ReportingServices.OnDemandReportRendering.Image.SourceType.Embedded == intValue && (!m_styleAttributes.TryGetValue("EmbeddingMode", out AttributeInfo value2) || value2.IntValue != 1)) { AttributeInfo attributeInfo2 = m_styleAttributes["BackgroundImageValue"]; Global.Tracer.Assert(attributeInfo2 != null, "(null != embeddedImageName)"); Microsoft.ReportingServices.ReportPublishing.PublishingValidator.ValidateEmbeddedImageName(attributeInfo2, context.EmbeddedImages, context.ObjectType, context.ObjectName, "BackgroundImageValue", context.ErrorContext); } } context.CheckInternationalSettings(m_styleAttributes); }
internal bool Initialize(InitializationContext context, out bool aHasExpressionBasedValue) { bool flag = false; bool hasExpressionBasedValue = false; aHasExpressionBasedValue = false; context.ExprHostBuilder.ParagraphStart(m_indexInCollection); if (m_textRuns != null) { foreach (TextRun textRun in m_textRuns) { flag |= textRun.Initialize(context, out hasExpressionBasedValue); aHasExpressionBasedValue |= hasExpressionBasedValue; } } if (m_styleClass != null) { m_styleClass.Initialize(context); } if (m_leftIndent != null) { m_leftIndent.Initialize("LeftIndent", context); context.ExprHostBuilder.ParagraphLeftIndent(m_leftIndent); } if (m_rightIndent != null) { m_rightIndent.Initialize("RightIndent", context); context.ExprHostBuilder.ParagraphRightIndent(m_rightIndent); } if (m_hangingIndent != null) { m_hangingIndent.Initialize("HangingIndent", context); context.ExprHostBuilder.ParagraphHangingIndent(m_hangingIndent); } if (m_spaceBefore != null) { m_spaceBefore.Initialize("SpaceBefore", context); context.ExprHostBuilder.ParagraphSpaceBefore(m_spaceBefore); } if (m_spaceAfter != null) { m_spaceAfter.Initialize("SpaceAfter", context); context.ExprHostBuilder.ParagraphSpaceAfter(m_spaceAfter); } if (m_listStyle != null) { m_listStyle.Initialize("ListStyle", context); context.ExprHostBuilder.ParagraphListStyle(m_listStyle); } if (m_listLevel != null) { m_listLevel.Initialize("ListLevel", context); context.ExprHostBuilder.ParagraphListLevel(m_listLevel); } m_exprHostID = context.ExprHostBuilder.ParagraphEnd(); return(flag); }
internal override void Initialize(InitializationContext context) { base.Initialize(context); if (m_showInColorScale != null) { m_showInColorScale.Initialize("ShowInColorScale", context); context.ExprHostBuilder.MapColorRuleShowInColorScale(m_showInColorScale); } }
internal override void Initialize(InitializationContext context) { base.Initialize(context); if (m_caption != null) { m_caption.Initialize("Caption", context); context.ExprHostBuilder.ChartCaption(m_caption); } }
internal override void Initialize(InitializationContext context) { context.ExprHostBuilder.ScaleLabelsStart(); base.Initialize(context); if (m_interval != null) { m_interval.Initialize("Interval", context); context.ExprHostBuilder.ScaleLabelsInterval(m_interval); } if (m_intervalOffset != null) { m_intervalOffset.Initialize("IntervalOffset", context); context.ExprHostBuilder.ScaleLabelsIntervalOffset(m_intervalOffset); } if (m_allowUpsideDown != null) { m_allowUpsideDown.Initialize("AllowUpsideDown", context); context.ExprHostBuilder.ScaleLabelsAllowUpsideDown(m_allowUpsideDown); } if (m_distanceFromScale != null) { m_distanceFromScale.Initialize("DistanceFromScale", context); context.ExprHostBuilder.ScaleLabelsDistanceFromScale(m_distanceFromScale); } if (m_fontAngle != null) { m_fontAngle.Initialize("FontAngle", context); context.ExprHostBuilder.ScaleLabelsFontAngle(m_fontAngle); } if (m_placement != null) { m_placement.Initialize("Placement", context); context.ExprHostBuilder.ScaleLabelsPlacement(m_placement); } if (m_rotateLabels != null) { m_rotateLabels.Initialize("RotateLabels", context); context.ExprHostBuilder.ScaleLabelsRotateLabels(m_rotateLabels); } if (m_showEndLabels != null) { m_showEndLabels.Initialize("ShowEndLabels", context); context.ExprHostBuilder.ScaleLabelsShowEndLabels(m_showEndLabels); } if (m_hidden != null) { m_hidden.Initialize("Hidden", context); context.ExprHostBuilder.ScaleLabelsHidden(m_hidden); } if (m_useFontPercent != null) { m_useFontPercent.Initialize("UseFontPercent", context); context.ExprHostBuilder.ScaleLabelsUseFontPercent(m_useFontPercent); } context.ExprHostBuilder.ScaleLabelsEnd(); }
internal void Initialize(InitializationContext context, int index) { context.ExprHostBuilder.MapFieldNameStart(index.ToString(CultureInfo.InvariantCulture.NumberFormat)); if (m_name != null) { m_name.Initialize("Name", context); context.ExprHostBuilder.MapFieldNameName(m_name); } m_exprHostID = context.ExprHostBuilder.MapFieldNameEnd(); }