internal PageSection(string uniqueName, Microsoft.ReportingServices.ReportProcessing.PageSection pageSectionDef, PageSectionInstance pageSectionInstance, Report report, RenderingContext renderingContext, bool pageDef) : base(uniqueName, 0, pageSectionDef, pageSectionInstance, renderingContext) { m_pageSectionDef = pageSectionDef; m_pageSectionInstance = pageSectionInstance; m_pageDef = pageDef; }
internal List <PageSectionInstance> GetPageSections(int pageNumber, ChunkManager.RenderingChunkManager chunkManager, PageSection headerDef, PageSection footerDef) { List <PageSectionInstance> result = null; int currentPageNumber; IntermediateFormatReader pageSectionReader = chunkManager.GetPageSectionReader(pageNumber, out currentPageNumber); if (pageSectionReader != null) { result = pageSectionReader.ReadPageSections(pageNumber, currentPageNumber, headerDef, footerDef); chunkManager.SetPageSectionReaderState(pageSectionReader.ReaderState, pageNumber); } return(result); }
internal PageSectionInstanceInfo(ReportProcessing.ProcessingContext pc, PageSection reportItemDef, PageSectionInstance owner) : base(pc, reportItemDef, owner, addToChunk: true) { }
internal PageSectionInstanceInfo(PageSection reportItemDef) : base(reportItemDef) { }
internal PageSectionInstance(ReportProcessing.ProcessingContext pc, int pageNumber, PageSection reportItemDef) : base(pc.CreateUniqueName(), reportItemDef) { m_instanceInfo = new PageSectionInstanceInfo(pc, reportItemDef, this); m_pageNumber = pageNumber; m_reportItemColInstance = new ReportItemColInstance(pc, reportItemDef.ReportItems); }
private Microsoft.ReportingServices.ReportRendering.PageSection GenerateRenderPageSection(Microsoft.ReportingServices.ReportProcessing.PageSection pageSection, string uniqueNamePrefix) { Microsoft.ReportingServices.ReportProcessing.PageSectionInstance pageSectionInstance = new Microsoft.ReportingServices.ReportProcessing.PageSectionInstance(m_processingContext, m_currentPageNumber, pageSection); Microsoft.ReportingServices.ReportProcessing.ReportProcessing.PageMerge.CreateInstances(m_processingContext, pageSectionInstance.ReportItemColInstance, pageSection.ReportItems); string text = m_currentPageNumber.ToString(CultureInfo.InvariantCulture) + uniqueNamePrefix; Microsoft.ReportingServices.ReportRendering.RenderingContext renderingContext = new Microsoft.ReportingServices.ReportRendering.RenderingContext(m_romReport.RenderReport.RenderingContext, text); return(new Microsoft.ReportingServices.ReportRendering.PageSection(text, pageSection, pageSectionInstance, m_romReport.RenderReport, renderingContext, pageDef: false)); }