@Override
public void setXslFO(Element foElement) {
STVerticalJc val = ((CTVerticalJc)this.getObject()).getVal();
if (val == STVerticalJc.TOP ) {
foElement.setAttribute(FO_NAME, "before");
} else if (val == STVerticalJc.CENTER) {
foElement.setAttribute(FO_NAME, "center");
} else if (val == STVerticalJc.BOTTOM) {
foElement.setAttribute(FO_NAME, "after");
} else {
log.warn("How to handle vertical alignment of " + val.value());
}
}