internal Map(Microsoft.ReportingServices.OnDemandReportRendering.Map source, PageContext pageContext) : base(source) { Microsoft.ReportingServices.OnDemandReportRendering.Map map = (Microsoft.ReportingServices.OnDemandReportRendering.Map)m_source; m_pageBreakProperties = PageBreakProperties.Create(map.PageBreak, this, pageContext); if (!pageContext.IgnorePageBreaks) { m_pageName = map.Instance.PageName; } else if (pageContext.Common.DiagnosticsEnabled && map.PageBreak.BreakLocation != 0) { pageContext.Common.TracePageBreakIgnored(this, pageContext.IgnorePageBreaksReason); } }
internal Chart(Microsoft.ReportingServices.OnDemandReportRendering.Chart source, PageContext pageContext) : base(source) { Microsoft.ReportingServices.OnDemandReportRendering.Chart chart = (Microsoft.ReportingServices.OnDemandReportRendering.Chart)m_source; ChartInstance chartInstance = (ChartInstance)m_source.Instance; m_pageBreakProperties = PageBreakProperties.Create(chart.PageBreak, this, pageContext); if (!pageContext.IgnorePageBreaks) { m_pageName = chartInstance.PageName; } else if (pageContext.Common.DiagnosticsEnabled && chart.PageBreak.BreakLocation != 0) { pageContext.Common.TracePageBreakIgnored(this, pageContext.IgnorePageBreaksReason); } m_dynamicWidth = chartInstance.DynamicWidth.ToMillimeters(); m_dynamicHeight = chartInstance.DynamicHeight.ToMillimeters(); }
internal Rectangle(Microsoft.ReportingServices.OnDemandReportRendering.Rectangle source, PageContext pageContext) : base(source) { Microsoft.ReportingServices.OnDemandReportRendering.Rectangle rectangle = (Microsoft.ReportingServices.OnDemandReportRendering.Rectangle)m_source; RectangleInstance rectangleInstance = (RectangleInstance)m_source.Instance; m_itemPageSizes = new ItemSizes(source); m_pageBreakProperties = PageBreakProperties.Create(rectangle.PageBreak, this, pageContext); if (!pageContext.IgnorePageBreaks) { m_pageName = rectangleInstance.PageName; } else if (pageContext.Common.DiagnosticsEnabled && rectangle.PageBreak.BreakLocation != 0) { pageContext.Common.TracePageBreakIgnored(this, pageContext.IgnorePageBreaksReason); } base.KeepTogetherHorizontal = source.KeepTogether; base.KeepTogetherVertical = source.KeepTogether; base.UnresolvedKTV = (base.UnresolvedKTH = source.KeepTogether); base.UnresolvedPBE = (base.UnresolvedPBS = true); }