On 18/09/2012 14:36, Mattallica wrote:
> In another case, on a cell
> without colspan, it works well.
That's very hard to believe since you're mixing "text mode" and
"composite mode" in your code snippet. Please read the documentation.
-
The horizontal alignement doesn't seem to work on a PdfPCell with colspan.
Here is my code :
PdfPCell noticeCell = new PdfPCell();
noticeCell.setHorizontalAlignment(Element.ALIGN_CENTER);
noticeCell.setVerticalAlignment(Element.ALIGN_MIDDLE);
noticeCell.addElement(new Phrase("Field this part unde