internal ReportInstance(ReportProcessing.ProcessingContext pc, Report reportItemDef, ParameterInfoCollection parameters, string reportlanguage, bool noRows)
     : base(pc.CreateUniqueName(), reportItemDef)
 {
     m_instanceInfo = new ReportInstanceInfo(pc, reportItemDef, this, parameters, noRows);
     pc.Pagination.EnterIgnoreHeight(reportItemDef.StartHidden);
     m_reportItemColInstance = new ReportItemColInstance(pc, reportItemDef.ReportItems);
     m_language = reportlanguage;
     m_noRows   = noRows;
 }
 internal ReportInstanceInfo GetCachedReportInstanceInfo(ChunkManager.RenderingChunkManager chunkManager)
 {
     if (m_instanceInfo is OffsetInfo)
     {
         if (m_cachedInstanceInfo == null)
         {
             IntermediateFormatReader reader = chunkManager.GetReader(((OffsetInfo)m_instanceInfo).Offset);
             m_cachedInstanceInfo = reader.ReadReportInstanceInfo((Report)m_reportItemDef);
         }
         return(m_cachedInstanceInfo);
     }
     return((ReportInstanceInfo)m_instanceInfo);
 }