int top = getPaintingBottom() - (int)getStyle().getMarginWidth(c).bottom();
int top;  if (mode == Layer.PAGED_MODE_SCREEN) { top = getPaintingBottom() - (int)getStyle().getMarginWidth(c).bottom(); } else if (mode == Layer.PAGED_MODE_PRINT) { top = getHeight(c) - (int)getStyle().getMarginWidth(c).bottom(); } else { throw new IllegalArgumentException("Illegal mode"); }
    private void paintBottomFlow(RenderingContext c, Layer root, int additionalClearance) {        CalculatedStyle style = getStyle().getCalculatedStyle();        String flowName = style.getStringProperty(CSSName.FS_FLOW_BOTTOM);        if (! flowName.equals("none")) {            int left = additionalClearance + (int)getStyle().getMarginWidth(c).left();            int top = getPaintingBottom() - (int)getStyle().getMarginWidth(c).bottom();                        paintFlow(c, root, c.getGraphics(), flowName, left, top);        }    }