コード例 #1
0
 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);
 }
コード例 #2
0
 public TableRowInstance(ReportProcessing.ProcessingContext pc, TableRow rowDef, Table tableDef, IndexedExprHost visibilityHiddenExprHost)
 {
     this.m_uniqueName   = pc.CreateUniqueName();
     base.m_instanceInfo = new TableRowInstanceInfo(pc, rowDef, this, tableDef, visibilityHiddenExprHost);
     this.m_tableRowDef  = rowDef;
     this.m_tableRowReportItemColInstance = new ReportItemColInstance(pc, rowDef.ReportItems);
 }
コード例 #3
0
 public RectangleInstance(ReportProcessing.ProcessingContext pc, Rectangle reportItemDef, int index)
     : base(pc.CreateUniqueName(), reportItemDef)
 {
     base.m_instanceInfo = new RectangleInstanceInfo(pc, reportItemDef, this, index);
     pc.Pagination.EnterIgnoreHeight(reportItemDef.StartHidden);
     this.m_reportItemColInstance = new ReportItemColInstance(pc, reportItemDef.ReportItems);
 }
コード例 #4
0
 public ListContentInstance(ReportProcessing.ProcessingContext pc, List listDef)
 {
     this.m_uniqueName            = pc.CreateUniqueName();
     this.m_listDef               = listDef;
     this.m_reportItemColInstance = new ReportItemColInstance(pc, listDef.ReportItems);
     base.m_instanceInfo          = new ListContentInstanceInfo(pc, this, listDef);
     pc.Pagination.EnterIgnoreHeight(listDef.StartHidden);
 }
コード例 #5
0
 public ReportInstance(ReportProcessing.ProcessingContext pc, Report reportItemDef, ParameterInfoCollection parameters, string reportlanguage, bool noRows)
     : base(pc.CreateUniqueName(), reportItemDef)
 {
     base.m_instanceInfo = new ReportInstanceInfo(pc, reportItemDef, this, parameters, noRows);
     pc.Pagination.EnterIgnoreHeight(reportItemDef.StartHidden);
     this.m_reportItemColInstance = new ReportItemColInstance(pc, reportItemDef.ReportItems);
     this.m_language = reportlanguage;
     this.m_noRows   = noRows;
 }
コード例 #6
0
 public ReportItemColInstanceInfo(ReportProcessing.ProcessingContext pc, ReportItemCollection reportItemsDef, ReportItemColInstance owner)
 {
     if (pc != null)
     {
         this.m_childrenNonComputedUniqueNames = owner.ChildrenNonComputedUniqueNames;
         if (pc.ChunkManager != null && !pc.DelayAddingInstanceInfo)
         {
             if (reportItemsDef.FirstInstance)
             {
                 pc.ChunkManager.AddInstanceToFirstPage(this, owner, pc.InPageSection);
                 reportItemsDef.FirstInstance = false;
             }
             else
             {
                 pc.ChunkManager.AddInstance(this, owner, pc.InPageSection);
             }
         }
     }
 }