Example #1
0
 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;
 }
Example #2
0
        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);
        }
Example #3
0
 internal PageSectionInstanceInfo(ReportProcessing.ProcessingContext pc, PageSection reportItemDef, PageSectionInstance owner)
     : base(pc, reportItemDef, owner, addToChunk: true)
 {
 }
Example #4
0
 internal PageSectionInstanceInfo(PageSection reportItemDef)
     : base(reportItemDef)
 {
 }
Example #5
0
 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);
 }
Example #6
0
        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));
        }