block.setMarginTopOverride(0f);
block.getStyle().setMarginTopOverride(0f);
    private static void checkPageBreakBefore(Context c, Box block) {        if (c.isPrint()) {            if ((c.isPendingPageBreak() ||                    c.getCurrentStyle().propertyByName(CSSName.PAGE_BREAK_BEFORE).isIdent(IdentValue.ALWAYS))) {                block.moveToNextPage(c, false);                block.setMarginTopOverride(0f);            }            c.setPendingPageBreak(false);        }    }