title: How to Export an HTML table as an Excel while maintaining style and applying freeze pane
body: <p>I am working on a project where an export to Excel functionality is required for a specific HTML table.  The tables style needs to be maintained.  Also, a metadata section needs to be added to the Excel (not present in the html table) and this section needs to be frozen.</p>
  
  <p>I tried achieving this by parsing the html with JSoup and using Apache POI to create an excel file, but I could not find a way to retain the styling.  The values stored in the html style tag do not directly equate to any styles in POI.</p>
  
  <p>Before I started working on it, the application already had a function to export a table to excel by converting it to bytes and writing it with a FileOutPutStream and giving it an xls extension.  This allows the style to be maintained, but since it is technically not an xls formatted file, I am not able to read it in with POI and apply the freeze.  </p>
  
  <p>Is there any way to either read in the file that the application already creates and apply the freeze, or convert the table into xls while maintaining the style and applying a freeze pane?</p>
  
  <p>Alternately, if there is any way to have the table exported to a valid excel file with the styling maintained, I can then have POI read in that file and apply the freeze.</p>