私はオープンソースhttp://itextpdf.com/を使用して、いくつかのpdfを作成しています。
テーブルを作成することはできますが、すべての列の幅が同じであるため、特定の列の幅を変更する必要があります。
PdfPTable table = new PdfPTable(6);
Phrase tablePhrse = new Phrase("Sl n0", normalFontBold);
PdfPCell c1 = new PdfPCell(tablePhrse);
c1.setHorizontalAlignment(Element.ALIGN_CENTER);
table.addCell(c1);
列の幅を設定する方法が見つかりませんでした。plsはこれを実現するための何らかの方法を提案しています。