Tried poking around some, and changing the visibility alone wouldn´t do any good I think. Would have to create some getters and setters aswell.
Anyways, I solved it by creating a custom HssfTableWriter class, and then extending the Hssf-viewer class to override the function used to create the headers and footers of the excel document. ----- Original Message ----- From: "Ed Webb" <[EMAIL PROTECTED]> To: <displaytag-user@lists.sourceforge.net> Sent: Saturday, August 16, 2008 9:25 AM Subject: Re: [displaytag-user] Problems with header styles exporting to excel Daniel Lindberg wrote: > I guess I found the explanation for the strange excel headers. > In the org.displaytag.render.HssfTableWriter there is a method setting the > style: > > > Since this is a private method, I guess I can´t override it... So the > questions remains; > How can we change the header styles? > Since you've got the source code you could change the visibility of the method and recompile. It seems to me that it should be something you can customise. Why not raise it as an issue too so that it can be considered by the developers. Ed! ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.6.3/1614 - Release Date: 2008-08-15 17:29 -- Jag använder gratisversionen av SPAMfighter för privata användare. 2474 spam har blivit blockerade hittills. Betalande användare har inte detta meddelande i sin e-post. Hämta gratis SPAMfighter här: http://www.spamfighter.com/lsv ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user