Example #1
0
 public PageSection(string uniqueName, AspNetCore.ReportingServices.ReportProcessing.PageSection pageSectionDef, PageSectionInstance pageSectionInstance, Report report, RenderingContext renderingContext, bool pageDef)
     : base(uniqueName, 0, pageSectionDef, pageSectionInstance, renderingContext)
 {
     this.m_pageSectionDef      = pageSectionDef;
     this.m_pageSectionInstance = pageSectionInstance;
     this.m_pageDef             = pageDef;
 }
        public List <PageSectionInstance> GetPageSections(int pageNumber, ChunkManager.RenderingChunkManager chunkManager, PageSection headerDef, PageSection footerDef)
        {
            List <PageSectionInstance> result = null;
            int startPage = default(int);
            IntermediateFormatReader pageSectionReader = chunkManager.GetPageSectionReader(pageNumber, out startPage);

            if (pageSectionReader != null)
            {
                result = pageSectionReader.ReadPageSections(pageNumber, startPage, headerDef, footerDef);
                chunkManager.SetPageSectionReaderState(pageSectionReader.ReaderState, pageNumber);
            }
            return(result);
        }
 public PageSectionInstance(ReportProcessing.ProcessingContext pc, int pageNumber, PageSection reportItemDef)
     : base(pc.CreateUniqueName(), reportItemDef)
 {
     base.m_instanceInfo          = new PageSectionInstanceInfo(pc, reportItemDef, this);
     this.m_pageNumber            = pageNumber;
     this.m_reportItemColInstance = new ReportItemColInstance(pc, reportItemDef.ReportItems);
 }
Example #4
0
        private AspNetCore.ReportingServices.ReportRendering.PageSection GenerateRenderPageSection(AspNetCore.ReportingServices.ReportProcessing.PageSection pageSection, string uniqueNamePrefix)
        {
            AspNetCore.ReportingServices.ReportProcessing.PageSectionInstance pageSectionInstance = new AspNetCore.ReportingServices.ReportProcessing.PageSectionInstance(this.m_processingContext, base.m_currentPageNumber, pageSection);
            AspNetCore.ReportingServices.ReportProcessing.ReportProcessing.PageMerge.CreateInstances(this.m_processingContext, pageSectionInstance.ReportItemColInstance, pageSection.ReportItems);
            string text = base.m_currentPageNumber.ToString(CultureInfo.InvariantCulture) + uniqueNamePrefix;

            AspNetCore.ReportingServices.ReportRendering.RenderingContext renderingContext = new AspNetCore.ReportingServices.ReportRendering.RenderingContext(base.m_romReport.RenderReport.RenderingContext, text);
            return(new AspNetCore.ReportingServices.ReportRendering.PageSection(text, pageSection, pageSectionInstance, base.m_romReport.RenderReport, renderingContext, false));
        }
Example #5
0
 public PageSectionInstanceInfo(ReportProcessing.ProcessingContext pc, PageSection reportItemDef, PageSectionInstance owner)
     : base(pc, reportItemDef, owner, true)
 {
 }
Example #6
0
 public PageSectionInstanceInfo(PageSection reportItemDef)
     : base(reportItemDef)
 {
 }