public override void UpdateRenderReportItem(AspNetCore.ReportingServices.ReportRendering.ReportItem renderReportItem) { if (base.m_style != null) { base.m_style.UpdateStyleCache(renderReportItem); } }
public virtual void UpdateRenderReportItem(AspNetCore.ReportingServices.ReportRendering.ReportItem renderReportItem) { if (this.m_textRunCollection != null && ((ReportElementCollectionBase <TextRun>) this.m_textRunCollection)[0] != null) { ((ReportElementCollectionBase <TextRun>) this.m_textRunCollection)[0].UpdateRenderReportItem(renderReportItem); } }
public TablixCornerRow(Tablix owner, int rowIndex, AspNetCore.ReportingServices.ReportRendering.ReportItem cornerDef) { this.m_owner = owner; this.m_rowIndex = rowIndex; this.m_cornerDef = cornerDef; this.m_cellROMDefs = new TablixCornerCell[this.m_owner.Rows]; }
public override void UpdateRenderReportItem(AspNetCore.ReportingServices.ReportRendering.ReportItem renderReportItem) { base.UpdateRenderReportItem(renderReportItem); if (renderReportItem != null) { this.m_categories = null; this.m_series = null; this.m_memberCellDefinitionIndex = 0; } else { if (this.m_categories != null) { this.m_categories.ResetContext(); } if (this.m_series != null) { this.m_series.ResetContext(); } } this.m_chartAreas = null; this.m_titles = null; this.m_customPaletteColors = null; this.m_legends = null; this.m_borderSkin = null; }
public ReportElement(IDefinitionPath parentDefinitionPath, AspNetCore.ReportingServices.ReportRendering.ReportItem renderReportItem, RenderingContext renderingContext) { this.m_parentDefinitionPath = parentDefinitionPath; this.m_renderReportItem = renderReportItem; this.m_renderingContext = renderingContext; this.m_isOldSnapshot = true; }
public TablixCornerCell(Tablix owner, int rowIndex, int colIndex, AspNetCore.ReportingServices.ReportRendering.ReportItem cornerReportItem) { this.m_owner = owner; this.m_rowIndex = rowIndex; this.m_columnIndex = colIndex; this.m_cornerReportItem = cornerReportItem; }
private void OnDemandUpdateCellContents() { if (this.m_cacheRenderReportItem == null && this.m_cellContents != null) { this.m_cacheRenderReportItem = ((ShimMatrixMember)this.m_tablixMember).CurrentRenderMatrixMember.ReportItem; this.m_cellContents.UpdateRenderReportItem(this.m_cacheRenderReportItem); } }
public void ResetCellContents() { this.m_renderReportItem = null; if (base.m_instance != null) { base.m_instance.SetNewContext(); } }
public override void UpdateRenderReportItem(AspNetCore.ReportingServices.ReportRendering.ReportItem renderReportItem) { base.UpdateRenderReportItem(renderReportItem); if (this.m_actionInfo != null) { this.m_actionInfo.Update(((AspNetCore.ReportingServices.ReportRendering.Image)base.m_renderReportItem).ActionInfo); } }
public override void UpdateRenderReportItem(AspNetCore.ReportingServices.ReportRendering.ReportItem renderReportItem) { base.UpdateRenderReportItem(renderReportItem); this.m_renderRectangle = (AspNetCore.ReportingServices.ReportRendering.Rectangle)renderReportItem; if (this.m_reportItems != null && renderReportItem is AspNetCore.ReportingServices.ReportRendering.Rectangle) { this.m_reportItems.UpdateRenderReportItem(this.m_renderRectangle.ReportItemCollection); } }
public CellContents(IDefinitionPath ownerPath, bool inSubtotal, AspNetCore.ReportingServices.ReportRendering.ReportItem renderReportItem, int rowSpan, int colSpan, RenderingContext renderingContext) { this.m_rowSpan = rowSpan; this.m_colSpan = colSpan; this.m_ownerPath = ownerPath; this.m_isOldSnapshot = true; this.m_inSubtotal = inSubtotal; this.m_renderReportItem = renderReportItem; this.m_renderingContext = renderingContext; }
public void UpdateRenderReportItem(AspNetCore.ReportingServices.ReportRendering.ReportItem renderReportItem) { if (renderReportItem != null) { this.m_renderReportItem = renderReportItem; } if (this.m_reportItem != null) { this.m_reportItem.UpdateRenderReportItem(this.m_renderReportItem); } }
public override void UpdateRenderReportItem(AspNetCore.ReportingServices.ReportRendering.ReportItem renderReportItem) { base.UpdateRenderReportItem(renderReportItem); this.m_renderTextBox = (AspNetCore.ReportingServices.ReportRendering.TextBox)base.m_renderReportItem; if (this.m_actionInfo != null) { this.m_actionInfo.Update(this.m_renderTextBox.ActionInfo); } if (this.m_paragraphCollection != null && ((ReportElementCollectionBase <Paragraph>) this.m_paragraphCollection)[0] != null) { ((ReportElementCollectionBase <Paragraph>) this.m_paragraphCollection)[0].UpdateRenderReportItem(renderReportItem); } }
public void SetCellContents(TableCell renderCellContents) { if (renderCellContents != null) { this.m_renderCellContents = renderCellContents; if (renderCellContents.ReportItem != null) { this.m_renderReportItem = renderCellContents.ReportItem; } } if (base.m_instance != null) { base.m_instance.SetNewContext(); } if (base.m_cellContents != null) { base.m_cellContents.UpdateRenderReportItem((renderCellContents != null) ? renderCellContents.ReportItem : null); } }
public override void UpdateRenderReportItem(AspNetCore.ReportingServices.ReportRendering.ReportItem renderReportItem) { base.UpdateRenderReportItem(renderReportItem); if (renderReportItem != null) { this.m_altReportItem = null; this.m_data = null; } else { if (this.m_data != null && this.m_data.DataColumnHierarchy != null) { this.m_data.DataColumnHierarchy.ResetContext(); } if (this.m_data != null && this.m_data.DataRowHierarchy != null) { this.m_data.DataRowHierarchy.ResetContext(); } } }
public virtual void UpdateRenderReportItem(AspNetCore.ReportingServices.ReportRendering.ReportItem renderReportItem) { if (!base.m_isOldSnapshot) { throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidOperation); } this.SetNewContext(); if (renderReportItem != null) { base.m_renderReportItem = renderReportItem; if (this.m_customProperties != null) { this.m_customProperties.UpdateCustomProperties(renderReportItem.CustomProperties); } if (base.m_style != null && !this.m_isListContentsRectangle) { base.m_style.UpdateStyleCache(renderReportItem); } } }
public override void UpdateRenderReportItem(AspNetCore.ReportingServices.ReportRendering.ReportItem renderReportItem) { base.UpdateRenderReportItem(renderReportItem); if (renderReportItem != null) { this.m_matrixRowDefinitionMapping = null; this.m_matrixColDefinitionMapping = null; if (Type.Matrix == base.m_snapshotDataRegionType && this.m_corner != null) { this.m_corner.ResetContext(); } if (this.m_rows != null) { this.m_rows.ResetContext(true); } if (this.m_columns != null) { this.m_columns.ResetContext(true); } } else { if (Type.Matrix == base.m_snapshotDataRegionType && this.m_corner != null) { this.m_corner.ResetContext(); } if (this.m_rows != null) { this.m_rows.ResetContext(false); } if (this.m_columns != null) { this.m_columns.ResetContext(false); } } }
public ReportItem(IDefinitionPath parentDefinitionPath, int indexIntoParentCollectionDef, bool inSubtotal, AspNetCore.ReportingServices.ReportRendering.ReportItem renderReportItem, RenderingContext renderingContext) : base(parentDefinitionPath, renderReportItem, renderingContext) { this.m_definitionPath = DefinitionPathConstants.GetCollectionDefinitionPath(parentDefinitionPath, indexIntoParentCollectionDef); this.m_inSubtotal = inSubtotal; }
public void UpdateRenderReportItem(AspNetCore.ReportingServices.ReportRendering.ReportItem cornerDef) { this.m_cornerDef = cornerDef; }
public void ResetCellContents() { this.m_cacheRenderReportItem = null; }
public virtual void UpdateRenderReportItem(AspNetCore.ReportingServices.ReportRendering.ReportItem renderReportItem) { }
public DataRegion(IDefinitionPath parentDefinitionPath, int indexIntoParentCollectionDef, bool inSubtotal, AspNetCore.ReportingServices.ReportRendering.ReportItem renderDataRegion, RenderingContext renderingContext) : base(parentDefinitionPath, indexIntoParentCollectionDef, inSubtotal, renderDataRegion, renderingContext) { }
public override void UpdateRenderReportItem(AspNetCore.ReportingServices.ReportRendering.ReportItem renderReportItem) { base.UpdateRenderReportItem(renderReportItem); this.SetNewContext(); }
public static ReportItem CreateShim(IDefinitionPath parentDefinitionPath, int indexIntoParentCollectionDef, bool inSubtotal, AspNetCore.ReportingServices.ReportRendering.ReportItem renderReportItem, RenderingContext renderingContext) { ReportItem result = null; if (renderReportItem is AspNetCore.ReportingServices.ReportRendering.TextBox) { result = new TextBox(parentDefinitionPath, indexIntoParentCollectionDef, inSubtotal, (AspNetCore.ReportingServices.ReportRendering.TextBox)renderReportItem, renderingContext); } else if (renderReportItem is AspNetCore.ReportingServices.ReportRendering.Rectangle) { result = new Rectangle(parentDefinitionPath, indexIntoParentCollectionDef, inSubtotal, (AspNetCore.ReportingServices.ReportRendering.Rectangle)renderReportItem, renderingContext); } else if (renderReportItem is AspNetCore.ReportingServices.ReportRendering.Image) { result = new Image(parentDefinitionPath, indexIntoParentCollectionDef, inSubtotal, (AspNetCore.ReportingServices.ReportRendering.Image)renderReportItem, renderingContext); } else if (renderReportItem is AspNetCore.ReportingServices.ReportRendering.List) { result = new Tablix(parentDefinitionPath, indexIntoParentCollectionDef, inSubtotal, (AspNetCore.ReportingServices.ReportRendering.List)renderReportItem, renderingContext); } else if (renderReportItem is AspNetCore.ReportingServices.ReportRendering.Table) { result = new Tablix(parentDefinitionPath, indexIntoParentCollectionDef, inSubtotal, (AspNetCore.ReportingServices.ReportRendering.Table)renderReportItem, renderingContext); } else if (renderReportItem is AspNetCore.ReportingServices.ReportRendering.Matrix) { result = new Tablix(parentDefinitionPath, indexIntoParentCollectionDef, inSubtotal, (AspNetCore.ReportingServices.ReportRendering.Matrix)renderReportItem, renderingContext); } else if (renderReportItem is AspNetCore.ReportingServices.ReportRendering.Chart) { result = new Chart(parentDefinitionPath, indexIntoParentCollectionDef, inSubtotal, (AspNetCore.ReportingServices.ReportRendering.Chart)renderReportItem, renderingContext); } else if (renderReportItem is AspNetCore.ReportingServices.ReportRendering.CustomReportItem) { result = new CustomReportItem(parentDefinitionPath, indexIntoParentCollectionDef, inSubtotal, (AspNetCore.ReportingServices.ReportRendering.CustomReportItem)renderReportItem, renderingContext); } else if (renderReportItem is AspNetCore.ReportingServices.ReportRendering.SubReport) { result = new SubReport(parentDefinitionPath, indexIntoParentCollectionDef, inSubtotal, (AspNetCore.ReportingServices.ReportRendering.SubReport)renderReportItem, renderingContext); } else if (renderReportItem is AspNetCore.ReportingServices.ReportRendering.Line) { result = new Line(parentDefinitionPath, indexIntoParentCollectionDef, inSubtotal, (AspNetCore.ReportingServices.ReportRendering.Line)renderReportItem, renderingContext); } return(result); }
public ShimMatrixMemberCollection(IDefinitionPath parentDefinitionPath, Tablix owner, bool isColumnGroup, ShimMatrixMember parent, MatrixMemberCollection renderMemberCollection, MatrixMemberInfoCache matrixMemberCellIndexes) : base(parentDefinitionPath, owner, isColumnGroup) { this.m_definitionStartIndex = owner.GetCurrentMemberCellDefinitionIndex(); int count = renderMemberCollection.Count; if (renderMemberCollection[0].IsStatic) { base.m_children = new ShimMatrixMember[count]; for (int i = 0; i < count; i++) { base.m_children[i] = new ShimMatrixMember(this, owner, parent, i, isColumnGroup, i, renderMemberCollection[i], false, matrixMemberCellIndexes); } } else { this.m_dynamicSubgroupChildIndex = 0; bool flag = null != renderMemberCollection.MatrixHeadingDef.Subtotal; bool flag2 = flag && Subtotal.PositionType.After == renderMemberCollection.MatrixHeadingDef.Subtotal.Position; base.m_children = new ShimMatrixMember[(!flag) ? 1 : 2]; if (flag) { this.m_subtotalChildIndex = 0; if (flag2) { this.m_subtotalChildIndex++; } else { this.m_dynamicSubgroupChildIndex++; } } if (flag) { MatrixMember matrixMember = renderMemberCollection[this.m_subtotalChildIndex]; AspNetCore.ReportingServices.ReportRendering.ReportItem reportItem = matrixMember.ReportItem; if (reportItem != null) { if (isColumnGroup) { this.m_sizeDelta += reportItem.Width.ToMillimeters(); } else { this.m_sizeDelta += reportItem.Height.ToMillimeters(); } } } if (flag && !flag2) { base.m_children[this.m_subtotalChildIndex] = new ShimMatrixMember(this, owner, parent, this.m_subtotalChildIndex, isColumnGroup, 0, renderMemberCollection[0], flag2, matrixMemberCellIndexes); } ShimRenderGroups renderGroups = new ShimRenderGroups(renderMemberCollection, flag && !flag2, flag && flag2); ShimMatrixMember shimMatrixMember = (ShimMatrixMember)(base.m_children[this.m_dynamicSubgroupChildIndex] = new ShimMatrixMember(this, owner, parent, this.m_dynamicSubgroupChildIndex, isColumnGroup, this.m_dynamicSubgroupChildIndex, renderGroups, matrixMemberCellIndexes)); if (flag && flag2) { base.m_children[this.m_subtotalChildIndex] = new ShimMatrixMember(this, owner, parent, this.m_subtotalChildIndex, isColumnGroup, count - 1, renderMemberCollection[count - 1], flag2, matrixMemberCellIndexes); } this.m_sizeDelta += shimMatrixMember.SizeDelta; } this.m_definitionEndIndex = owner.GetCurrentMemberCellDefinitionIndex(); }
public TextBoxFilteredStyle(AspNetCore.ReportingServices.ReportRendering.ReportItem renderReportItem, RenderingContext renderingContext, bool useRenderStyle) : base(renderReportItem, renderingContext, useRenderStyle) { }
public ShimTableCell(Tablix owner, int rowIndex, int colIndex, int colSpan, AspNetCore.ReportingServices.ReportRendering.ReportItem renderReportItem) : base(owner, rowIndex, colIndex, owner.InSubtotal) { this.m_colSpan = colSpan; this.m_renderReportItem = renderReportItem; }