switch (align) { case SConstants.NO_ALIGN: case SConstants.LEFT: d.print(ALIGN_LEFT); break; case SConstants.CENTER: d.print(ALIGN_CENTER); break; case SConstants.RIGHT: d.print(ALIGN_RIGHT); break; case SConstants.JUSTIFY: d.print(ALIGN_JUSTIFY); break;
if (align == SConstants.NO_ALIGN || align == SConstants.LEFT) { d.print(" align=\"left\""); } else if (align == SConstants.CENTER) { d.print(" align=\"center\""); } else if (align == SConstants.RIGHT) { d.print(" align=\"right\""); } else if (align == SConstants.JUSTIFY) { d.print(" align=\"justify\"");
    public static void printTableHorizontalAlignment(Device d, int align)            throws IOException {        switch (align) {            case SConstants.NO_ALIGN:            case SConstants.LEFT:                d.print(ALIGN_LEFT);                break;            case SConstants.CENTER:                d.print(ALIGN_CENTER);                break;            case SConstants.RIGHT:                d.print(ALIGN_RIGHT);                break;            case SConstants.JUSTIFY:                d.print(ALIGN_JUSTIFY);                break;        }    }