public PageBreak(RenderingContext renderingContext, IReportScope reportScope, PageBreakLocation pageBreaklocation) { this.m_renderingContext = renderingContext; this.m_reportScope = reportScope; this.m_pageBreaklocation = pageBreaklocation; this.m_isOldSnapshotOrStaticMember = true; }
private bool IsTextboxInScope() { OnDemandProcessingContext odpContext = m_reportRT.ReportObjectModel.OdpContext; IRIFReportScope iRIFReportScope = null; if (odpContext.IsTablixProcessingMode) { iRIFReportScope = odpContext.LastTablixProcessingReportScope; if (iRIFReportScope == null) { iRIFReportScope = odpContext.ReportDefinition; } } else if (odpContext.IsTopLevelSubReportProcessing) { Microsoft.ReportingServices.ReportIntermediateFormat.SubReport subReport = odpContext.LastRIFObject as Microsoft.ReportingServices.ReportIntermediateFormat.SubReport; Global.Tracer.Assert(subReport != null, "Missing reference to subreport object"); iRIFReportScope = subReport.GetContainingSection(odpContext); } else { IReportScope currentReportScope = odpContext.CurrentReportScope; iRIFReportScope = ((currentReportScope == null) ? odpContext.ReportDefinition : currentReportScope.RIFReportScope); } if (iRIFReportScope == null || !iRIFReportScope.TextboxInScope(m_textBox.SequenceID)) { return(false); } return(true); }
internal PageBreak(RenderingContext renderingContext, IReportScope reportScope, PageBreakLocation pageBreaklocation) { m_renderingContext = renderingContext; m_reportScope = reportScope; m_pageBreaklocation = pageBreaklocation; m_isOldSnapshotOrStaticMember = true; }
internal ActionDrillthroughInstance(IReportScope reportScope, ActionDrillthrough actionDef, int index) : base(reportScope) { m_isOldSnapshot = false; m_actionDef = actionDef; m_index = index; }
public ActionDrillthroughInstance(IReportScope reportScope, ActionDrillthrough actionDef, int index) : base(reportScope) { this.m_isOldSnapshot = false; this.m_actionDef = actionDef; this.m_index = index; }
public ReportElement(IReportScope reportScope, IDefinitionPath parentDefinitionPath, AspNetCore.ReportingServices.ReportIntermediateFormat.ReportItem reportItemDef, RenderingContext renderingContext) { this.m_reportScope = reportScope; this.m_parentDefinitionPath = parentDefinitionPath; this.m_reportItemDef = reportItemDef; this.m_renderingContext = renderingContext; this.m_isOldSnapshot = false; }
internal CompiledRichTextInstance(IReportScope reportScope, TextRun textRunDef, Paragraph paragraphDef, bool multipleParagraphsAllowed) : base(reportScope) { m_paragraphDef = paragraphDef; m_textRunDef = textRunDef; m_multipleParagraphsAllowed = multipleParagraphsAllowed; m_errorContext = m_textRunDef.RenderingContext.ErrorContext; }
internal ReportItemCollection(IReportScope reportScope, IDefinitionPath parentDefinitionPath, Microsoft.ReportingServices.ReportIntermediateFormat.ReportItemCollection reportItemColDef, RenderingContext renderingContext) { m_reportScope = reportScope; m_parentDefinitionPath = parentDefinitionPath; m_isOldSnapshot = false; m_reportItemColDef = reportItemColDef; m_renderingContext = renderingContext; }
public static ReportItem CreateItem(IReportScope reportScope, IDefinitionPath parentDefinitionPath, int indexIntoParentCollectionDef, AspNetCore.ReportingServices.ReportIntermediateFormat.ReportItem reportItemDef, RenderingContext renderingContext) { ReportItem reportItem = null; switch (reportItemDef.ObjectType) { case ObjectType.Textbox: reportItem = new TextBox(reportScope, parentDefinitionPath, indexIntoParentCollectionDef, (AspNetCore.ReportingServices.ReportIntermediateFormat.TextBox)reportItemDef, renderingContext); break; case ObjectType.Rectangle: reportItem = new Rectangle(reportScope, parentDefinitionPath, indexIntoParentCollectionDef, (AspNetCore.ReportingServices.ReportIntermediateFormat.Rectangle)reportItemDef, renderingContext); break; case ObjectType.Image: reportItem = new Image(reportScope, parentDefinitionPath, indexIntoParentCollectionDef, (AspNetCore.ReportingServices.ReportIntermediateFormat.Image)reportItemDef, renderingContext); break; case ObjectType.Line: reportItem = new Line(reportScope, parentDefinitionPath, indexIntoParentCollectionDef, (AspNetCore.ReportingServices.ReportIntermediateFormat.Line)reportItemDef, renderingContext); break; case ObjectType.Subreport: reportItem = new SubReport(reportScope, parentDefinitionPath, indexIntoParentCollectionDef, (AspNetCore.ReportingServices.ReportIntermediateFormat.SubReport)reportItemDef, renderingContext); break; case ObjectType.Tablix: reportItem = new Tablix(parentDefinitionPath, indexIntoParentCollectionDef, (AspNetCore.ReportingServices.ReportIntermediateFormat.Tablix)reportItemDef, renderingContext); break; case ObjectType.Chart: reportItem = new Chart(parentDefinitionPath, indexIntoParentCollectionDef, (AspNetCore.ReportingServices.ReportIntermediateFormat.Chart)reportItemDef, renderingContext); break; case ObjectType.GaugePanel: reportItem = new GaugePanel(parentDefinitionPath, indexIntoParentCollectionDef, (AspNetCore.ReportingServices.ReportIntermediateFormat.GaugePanel)reportItemDef, renderingContext); break; case ObjectType.CustomReportItem: { AspNetCore.ReportingServices.ReportIntermediateFormat.CustomReportItem customReportItem = (AspNetCore.ReportingServices.ReportIntermediateFormat.CustomReportItem)reportItemDef; reportItem = new CustomReportItem(reportScope, parentDefinitionPath, indexIntoParentCollectionDef, customReportItem, renderingContext); if (!((CustomReportItem)reportItem).Initialize(renderingContext)) { reportItem = ReportItem.CreateItem(reportScope, parentDefinitionPath, customReportItem.AltReportItemIndexInParentCollectionDef, customReportItem.AltReportItem, renderingContext); reportItem.ReportItemDef.RepeatedSibling = customReportItem.RepeatedSibling; reportItem.ReportItemDef.RepeatWith = customReportItem.RepeatWith; ReportItem.ProcessAlternateCustomReportItem(customReportItem, reportItem, renderingContext); } break; } case ObjectType.Map: reportItem = new Map(reportScope, parentDefinitionPath, indexIntoParentCollectionDef, (AspNetCore.ReportingServices.ReportIntermediateFormat.Map)reportItemDef, renderingContext); break; } return(reportItem); }
internal DataValueCollection(Cell cell, IReportScope reportScope, RenderingContext renderingContext, IList <Microsoft.ReportingServices.ReportIntermediateFormat.DataValue> dataValues, string objectName, bool isChart) { m_isChartValues = isChart; m_cell = cell; m_reportScope = reportScope; m_dataValues = dataValues; m_renderingContext = renderingContext; m_objectName = objectName; }
public DataValueCollection(Cell cell, IReportScope reportScope, RenderingContext renderingContext, IList <AspNetCore.ReportingServices.ReportIntermediateFormat.DataValue> dataValues, string objectName, bool isChart) { this.m_isChartValues = isChart; this.m_cell = cell; this.m_reportScope = reportScope; this.m_dataValues = dataValues; this.m_renderingContext = renderingContext; this.m_objectName = objectName; }
internal CellContents(IReportScope reportScope, IDefinitionPath ownerPath, Microsoft.ReportingServices.ReportIntermediateFormat.ReportItem cellReportItem, int rowSpan, int colSpan, RenderingContext renderingContext) { m_reportScope = reportScope; m_rowSpan = rowSpan; m_colSpan = colSpan; m_ownerPath = ownerPath; m_isOldSnapshot = false; m_cellReportItem = cellReportItem; m_renderingContext = renderingContext; }
public CellContents(IReportScope reportScope, IDefinitionPath ownerPath, AspNetCore.ReportingServices.ReportIntermediateFormat.ReportItem cellReportItem, int rowSpan, int colSpan, RenderingContext renderingContext) { this.m_reportScope = reportScope; this.m_rowSpan = rowSpan; this.m_colSpan = colSpan; this.m_ownerPath = ownerPath; this.m_isOldSnapshot = false; this.m_cellReportItem = cellReportItem; this.m_renderingContext = renderingContext; }
public GaugeMember(IReportScope reportScope, IDefinitionPath parentDefinitionPath, GaugePanel owner, GaugeMember parent, AspNetCore.ReportingServices.ReportIntermediateFormat.GaugeMember memberDef) : base(parentDefinitionPath, owner, parent, 0) { this.m_memberDef = memberDef; if (this.m_memberDef.IsStatic) { this.m_reportScope = reportScope; } base.m_group = new Group(owner, this.m_memberDef, this); }
internal GaugeMember(IReportScope reportScope, IDefinitionPath parentDefinitionPath, GaugePanel owner, GaugeMember parent, Microsoft.ReportingServices.ReportIntermediateFormat.GaugeMember memberDef) : base(parentDefinitionPath, owner, parent, 0) { m_memberDef = memberDef; if (m_memberDef.IsStatic) { m_reportScope = reportScope; } m_group = new Group(owner, m_memberDef, this); }
public InternalChartMember(IReportScope reportScope, IDefinitionPath parentDefinitionPath, Chart owner, ChartMember parent, AspNetCore.ReportingServices.ReportIntermediateFormat.ChartMember memberDef, int parentCollectionIndex) : base(parentDefinitionPath, owner, parent, parentCollectionIndex) { this.m_memberDef = memberDef; if (this.m_memberDef.IsStatic) { this.m_reportScope = reportScope; } base.m_group = new Group(owner, this.m_memberDef, this); }
internal InternalDataMember(IReportScope reportScope, IDefinitionPath parentDefinitionPath, CustomReportItem owner, DataMember parent, Microsoft.ReportingServices.ReportIntermediateFormat.DataMember memberDef, int parentCollectionIndex) : base(parentDefinitionPath, owner, parent, parentCollectionIndex) { m_memberDef = memberDef; if (m_memberDef.IsStatic) { m_reportScope = reportScope; } m_group = new Group(owner, m_memberDef, this); }
public DataValue(IReportScope reportScope, RenderingContext renderingContext, AspNetCore.ReportingServices.ReportIntermediateFormat.DataValue dataValue, bool isChart, IInstancePath instancePath, string objectName) { this.m_isChartValue = isChart; this.m_instancePath = instancePath; this.m_dataValue = dataValue; this.m_name = new ReportStringProperty(dataValue.Name); this.m_value = new ReportVariantProperty(dataValue.Value); this.m_instance = new InternalDataValueInstance(reportScope, this); this.m_renderingContext = renderingContext; this.m_objectName = objectName; }
internal PageBreak(RenderingContext renderingContext, IReportScope reportScope, IPageBreakOwner pageBreakOwner) { m_renderingContext = renderingContext; m_reportScope = reportScope; m_pageBreakOwner = pageBreakOwner; m_pageBreakDef = m_pageBreakOwner.PageBreak; if (m_pageBreakDef == null) { m_pageBreakDef = new Microsoft.ReportingServices.ReportIntermediateFormat.PageBreak(); } m_isOldSnapshotOrStaticMember = false; }
public PageBreak(RenderingContext renderingContext, IReportScope reportScope, IPageBreakOwner pageBreakOwner) { this.m_renderingContext = renderingContext; this.m_reportScope = reportScope; this.m_pageBreakOwner = pageBreakOwner; this.m_pageBreakDef = this.m_pageBreakOwner.PageBreak; if (this.m_pageBreakDef == null) { this.m_pageBreakDef = new AspNetCore.ReportingServices.ReportIntermediateFormat.PageBreak(); } this.m_isOldSnapshotOrStaticMember = false; }
public ActionInfo(RenderingContext renderingContext, IReportScope reportScope, AspNetCore.ReportingServices.ReportIntermediateFormat.Action actionDef, IInstancePath instancePath, ReportElement reportElementOwner, ObjectType objectType, string objectName, IROMActionOwner romActionOwner) { this.m_renderingContext = renderingContext; this.m_reportScope = reportScope; this.m_actionDef = actionDef; this.m_isOldSnapshot = false; this.m_instancePath = instancePath; this.m_reportElementOwner = reportElementOwner; this.m_objectType = objectType; this.m_objectName = objectName; this.m_romActionOwner = romActionOwner; }
internal ActionInfo(RenderingContext renderingContext, IReportScope reportScope, Microsoft.ReportingServices.ReportIntermediateFormat.Action actionDef, IInstancePath instancePath, ReportElement reportElementOwner, ObjectType objectType, string objectName, IROMActionOwner romActionOwner) { m_renderingContext = renderingContext; m_reportScope = reportScope; m_actionDef = actionDef; m_isOldSnapshot = false; m_instancePath = instancePath; m_reportElementOwner = reportElementOwner; m_objectType = objectType; m_objectName = objectName; m_romActionOwner = romActionOwner; }
public MapMember(IReportScope reportScope, IDefinitionPath parentDefinitionPath, MapDataRegion owner, MapMember parent, AspNetCore.ReportingServices.ReportIntermediateFormat.MapMember memberDef) : base(parentDefinitionPath, owner, parent, 0) { this.m_memberDef = memberDef; if (this.m_memberDef.IsStatic) { this.m_reportScope = reportScope; } if (this.m_memberDef.Grouping != null) { base.m_group = new Group(owner, this.m_memberDef, this); } }
internal MapMember(IReportScope reportScope, IDefinitionPath parentDefinitionPath, MapDataRegion owner, MapMember parent, Microsoft.ReportingServices.ReportIntermediateFormat.MapMember memberDef) : base(parentDefinitionPath, owner, parent, 0) { m_memberDef = memberDef; if (m_memberDef.IsStatic) { m_reportScope = reportScope; } if (m_memberDef.Grouping != null) { m_group = new Group(owner, m_memberDef, this); } }
internal InternalTablixMember(IReportScope reportScope, IDefinitionPath parentDefinitionPath, Tablix owner, TablixMember parent, Microsoft.ReportingServices.ReportIntermediateFormat.TablixMember memberDef, int index) : base(parentDefinitionPath, owner, parent, index) { if (memberDef.IsStatic) { m_reportScope = reportScope; } m_owner = owner; m_memberDef = memberDef; if (m_memberDef.Grouping != null) { m_group = new Group(base.OwnerTablix, m_memberDef, this); } m_memberDef.ROMScopeInstance = ReportScope.ReportScopeInstance; m_memberDef.ResetVisibilityComputationCache(); }
public override GaugeMember this[int index] { get { if (index >= 0 && index < this.Count) { if (base.m_children == null) { base.m_children = new DataRegionMember[this.Count]; } GaugeMember gaugeMember = (GaugeMember)base.m_children[index]; if (gaugeMember == null) { IReportScope reportScope = (this.m_parent != null) ? this.m_parent.ReportScope : base.m_owner.ReportScope; gaugeMember = (GaugeMember)(base.m_children[index] = new GaugeMember(reportScope, this, this.OwnerGaugePanel, this.m_parent, this.m_memberDefs[index])); } return(gaugeMember); } throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidParameterRange, index, 0, this.Count); } }
public override GaugeMember this[int index] { get { if (index < 0 || index >= Count) { throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidParameterRange, index, 0, Count); } if (m_children == null) { m_children = new DataRegionMember[Count]; } GaugeMember gaugeMember = (GaugeMember)m_children[index]; if (gaugeMember == null) { IReportScope reportScope = (m_parent != null) ? m_parent.ReportScope : m_owner.ReportScope; gaugeMember = (GaugeMember)(m_children[index] = new GaugeMember(reportScope, this, OwnerGaugePanel, m_parent, m_memberDefs[index])); } return(gaugeMember); } }
public override DataMember this[int index] { get { if (index < 0 || index >= Count) { throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidParameterRange, index, 0, Count); } if (m_children == null) { m_children = new DataRegionMember[Count]; } DataMember dataMember = (DataMember)m_children[index]; if (dataMember == null) { IReportScope reportScope = (m_parent != null) ? m_parent.ReportScope : m_owner.ReportScope; dataMember = (DataMember)(m_children[index] = new InternalDataMember(reportScope, this, base.OwnerCri, m_parent, m_memberDefs[index], index)); } return(dataMember); } }
public override ChartMember this[int index] { get { if (index >= 0 && index < this.Count) { if (base.m_children == null) { base.m_children = new DataRegionMember[this.Count]; } ChartMember chartMember = (ChartMember)base.m_children[index]; if (chartMember == null) { IReportScope reportScope = (this.m_parent != null) ? this.m_parent.ReportScope : base.m_owner.ReportScope; chartMember = (ChartMember)(base.m_children[index] = new InternalChartMember(reportScope, this, base.OwnerChart, this.m_parent, this.m_memberDefs[index], index)); } return(chartMember); } throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidParameterRange, index, 0, this.Count); } }
public BorderInstance(Border owner, IReportScope reportScope, BorderStyles defaultStyleValueIfExpressionNull) : base(reportScope) { this.m_owner = owner; this.m_defaultStyleValueIfExpressionNull = defaultStyleValueIfExpressionNull; }