switch (align) { case SConstants.NO_ALIGN: case SConstants.CENTER: break; case SConstants.TOP: d.print(VALIGN_TOP); break; case SConstants.BOTTOM: d.print(VALIGN_BOTTOM); break; case SConstants.BASELINE: d.print(VALIGN_BASELINE); break;
if (align == SConstants.NO_ALIGN || align == SConstants.CENTER) { } else if (align == SConstants.TOP) { d.print(" valign=\"top\""); } else if (align == SConstants.BOTTOM) { d.print(" valign=\"bottom\""); } else if (align == SConstants.BASELINE) { d.print(" valign=\"baseline\"");
    public static void printTableVerticalAlignment(Device d, int align)            throws IOException {        switch (align) {            case SConstants.NO_ALIGN:            case SConstants.CENTER:                break;            case SConstants.TOP:                d.print(VALIGN_TOP);                break;            case SConstants.BOTTOM:                d.print(VALIGN_BOTTOM);                break;            case SConstants.BASELINE:                d.print(VALIGN_BASELINE);                break;        }    }