cell.setHorizontalAlignment(horizontalAlignment);
cell.setColspan(colspan);
cell.setUseBorderPadding(useBorderPadding);
cell.setUseDescender(useDescender);
cell.setLeading(getLeading(), 0);
cell.cloneNonPositionParameters(this);
cell.setNoWrap(getMaxLines() == 1);
for (Iterator i = getElements(); i.hasNext(); ) {
LwgElement e = (LwgElement)i.next();
if (e.type() == LwgElement.PHRASE || e.type() == LwgElement.PARAGRAPH) {
Paragraph p = new Paragraph((LwgPhrase)e);