public void RenderTable(BaseReportItem parent, SectionBounds sectionBounds, ReportPageEventArgs rpea, ILayouter layouter) { this.sectionBounds = sectionBounds; this.Parent = parent; this.layouter = layouter; this.Render(rpea); }
public static bool IsPageFull(Rectangle rectangle, SectionBounds bounds) { if (rectangle.Bottom > bounds.PageFooterRectangle.Top) { return(true); } return(false); }
public SinglePage(SectionBounds sectionBounds, int pageNumber) { if (sectionBounds == null) { throw new ArgumentNullException("sectionBounds"); } if (pageNumber < 0) { throw new ArgumentNullException("pageNumber"); } this.sectionBounds = sectionBounds; this.PageNumber = pageNumber; }
public static bool IsRoomForFooter(SectionBounds sectionBounds,Point loc) { Rectangle r = new Rectangle( sectionBounds.ReportFooterRectangle.Left, loc.Y, sectionBounds.ReportFooterRectangle.Width, sectionBounds.ReportFooterRectangle.Height); Rectangle s = new Rectangle (sectionBounds.ReportFooterRectangle.Left, loc.Y, sectionBounds.ReportFooterRectangle.Width, sectionBounds.PageFooterRectangle.Top - loc.Y -1); return s.Contains(r); }
public static bool IsRoomForFooter(SectionBounds sectionBounds, Point loc) { Rectangle r = new Rectangle(sectionBounds.ReportFooterRectangle.Left, loc.Y, sectionBounds.ReportFooterRectangle.Width, sectionBounds.ReportFooterRectangle.Height); Rectangle s = new Rectangle(sectionBounds.ReportFooterRectangle.Left, loc.Y, sectionBounds.ReportFooterRectangle.Width, sectionBounds.PageFooterRectangle.Top - loc.Y - 1); return(s.Contains(r)); }
public void RenderTable (BaseReportItem parent,SectionBounds sectionBounds,ReportPageEventArgs rpea,ILayouter layouter) { this.sectionBounds = sectionBounds; this.Parent = parent; this.layouter = layouter; this.Render (rpea); }
public static bool IsPageFull (Rectangle rectangle,SectionBounds bounds) { if (rectangle.Bottom > bounds.PageFooterRectangle.Top) { return true; } return false; }