コード例 #1
0
        public ManualTotalSummaryChildTable(Element parent)
            : base(parent)
        {
            ManualTotalSummaryArray = new ManualTotalSummary[parent.ParentTableDescriptor.Fields.Count];

            ManualTotalSummaryTable td = (parent is Table ? parent : parent.ParentTable) as ManualTotalSummaryTable;

            if (td != null)
            {
                foreach (string field in td.TotalSummaries)
                {
                    new ManualTotalSummary(this, field);
                }
            }
        }
コード例 #2
0
        public ManualTotalSummaryGroup(Section parent)
            : base(parent)
        {
            ManualTotalSummaryArray = new ManualTotalSummary[parent.ParentTableDescriptor.Fields.Count];

            ManualTotalSummaryTable td = parent.ParentTable as ManualTotalSummaryTable;

            if (td != null)
            {
                foreach (string field in td.TotalSummaries)
                {
                    new ManualTotalSummary(this, field);
                }
            }
        }