if (breakLine != null) {
PageBox linePage = c.getRootLayer().getLastPage(c, breakLine);
PageBox ourPage = c.getRootLayer().getLastPage(c, this);
if (linePage != null && ourPage != null && linePage.getPageNo() + 1 == ourPage.getPageNo()) {
BlockBox breakBox = (BlockBox)breakLine.getParent();
return new BreakAtLineContext(breakBox, breakBox.findOffset(breakLine));
}
}
return null;
}