예제 #1
0
        private void CalculatePropagatedPageBreak()
        {
            AspNetCore.ReportingServices.ReportRendering.DataRegion dataRegion = (AspNetCore.ReportingServices.ReportRendering.DataRegion)base.m_owner.RenderReportItem;
            bool thisOrAnscestorHasToggle       = dataRegion.SharedHidden == AspNetCore.ReportingServices.ReportRendering.SharedHiddenState.Sometimes;
            PageBreakLocation pageBreakLocation = PageBreakHelper.GetPageBreakLocation(dataRegion.PageBreakAtStart, dataRegion.PageBreakAtEnd);

            if (base.m_members != null && base.m_members.Count > 0)
            {
                pageBreakLocation = PageBreakHelper.MergePageBreakLocations(this.CalculatePropagatedPageBreak(base.m_members, thisOrAnscestorHasToggle, this.OwnerTablix.SnapshotTablixType == DataRegion.Type.Table), pageBreakLocation);
            }
            this.OwnerTablix.SetPageBreakLocation(pageBreakLocation);
        }
예제 #2
0
        private bool SearchRepeatedSiblings(DataRegion dataRegion, SearchContext searchContext)
        {
            if (dataRegion == null)
            {
                return(false);
            }
            bool flag = false;

            int[] repeatSiblings = dataRegion.GetRepeatSiblings();
            if (repeatSiblings != null)
            {
                int           num            = 0;
                SearchContext searchContext2 = new SearchContext(searchContext);
                int           num2           = 0;
                while (!flag && num2 < repeatSiblings.Length)
                {
                    num  = repeatSiblings[num2];
                    flag = this[num].Search(searchContext2);
                    num2++;
                }
            }
            return(flag);
        }
예제 #3
0
 public Group(DataRegion owner, Grouping groupingDef, Visibility visibilityDef)
 {
     this.m_ownerItem     = owner;
     this.m_groupingDef   = groupingDef;
     this.m_visibilityDef = visibilityDef;
 }