private void VisitTablix(Microsoft.ReportingServices.OnDemandReportRendering.Tablix tablixDef)
 {
     if (tablixDef.Corner != null)
     {
         TablixCornerRowCollection rowCollection = tablixDef.Corner.RowCollection;
         for (int i = 0; i < rowCollection.Count; i++)
         {
             TablixCornerRow tablixCornerRow = rowCollection[i];
             if (tablixCornerRow == null)
             {
                 continue;
             }
             for (int j = 0; j < tablixCornerRow.Count; j++)
             {
                 Microsoft.ReportingServices.OnDemandReportRendering.TablixCornerCell tablixCornerCell = tablixCornerRow[j];
                 if (tablixCornerCell != null)
                 {
                     Visit(tablixCornerCell.CellContents.ReportItem);
                 }
             }
         }
     }
     VisitTablixMemberCollection(tablixDef.ColumnHierarchy.MemberCollection, -1, isTopLevel: true);
     VisitTablixMemberCollection(tablixDef.RowHierarchy.MemberCollection, -1, isTopLevel: true);
 }
Esempio n. 2
0
 private static void AddCornerToCurrentPage(TablixCorner corner, PageContext context, bool useForPageHFEval, Interactivity interactivity)
 {
     if (corner != null)
     {
         TablixCornerRowCollection rowCollection   = corner.RowCollection;
         TablixCornerRow           tablixCornerRow = null;
         for (int i = 0; i < rowCollection.Count; i++)
         {
             tablixCornerRow = ((ReportElementCollectionBase <TablixCornerRow>)rowCollection)[i];
             for (int j = 0; j < tablixCornerRow.Count; j++)
             {
                 if (((ReportElementCollectionBase <TablixCornerCell>)tablixCornerRow)[j] != null && ((ReportElementCollectionBase <TablixCornerCell>)tablixCornerRow)[j].CellContents != null)
                 {
                     RegisterItem.RegisterHiddenItem(((ReportElementCollectionBase <TablixCornerCell>)tablixCornerRow)[j].CellContents.ReportItem, context, useForPageHFEval, interactivity);
                 }
             }
         }
     }
 }
 private static void CollectTablixCornerContents(TablixCorner corner, PageContext context, bool useForPageHFEval, Dictionary <string, List <object> > textBoxes)
 {
     if (corner != null)
     {
         TablixCornerRowCollection rowCollection   = corner.RowCollection;
         TablixCornerRow           tablixCornerRow = null;
         for (int i = 0; i < rowCollection.Count; i++)
         {
             tablixCornerRow = ((ReportElementCollectionBase <TablixCornerRow>)rowCollection)[i];
             for (int j = 0; j < tablixCornerRow.Count; j++)
             {
                 if (((ReportElementCollectionBase <TablixCornerCell>)tablixCornerRow)[j] != null && ((ReportElementCollectionBase <TablixCornerCell>)tablixCornerRow)[j].CellContents != null)
                 {
                     HeaderFooterEval.CollectTextBoxes(((ReportElementCollectionBase <TablixCornerCell>)tablixCornerRow)[j].CellContents.ReportItem, context, useForPageHFEval, textBoxes);
                 }
             }
         }
     }
 }
Esempio n. 4
0
        private static void AddCornerToCurrentPage(TablixCorner corner, PageContext context, bool useForPageHFEval, Interactivity interactivity)
        {
            if (corner == null)
            {
                return;
            }
            TablixCornerRowCollection rowCollection   = corner.RowCollection;
            TablixCornerRow           tablixCornerRow = null;

            for (int i = 0; i < rowCollection.Count; i++)
            {
                tablixCornerRow = rowCollection[i];
                for (int j = 0; j < tablixCornerRow.Count; j++)
                {
                    if (tablixCornerRow[j] != null && tablixCornerRow[j].CellContents != null)
                    {
                        RegisterItem.RegisterHiddenItem(tablixCornerRow[j].CellContents.ReportItem, context, useForPageHFEval, interactivity);
                    }
                }
            }
        }
        private static void CollectTablixCornerContents(TablixCorner corner, PageContext context, bool useForPageHFEval, Dictionary <string, List <object> > textBoxes)
        {
            if (corner == null)
            {
                return;
            }
            TablixCornerRowCollection rowCollection   = corner.RowCollection;
            TablixCornerRow           tablixCornerRow = null;

            for (int i = 0; i < rowCollection.Count; i++)
            {
                tablixCornerRow = rowCollection[i];
                for (int j = 0; j < tablixCornerRow.Count; j++)
                {
                    if (tablixCornerRow[j] != null && tablixCornerRow[j].CellContents != null)
                    {
                        CollectTextBoxes(tablixCornerRow[j].CellContents.ReportItem, context, useForPageHFEval, textBoxes);
                    }
                }
            }
        }
 private void VisitTablix(AspNetCore.ReportingServices.OnDemandReportRendering.Tablix tablixDef)
 {
     if (tablixDef.Corner != null)
     {
         TablixCornerRowCollection rowCollection = tablixDef.Corner.RowCollection;
         for (int i = 0; i < rowCollection.Count; i++)
         {
             TablixCornerRow tablixCornerRow = ((ReportElementCollectionBase <TablixCornerRow>)rowCollection)[i];
             if (tablixCornerRow != null)
             {
                 for (int j = 0; j < tablixCornerRow.Count; j++)
                 {
                     AspNetCore.ReportingServices.OnDemandReportRendering.TablixCornerCell tablixCornerCell = ((ReportElementCollectionBase <AspNetCore.ReportingServices.OnDemandReportRendering.TablixCornerCell>)tablixCornerRow)[j];
                     if (tablixCornerCell != null)
                     {
                         this.Visit(tablixCornerCell.CellContents.ReportItem);
                     }
                 }
             }
         }
     }
     this.VisitTablixMemberCollection(tablixDef.ColumnHierarchy.MemberCollection, -1, true);
     this.VisitTablixMemberCollection(tablixDef.RowHierarchy.MemberCollection, -1, true);
 }