internal object PublishClone(AutomaticSubtotalContext context) { MapMarkerImage mapMarkerImage = (MapMarkerImage)MemberwiseClone(); mapMarkerImage.m_map = context.CurrentMapClone; if (m_source != null) { mapMarkerImage.m_source = (ExpressionInfo)m_source.PublishClone(context); } if (m_value != null) { mapMarkerImage.m_value = (ExpressionInfo)m_value.PublishClone(context); } if (m_mIMEType != null) { mapMarkerImage.m_mIMEType = (ExpressionInfo)m_mIMEType.PublishClone(context); } if (m_transparentColor != null) { mapMarkerImage.m_transparentColor = (ExpressionInfo)m_transparentColor.PublishClone(context); } if (m_resizeMode != null) { mapMarkerImage.m_resizeMode = (ExpressionInfo)m_resizeMode.PublishClone(context); } return(mapMarkerImage); }
internal object PublishClone(AutomaticSubtotalContext context) { MapTile obj = (MapTile)MemberwiseClone(); obj.m_map = context.CurrentMapClone; return(obj); }
internal override object PublishClone(AutomaticSubtotalContext context) { GaugeLabel gaugeLabel = (GaugeLabel)base.PublishClone(context); if (m_text != null) { gaugeLabel.m_text = (ExpressionInfo)m_text.PublishClone(context); } if (m_angle != null) { gaugeLabel.m_angle = (ExpressionInfo)m_angle.PublishClone(context); } if (m_resizeMode != null) { gaugeLabel.m_resizeMode = (ExpressionInfo)m_resizeMode.PublishClone(context); } if (m_textShadowOffset != null) { gaugeLabel.m_textShadowOffset = (ExpressionInfo)m_textShadowOffset.PublishClone(context); } if (m_useFontPercent != null) { gaugeLabel.m_useFontPercent = (ExpressionInfo)m_useFontPercent.PublishClone(context); } return(gaugeLabel); }
public object PublishClone(AutomaticSubtotalContext context) { MapField mapField = (MapField)base.MemberwiseClone(); mapField.m_map = context.CurrentMapClone; return(mapField); }
public override object PublishClone(AutomaticSubtotalContext context) { MapDockableSubItem mapDockableSubItem = (MapDockableSubItem)base.PublishClone(context); if (this.m_action != null) { mapDockableSubItem.m_action = (Action)this.m_action.PublishClone(context); } if (this.m_position != null) { mapDockableSubItem.m_position = (ExpressionInfo)this.m_position.PublishClone(context); } if (this.m_dockOutsideViewport != null) { mapDockableSubItem.m_dockOutsideViewport = (ExpressionInfo)this.m_dockOutsideViewport.PublishClone(context); } if (this.m_hidden != null) { mapDockableSubItem.m_hidden = (ExpressionInfo)this.m_hidden.PublishClone(context); } if (this.m_toolTip != null) { mapDockableSubItem.m_toolTip = (ExpressionInfo)this.m_toolTip.PublishClone(context); } return(mapDockableSubItem); }
public override object PublishClone(AutomaticSubtotalContext context) { MapVectorLayer mapVectorLayer2 = context.CurrentMapVectorLayerClone = (MapVectorLayer)base.PublishClone(context); mapVectorLayer2.m_ID = context.GenerateID(); if (this.MapDataRegionName != null) { mapVectorLayer2.MapDataRegionName = context.GetNewScopeName(this.MapDataRegionName); } if (this.m_mapBindingFieldPairs != null) { mapVectorLayer2.m_mapBindingFieldPairs = new List <MapBindingFieldPair>(this.m_mapBindingFieldPairs.Count); foreach (MapBindingFieldPair mapBindingFieldPair in this.m_mapBindingFieldPairs) { mapVectorLayer2.m_mapBindingFieldPairs.Add((MapBindingFieldPair)mapBindingFieldPair.PublishClone(context)); } } if (this.m_mapFieldDefinitions != null) { mapVectorLayer2.m_mapFieldDefinitions = new List <MapFieldDefinition>(this.m_mapFieldDefinitions.Count); foreach (MapFieldDefinition mapFieldDefinition in this.m_mapFieldDefinitions) { mapVectorLayer2.m_mapFieldDefinitions.Add((MapFieldDefinition)mapFieldDefinition.PublishClone(context)); } } if (this.m_mapSpatialData != null) { mapVectorLayer2.m_mapSpatialData = (MapSpatialData)this.m_mapSpatialData.PublishClone(context); } return(mapVectorLayer2); }
internal override object PublishClone(AutomaticSubtotalContext context) { MapSpatialDataSet mapSpatialDataSet = (MapSpatialDataSet)base.PublishClone(context); if (m_dataSetName != null) { mapSpatialDataSet.m_dataSetName = (ExpressionInfo)m_dataSetName.PublishClone(context); } if (m_spatialField != null) { mapSpatialDataSet.m_spatialField = (ExpressionInfo)m_spatialField.PublishClone(context); } if (m_mapFieldNames != null) { mapSpatialDataSet.m_mapFieldNames = new List <MapFieldName>(m_mapFieldNames.Count); { foreach (MapFieldName mapFieldName in m_mapFieldNames) { mapSpatialDataSet.m_mapFieldNames.Add((MapFieldName)mapFieldName.PublishClone(context)); } return(mapSpatialDataSet); } } return(mapSpatialDataSet); }
internal override object PublishClone(AutomaticSubtotalContext context) { ChartAxisScaleBreak chartAxisScaleBreak = (ChartAxisScaleBreak)base.PublishClone(context); if (m_enabled != null) { chartAxisScaleBreak.m_enabled = (ExpressionInfo)m_enabled.PublishClone(context); } if (m_breakLineType != null) { chartAxisScaleBreak.m_breakLineType = (ExpressionInfo)m_breakLineType.PublishClone(context); } if (m_collapsibleSpaceThreshold != null) { chartAxisScaleBreak.m_collapsibleSpaceThreshold = (ExpressionInfo)m_collapsibleSpaceThreshold.PublishClone(context); } if (m_maxNumberOfBreaks != null) { chartAxisScaleBreak.m_maxNumberOfBreaks = (ExpressionInfo)m_maxNumberOfBreaks.PublishClone(context); } if (m_spacing != null) { chartAxisScaleBreak.m_spacing = (ExpressionInfo)m_spacing.PublishClone(context); } if (m_includeZero != null) { chartAxisScaleBreak.m_includeZero = (ExpressionInfo)m_includeZero.PublishClone(context); } return(chartAxisScaleBreak); }
public override object PublishClone(AutomaticSubtotalContext context) { TextRun textRun = (TextRun)base.PublishClone(context); if (this.m_value != null) { textRun.m_value = (ExpressionInfo)this.m_value.PublishClone(context); } if (this.m_toolTip != null) { textRun.m_toolTip = (ExpressionInfo)this.m_toolTip.PublishClone(context); } if (this.m_styleClass != null) { textRun.m_styleClass = (Style)this.m_styleClass.PublishClone(context); } if (this.m_markupType != null) { textRun.m_markupType = (ExpressionInfo)this.m_markupType.PublishClone(context); } if (this.m_action != null) { textRun.m_action = (Action)this.m_action.PublishClone(context); } return(textRun); }
public override object PublishClone(AutomaticSubtotalContext context) { BackFrame backFrame = (BackFrame)base.PublishClone(context); if (this.m_frameStyle != null) { backFrame.m_frameStyle = (ExpressionInfo)this.m_frameStyle.PublishClone(context); } if (this.m_frameShape != null) { backFrame.m_frameShape = (ExpressionInfo)this.m_frameShape.PublishClone(context); } if (this.m_frameWidth != null) { backFrame.m_frameWidth = (ExpressionInfo)this.m_frameWidth.PublishClone(context); } if (this.m_glassEffect != null) { backFrame.m_glassEffect = (ExpressionInfo)this.m_glassEffect.PublishClone(context); } if (this.m_frameBackground != null) { backFrame.m_frameBackground = (FrameBackground)this.m_frameBackground.PublishClone(context); } if (this.m_frameImage != null) { backFrame.m_frameImage = (FrameImage)this.m_frameImage.PublishClone(context); } return(backFrame); }
public override object PublishClone(AutomaticSubtotalContext context) { ChartTickMarks chartTickMarks = (ChartTickMarks)base.PublishClone(context); if (this.m_enabled != null) { chartTickMarks.m_enabled = (ExpressionInfo)this.m_enabled.PublishClone(context); } if (this.m_type != null) { chartTickMarks.m_type = (ExpressionInfo)this.m_type.PublishClone(context); } if (this.m_length != null) { chartTickMarks.m_length = (ExpressionInfo)this.m_length.PublishClone(context); } if (this.m_interval != null) { chartTickMarks.m_interval = (ExpressionInfo)this.m_interval.PublishClone(context); } if (this.m_intervalType != null) { chartTickMarks.m_intervalType = (ExpressionInfo)this.m_intervalType.PublishClone(context); } if (this.m_intervalOffset != null) { chartTickMarks.m_intervalOffset = (ExpressionInfo)this.m_intervalOffset.PublishClone(context); } if (this.m_intervalOffsetType != null) { chartTickMarks.m_intervalOffsetType = (ExpressionInfo)this.m_intervalOffsetType.PublishClone(context); } return(chartTickMarks); }
public void CreateAutomaticSubtotals(AutomaticSubtotalContext context) { if (!this.m_createdSubtotals && this.IsDataRegion && this.m_dataRows != null && base.m_rowCount == this.m_dataRows.Count) { for (int i = 0; i < this.m_dataRows.Count; i++) { if (this.m_dataRows[i].Cells == null || this.m_dataRows[i].Cells.Count != base.m_columnCount) { return; } } context.Location = AspNetCore.ReportingServices.ReportPublishing.LocationFlags.None; context.ObjectType = this.ObjectType; context.ObjectName = "CustomReportItem"; context.CurrentDataRegion = this; context.CurrentScope = base.DataSetName; context.CurrentDataScope = this; context.CellLists = new List <CellList>(this.m_dataRows.Count); for (int j = 0; j < this.m_dataRows.Count; j++) { context.CellLists.Add(new CellList()); } context.Rows = new RowList(this.m_dataRows.Count); context.StartIndex = 0; this.CreateAutomaticSubtotals(context, this.m_dataColumnMembers, true); context.StartIndex = 0; this.CreateAutomaticSubtotals(context, this.m_dataRowMembers, false); context.CurrentScope = null; context.CurrentDataScope = null; this.m_createdSubtotals = true; } }
public override object PublishClone(AutomaticSubtotalContext context) { CustomReportItem customReportItem = (CustomReportItem)(context.CurrentDataRegionClone = (CustomReportItem)base.PublishClone(context)); if (this.m_dataColumnMembers != null) { customReportItem.m_dataColumnMembers = new DataMemberList(this.m_dataColumnMembers.Count); foreach (DataMember dataColumnMember in this.m_dataColumnMembers) { customReportItem.m_dataColumnMembers.Add(dataColumnMember.PublishClone(context, customReportItem)); } } if (this.m_dataRowMembers != null) { customReportItem.m_dataRowMembers = new DataMemberList(this.m_dataRowMembers.Count); foreach (DataMember dataRowMember in this.m_dataRowMembers) { customReportItem.m_dataRowMembers.Add(dataRowMember.PublishClone(context, customReportItem)); } } if (this.m_dataRows != null) { customReportItem.m_dataRows = new CustomDataRowList(this.m_dataRows.Count); foreach (CustomDataRow dataRow in this.m_dataRows) { customReportItem.m_dataRows.Add((CustomDataRow)dataRow.PublishClone(context)); } } context.CreateSubtotalsDefinitions.Add(customReportItem); return(customReportItem); }
public object PublishClone(AutomaticSubtotalContext context) { MapFieldDefinition mapFieldDefinition = (MapFieldDefinition)base.MemberwiseClone(); mapFieldDefinition.m_map = context.CurrentMapClone; return(mapFieldDefinition); }
internal override object PublishClone(AutomaticSubtotalContext context) { ChartGridLines chartGridLines = (ChartGridLines)base.PublishClone(context); if (m_enabled != null) { chartGridLines.m_enabled = (ExpressionInfo)m_enabled.PublishClone(context); } if (m_interval != null) { chartGridLines.m_interval = (ExpressionInfo)m_interval.PublishClone(context); } if (m_intervalType != null) { chartGridLines.m_intervalType = (ExpressionInfo)m_intervalType.PublishClone(context); } if (m_intervalOffset != null) { chartGridLines.m_intervalOffset = (ExpressionInfo)m_intervalOffset.PublishClone(context); } if (m_intervalOffsetType != null) { chartGridLines.m_intervalOffsetType = (ExpressionInfo)m_intervalOffsetType.PublishClone(context); } return(chartGridLines); }
internal object PublishClone(AutomaticSubtotalContext context) { MapLimits mapLimits = (MapLimits)MemberwiseClone(); mapLimits.m_map = context.CurrentMapClone; if (m_minimumX != null) { mapLimits.m_minimumX = (ExpressionInfo)m_minimumX.PublishClone(context); } if (m_minimumY != null) { mapLimits.m_minimumY = (ExpressionInfo)m_minimumY.PublishClone(context); } if (m_maximumX != null) { mapLimits.m_maximumX = (ExpressionInfo)m_maximumX.PublishClone(context); } if (m_maximumY != null) { mapLimits.m_maximumY = (ExpressionInfo)m_maximumY.PublishClone(context); } if (m_limitToData != null) { mapLimits.m_limitToData = (ExpressionInfo)m_limitToData.PublishClone(context); } return(mapLimits); }
public override object PublishClone(AutomaticSubtotalContext context) { RunningValueInfo runningValueInfo = (RunningValueInfo)base.PublishClone(context); runningValueInfo.m_scope = context.GetNewScopeName(this.m_scope); return(runningValueInfo); }
public override object PublishClone(AutomaticSubtotalContext context) { MapSubItem mapSubItem = (MapSubItem)base.PublishClone(context); if (this.m_mapLocation != null) { mapSubItem.m_mapLocation = (MapLocation)this.m_mapLocation.PublishClone(context); } if (this.m_mapSize != null) { mapSubItem.m_mapSize = (MapSize)this.m_mapSize.PublishClone(context); } if (this.m_leftMargin != null) { mapSubItem.m_leftMargin = (ExpressionInfo)this.m_leftMargin.PublishClone(context); } if (this.m_rightMargin != null) { mapSubItem.m_rightMargin = (ExpressionInfo)this.m_rightMargin.PublishClone(context); } if (this.m_topMargin != null) { mapSubItem.m_topMargin = (ExpressionInfo)this.m_topMargin.PublishClone(context); } if (this.m_bottomMargin != null) { mapSubItem.m_bottomMargin = (ExpressionInfo)this.m_bottomMargin.PublishClone(context); } if (this.m_zIndex != null) { mapSubItem.m_zIndex = (ExpressionInfo)this.m_zIndex.PublishClone(context); } return(mapSubItem); }
internal override object PublishClone(AutomaticSubtotalContext context) { ChartEmptyPoints chartEmptyPoints = (ChartEmptyPoints)base.PublishClone(context); if (m_action != null) { chartEmptyPoints.m_action = (Action)m_action.PublishClone(context); } if (m_marker != null) { chartEmptyPoints.m_marker = (ChartMarker)m_marker.PublishClone(context); } if (m_dataLabel != null) { chartEmptyPoints.m_dataLabel = (ChartDataLabel)m_dataLabel.PublishClone(context); } if (m_axisLabel != null) { chartEmptyPoints.m_axisLabel = (ExpressionInfo)m_axisLabel.PublishClone(context); } if (m_customProperties != null) { chartEmptyPoints.m_customProperties = new DataValueList(m_customProperties.Count); foreach (DataValue customProperty in m_customProperties) { chartEmptyPoints.m_customProperties.Add((DataValue)customProperty.PublishClone(context)); } } if (m_toolTip != null) { chartEmptyPoints.m_toolTip = (ExpressionInfo)m_toolTip.PublishClone(context); } return(chartEmptyPoints); }
public override object PublishClone(AutomaticSubtotalContext context) { PointerCap pointerCap = (PointerCap)base.PublishClone(context); if (this.m_capImage != null) { pointerCap.m_capImage = (CapImage)this.m_capImage.PublishClone(context); } if (this.m_onTop != null) { pointerCap.m_onTop = (ExpressionInfo)this.m_onTop.PublishClone(context); } if (this.m_reflection != null) { pointerCap.m_reflection = (ExpressionInfo)this.m_reflection.PublishClone(context); } if (this.m_capStyle != null) { pointerCap.m_capStyle = (ExpressionInfo)this.m_capStyle.PublishClone(context); } if (this.m_hidden != null) { pointerCap.m_hidden = (ExpressionInfo)this.m_hidden.PublishClone(context); } if (this.m_width != null) { pointerCap.m_width = (ExpressionInfo)this.m_width.PublishClone(context); } return(pointerCap); }
internal override object PublishClone(AutomaticSubtotalContext context) { LinearScale linearScale = (LinearScale)base.PublishClone(context); if (m_gaugePointers != null) { linearScale.m_gaugePointers = new List <LinearPointer>(m_gaugePointers.Count); foreach (LinearPointer gaugePointer in m_gaugePointers) { linearScale.m_gaugePointers.Add((LinearPointer)gaugePointer.PublishClone(context)); } } if (m_startMargin != null) { linearScale.m_startMargin = (ExpressionInfo)m_startMargin.PublishClone(context); } if (m_endMargin != null) { linearScale.m_endMargin = (ExpressionInfo)m_endMargin.PublishClone(context); } if (m_position != null) { linearScale.m_position = (ExpressionInfo)m_position.PublishClone(context); } return(linearScale); }
internal object PublishClone(AutomaticSubtotalContext context) { StyleProperties styleProperties = (StyleProperties)MemberwiseClone(); if (m_nameMap != null) { styleProperties.m_nameMap = new Hashtable(m_nameMap.Count); styleProperties.m_valueCollection = new ArrayList(m_valueCollection); { foreach (DictionaryEntry item in m_nameMap) { styleProperties.m_nameMap.Add(((string)item.Key).Clone(), item.Value); object obj = m_valueCollection[(int)item.Value]; object value = null; if (obj is string) { value = string.Copy(obj as string); } else if (obj is int) { value = (int)obj; } else if (obj is ReportSize) { value = ((ReportSize)obj).DeepClone(); } styleProperties.m_valueCollection[(int)item.Value] = value; } return(styleProperties); } } return(styleProperties); }
internal override object PublishClone(AutomaticSubtotalContext context) { RadialScale radialScale = (RadialScale)base.PublishClone(context); if (m_gaugePointers != null) { radialScale.m_gaugePointers = new List <RadialPointer>(m_gaugePointers.Count); foreach (RadialPointer gaugePointer in m_gaugePointers) { radialScale.m_gaugePointers.Add((RadialPointer)gaugePointer.PublishClone(context)); } } if (m_radius != null) { radialScale.m_radius = (ExpressionInfo)m_radius.PublishClone(context); } if (m_startAngle != null) { radialScale.m_startAngle = (ExpressionInfo)m_startAngle.PublishClone(context); } if (m_sweepAngle != null) { radialScale.m_sweepAngle = (ExpressionInfo)m_sweepAngle.PublishClone(context); } return(radialScale); }
internal override object PublishClone(AutomaticSubtotalContext context) { TextBox textBox = (TextBox)base.PublishClone(context); textBox.m_sequenceID = context.GenerateTextboxSequenceID(); if (m_paragraphs != null) { textBox.m_paragraphs = new List <Paragraph>(m_paragraphs.Count); foreach (Paragraph paragraph2 in m_paragraphs) { Paragraph paragraph = (Paragraph)paragraph2.PublishClone(context); paragraph.TextBox = textBox; textBox.m_paragraphs.Add(paragraph); } } if (m_hideDuplicates != null) { textBox.m_hideDuplicates = context.GetNewScopeName(m_hideDuplicates); } if (m_action != null) { textBox.m_action = (Action)m_action.PublishClone(context); } if (m_initialToggleState != null) { textBox.m_initialToggleState = (ExpressionInfo)m_initialToggleState.PublishClone(context); } if (m_userSort != null) { textBox.m_userSort = (EndUserSort)m_userSort.PublishClone(context); } return(textBox); }
public object PublishClone(AutomaticSubtotalContext context) { Sorting sorting = (Sorting)base.MemberwiseClone(); if (this.m_sortExpressions != null) { sorting.m_sortExpressions = new List <ExpressionInfo>(this.m_sortExpressions.Count); foreach (ExpressionInfo sortExpression in this.m_sortExpressions) { sorting.m_sortExpressions.Add((ExpressionInfo)sortExpression.PublishClone(context)); } } if (this.m_sortDirections != null) { sorting.m_sortDirections = new List <bool>(this.m_sortDirections.Count); { foreach (bool sortDirection in this.m_sortDirections) { sorting.m_sortDirections.Add(sortDirection); } return(sorting); } } return(sorting); }
internal override object PublishClone(AutomaticSubtotalContext context) { ReportItemCollection reportItemCollection = (ReportItemCollection)base.PublishClone(context); context.AddReportItemCollection(reportItemCollection); if (m_entries != null) { CustomReportItem customReportItem = null; reportItemCollection.m_entries = new List <ReportItem>(); foreach (ReportItem entry in m_entries) { ReportItem reportItem = (ReportItem)entry.PublishClone(context); reportItemCollection.m_entries.Add(reportItem); if (reportItem is CustomReportItem) { Global.Tracer.Assert(customReportItem == null, "(lastCriPublishClone == null)"); customReportItem = (CustomReportItem)reportItem; } else if (customReportItem != null) { customReportItem.AltReportItem = reportItem; customReportItem = null; } } Global.Tracer.Assert(customReportItem == null, "(lastCriPublishClone == null)"); } if (m_linkToChildName != null) { reportItemCollection.m_linkToChildName = context.GetNewReportItemName(m_linkToChildName); } return(reportItemCollection); }
public object PublishClone(AutomaticSubtotalContext context) { IndicatorState indicatorState = (IndicatorState)base.MemberwiseClone(); indicatorState.m_gaugePanel = (GaugePanel)context.CurrentDataRegionClone; if (this.m_startValue != null) { indicatorState.m_startValue = (GaugeInputValue)this.m_startValue.PublishClone(context); } if (this.m_endValue != null) { indicatorState.m_endValue = (GaugeInputValue)this.m_endValue.PublishClone(context); } if (this.m_color != null) { indicatorState.m_color = (ExpressionInfo)this.m_color.PublishClone(context); } if (this.m_scaleFactor != null) { indicatorState.m_scaleFactor = (ExpressionInfo)this.m_scaleFactor.PublishClone(context); } if (this.m_indicatorStyle != null) { indicatorState.m_indicatorStyle = (ExpressionInfo)this.m_indicatorStyle.PublishClone(context); } if (this.m_indicatorImage != null) { indicatorState.m_indicatorImage = (IndicatorImage)this.m_indicatorImage.PublishClone(context); } return(indicatorState); }
internal void UpdateRepeatWithReference(AutomaticSubtotalContext context) { if (m_repeatWith != null) { m_repeatWith = context.GetNewReportItemName(m_repeatWith); } }
public object PublishClone(AutomaticSubtotalContext context) { ActionItem actionItem = (ActionItem)base.MemberwiseClone(); if (this.m_hyperLinkURL != null) { actionItem.m_hyperLinkURL = (ExpressionInfo)this.m_hyperLinkURL.PublishClone(context); } if (this.m_drillthroughReportName != null) { actionItem.m_drillthroughReportName = (ExpressionInfo)this.m_drillthroughReportName.PublishClone(context); } if (this.m_drillthroughParameters != null) { actionItem.m_drillthroughParameters = new List <ParameterValue>(this.m_drillthroughParameters.Count); foreach (ParameterValue drillthroughParameter in this.m_drillthroughParameters) { actionItem.m_drillthroughParameters.Add((ParameterValue)drillthroughParameter.PublishClone(context)); } } if (this.m_drillthroughBookmarkLink != null) { actionItem.m_drillthroughBookmarkLink = (ExpressionInfo)this.m_drillthroughBookmarkLink.PublishClone(context); } if (this.m_bookmarkLink != null) { actionItem.m_bookmarkLink = (ExpressionInfo)this.m_bookmarkLink.PublishClone(context); } if (this.m_label != null) { actionItem.m_label = (ExpressionInfo)this.m_label.PublishClone(context); } return(actionItem); }
internal void UpdateToggleItemReference(AutomaticSubtotalContext context) { if (m_toggle != null) { m_toggle = context.GetNewReportItemName(m_toggle); } }