I have an HTML table that I wish to convert to PDF. It has between 8 and
13 columns. When I convert using:

// step 2:
// we create a writer that listens to the document
// and directs a XML-stream to a file
PdfWriter.getInstance(document, new FileOutputStream("c:/test.pdf"));

// step 3: we create a parser and set the document handler
SAXParser parser = SAXParserFactory.newInstance().newSAXParser();

// step 4: we parse the document
parser.parse("c:/bop3.htm", new SAXmyHtmlHandler(document));

as per the instructions the first column takes up half the table and the
other columns are split evenly across the second half of the table. No
matter what percentage I put in the <td> tag I get the same result. How
can I get the table to equally distribute accross the cells?

Reply via email to