Gregan, Miroslav wrote:
>
> Here a picture to picture it :)
OK, I saved your question for last because I intended to
make a small sample to reproduce the problem.
However all I found was:
mainTable = new PdfPTable(headers.length);
Font fontBold = getFontBold();
mainTable.setHeaderRows(1);
mainTable.setTotalWidth(calculateColumnWidth(columnWidths));
pdfPTable.getDefaultCell().setPadding(PdfConstants.DEFAULT_PADDING);
pdfPTable.getDefaultCell().setPaddingTop(PdfConstants.DEFAULT_TOP_PADDING);
mainTable.addCell(new Phrase(headers[0], fontBold));
pdfPTable.getDefaultCell().setRotation(90);
for (int i=1; i<headers.length; i++)
mainTable.addCell(new Phrase(headers[i], fontBold ));
I can't do anything with this code.
What is pdfPTable compared to mainTable?
Where do you tell that nothing should be wrapped?
I'm sorry, but I can't do anything with that snippet.
--
This answer is provided by 1T3XT BVBA
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/