A minor new enhancements to the upcoming 3.3 release is the support for addition of styling information for Word and HTML Exports. You can now add support for backgrounds, borders, fonts, colors, etc to the generated file. The style information is contained in the constants class, and you can modify this:

Below is the default, which you can customize as you see fit. 

 

Constants.HTML_EXPORT_CSS= "<style>"+
   
"table {font-family: Arial, Verdana, sans-serif;border-collapse: collapse; border-spacing: 0; }       "+
   
"td {border: 1px solid #CCC; text-align: center;width: 10em;padding: 1em;}    "+
   
"th {border: 1px solid #CCC; text-align: center;padding: 1em;background-color: #DFDFDF;}"+
   
"tr {height: 1em;}"+
   
"table tr.even {background-color: #F1F1F1;}"+
   
"table tr.footer {border: 1px solid #CCC; text-align: center;padding: 1em;background-color: #DFDFDF;}"+
    
"table tr.odd {background-color:#fefefe;}</style>";

Constants.WORD_EXPORT_CSS= "<style>"+
   
"table {font-family: Arial, Verdana, sans-serif;border-collapse: collapse; border-spacing: 0; }       "+
   
"td {border: 1px solid #CCC; text-align: center;width: 10em;padding: 1em;}    "+
   
"th {border: 1px solid #CCC; text-align: center;padding: 1em;background-color: #DFDFDF;}"+
   
"tr {height: 1em;}"+
   
"table tr.even {background-color: #F1F1F1;}"+
   
"table tr.footer {border: 1px solid #CCC; text-align: center;padding: 1em;background-color: #DFDFDF;}"+
   
"table tr.odd {background-color:#fefefe;}</style>";