title: How To convert a large table to PDF using flying saucer?
body: <p>I have a html with large number of columns(you can find the sample at this <a href="https://dl.dropbox.com/u/99923120/stackoverflow/test.html" rel="nofollow">link</a>)</p>
  
  <p>Now When I try to convert it to PDF using <a href="http://code.google.com/p/flying-saucer/" rel="nofollow">flying saucer</a>(<a href="https://dl.dropbox.com/u/99923120/flying%20saurcer%20jars.rar" rel="nofollow">jar link</a> recompiled to work with iText 2.1.X), the <a href="https://dl.dropbox.com/u/99923120/stackoverflow/test.pdf" rel="nofollow">generated PDF</a> has truncated Columns</p>
  
  <p>Is there some way to make Flying saucer to either break the table or to increase the width of the page according to the html content?</p>
  
  <p>This is the code that I am using</p>
  
  <pre><code>String doc = file.toURI().toURL().toString();
  ITextRenderer renderer = new ITextRenderer();
  renderer.setDocument(doc);
  String outputFile = "test.pdf";
  OutputStream os = new FileOutputStream(outputFile);
  renderer.layout();
  renderer.createPDF(os);
  os.flush();
  os.close();
  </code></pre>
  
  <p>Where <strong>file</strong> is the html which I am trying to convert.</p>