title: Writing a HTML table to PDF in java
body: <blockquote>
    <p><strong>Possible Duplicates:</strong><br>
    <a href="https://stackoverflow.com/questions/633780/converting-html-files-to-pdf">Converting HTML Files to PDF</a><br>
    <a href="https://stackoverflow.com/questions/1777342/pdf-file-generation-from-xml-or-html">PDF file generation from XML or HTML</a>  </p>
  </blockquote>
  
  
  
  <p>I have a table with content in html format , how do I write that table to PDF file in java?</p>
  
  <p>I kind of get this working. I am using faceless pdf library. I have another doubt related to this still. Since I am writing data of html format in pdf , how can I get to know that I am at the end of page so I can print remaining data on next page? Right now it is writing incomplete data on only one pdf page , remaining data is not written. </p>