if (content instanceof ReplacedContent) {
if (content instanceof InlineBlockContent) {
    private boolean isEndOfBlock(InlineBox prev_inline, Content content) {        // replaced elements aren't split, so done with this one        if (content instanceof ReplacedContent) {            return true;        }        if (content instanceof FloatedBlockContent) {            return true;        }        /*if (c.getRenderingContext().getLayoutFactory().isBreak(current_node)) {//not needed with content            return true;        }*/        // if no more unused text in this node        // u.p("looking for skip to next node");        if (prev_inline.end_index >= prev_inline.getMasterText().length()) {            return true;        }        return false;    }