private PageBox getLastPage() { ContentLimitContainer c = this; while (c.getParent() != null) { c = c.getParent(); } return c._lastPage; }
private void setLastPage(PageBox page) { ContentLimitContainer c = this; while (c.getParent() != null) { c = c.getParent(); } c._lastPage = page; }
public void updateBottom(LayoutContext c, int absY) { PageBox page = getPage(c, absY); getContentLimit(page.getPageNo(), true).updateBottom(absY); ContentLimitContainer parent = getParent(); if (parent != null) { parent.updateBottom(c, absY); } }