Exemplo n.º 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;
 }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
 internal PageSectionInstanceInfo(ReportProcessing.ProcessingContext pc, PageSection reportItemDef, PageSectionInstance owner)
     : base(pc, reportItemDef, owner, addToChunk: true)
 {
 }
Exemplo n.º 4
0
 internal PageSectionInstanceInfo(PageSection reportItemDef)
     : base(reportItemDef)
 {
 }
Exemplo n.º 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);
 }
Exemplo n.º 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));
        }