It's an old program; all tables are of type Table, the cells of type Cell.
Is there a way to for controlling the space before a new table? Is there a
relatively simple way to change the following code to usage of PdfPTable and
PdfPCell?
Cell cellHelper_o = null;
PdfPCell cellHelper = null;
// Table titleTable_o = new Table (2);
PdfPTable titleTable = new PdfPTable (2);
String valueHelper = null;
// titleTable.setBorder (0);
// titleTable_o.setBorder (0);
// titleTable.setsetDefaultVerticalAlignment
(Cell.ALIGN_BOTTOM);
// titleTable_o.setDefaultVerticalAlignment (Cell.ALIGN_BOTTOM);
// titleTable_o.setAlignment (Table.ALIGN_LEFT);
// titleTable.setAlignment (Table.ALIGN_LEFT);
// titleTable_o.setPadding (0f);
// titleTable.setPadding (0f);
// titleTable_o.setWidth (100f);
titleTable.setTotalWidth (100f);
int[] widths = {
50, 50
};
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions