Exemple #1
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);
                 }
             }
         }
     }
 }
Exemple #3
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);
                    }
                }
            }
        }