You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by "Claussen, Larry M" <lm...@sandia.gov> on 2005/02/02 22:19:26 UTC

Adding color to a footer

Given this code:

HSSFFooter footer = sheet.getFooter();
footer.setCenter(HSSFFooter.font("Stencil-Normal", "Italic)
 + HSSFFooter.fontSize((short) 16) + "BLARGH");

How do I make the text "BLARGH" red. Thanks.