public ContentLimit getContentLimit(int pageNo) { return getContentLimit(pageNo, false); }
public ContentLimit getContentLimit(int pageNo) { return getContentLimit(pageNo, false); }
public void updateHeaderFooterPosition(RenderingContext c) { ContentLimit limit = _contentLimitContainer.getContentLimit(c.getPageNo()); if (limit != null) { updateHeaderPosition(c, limit); updateFooterPosition(c, limit); } }
public void updateHeaderFooterPosition(RenderingContext c) { ContentLimit limit = _contentLimitContainer.getContentLimit(c.getPageNo()); if (limit != null) { updateHeaderPosition(c, limit); updateFooterPosition(c, limit); } }
public void updateTop(LayoutContext c, int absY) { PageBox page = getPage(c, absY); getContentLimit(page.getPageNo(), true).updateTop(absY); ContentLimitContainer parent = getParent(); if (parent != null) { parent.updateTop(c, absY); } }
public void updateTop(LayoutContext c, int absY) { PageBox page = getPage(c, absY); getContentLimit(page.getPageNo(), true).updateTop(absY); ContentLimitContainer parent = getParent(); if (parent != null) { parent.updateTop(c, absY); } }
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); } }
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); } }
protected void propagateExtraSpace( LayoutContext c, ContentLimitContainer parentContainer, ContentLimitContainer currentContainer, int extraTop, int extraBottom) { int start = currentContainer.getInitialPageNo(); int end = currentContainer.getLastPageNo(); int current = start; while (current <= end) { ContentLimit contentLimit = currentContainer.getContentLimit(current); if (current != start) { int top = contentLimit.getTop(); if (top != ContentLimit.UNDEFINED) { parentContainer.updateTop(c, top - extraTop); } } if (current != end) { int bottom = contentLimit.getBottom(); if (bottom != ContentLimit.UNDEFINED) { parentContainer.updateBottom(c, bottom + extraBottom); } } current++; } }
protected void propagateExtraSpace( LayoutContext c, ContentLimitContainer parentContainer, ContentLimitContainer currentContainer, int extraTop, int extraBottom) { int start = currentContainer.getInitialPageNo(); int end = currentContainer.getLastPageNo(); int current = start; while (current <= end) { ContentLimit contentLimit = currentContainer.getContentLimit(current); if (current != start) { int top = contentLimit.getTop(); if (top != ContentLimit.UNDEFINED) { parentContainer.updateTop(c, top - extraTop); } } if (current != end) { int bottom = contentLimit.getBottom(); if (bottom != ContentLimit.UNDEFINED) { parentContainer.updateBottom(c, bottom + extraBottom); } } current++; } }
ContentLimit limit = contentLimitContainer.getContentLimit(c.getPageNo());
ContentLimit limit = contentLimitContainer.getContentLimit(c.getPageNo());
private Rectangle getContentLimitedBorderEdge(RenderingContext c) { Rectangle result = getPaintingBorderEdge(c); ContentLimit limit = _contentLimitContainer.getContentLimit(c.getPageNo());
private Rectangle getContentLimitedBorderEdge(RenderingContext c) { Rectangle result = getPaintingBorderEdge(c); ContentLimit limit = _contentLimitContainer.getContentLimit(c.getPageNo());