title: changing style on generating pdf with Primefaces dataExporter
body: <p>I'm using Primefaces dataExporter to generate pdf from a dataTable. The pdf generated has all the columns with the same width. I'm looking for a way to change the style of the table on the postProcessor/preProcessor functions. Can I use the setHtmlStyleClass method to change something before generating pdf? I tried to use it, but with no success. I think I didnt understand it correctly. </p>
  
  <pre class="lang-java prettyprint-override"><code>public void preProcessPDF(Object document) throws IOException, BadElementException, DocumentException {
  
      Document pdf = (Document) document;
      pdf.setHtmlStyleClass("reportClass");
      ...
  }
  </code></pre>
  
  <p>If I can use that method, where can I define reportClass ? Is it a css class for the page on the browser?</p>