You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Emmanuel Bourgerie <ma...@gmail.com> on 2012/02/28 13:57:23 UTC

Footer font size

Hi !

Little issue in here, concerning footers. I have this code :

   Footer footer = feuille1.getFooter();
   footer.setCenter(HSSFFooter.fontSize((short)9) + "some text");

But when I open it with Excel 2010, the preview shows a *HUGE* footer 
font size, I have 3 characters on my page at most.

Did I forget something ?

Best regards,

------
Emmanuel Bourgerie <ma...@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Re: Footer font size

Posted by Yegor Kozlov <ye...@dinom.ru>.
Please post the full code.

Your code snippet looks correct and setting header / footers works OK to me.

Yegor

On Tue, Feb 28, 2012 at 4:57 PM, Emmanuel Bourgerie
<ma...@gmail.com> wrote:
> Hi !
>
> Little issue in here, concerning footers. I have this code :
>
>  Footer footer = feuille1.getFooter();
>  footer.setCenter(HSSFFooter.fontSize((short)9) + "some text");
>
> But when I open it with Excel 2010, the preview shows a *HUGE* footer font
> size, I have 3 characters on my page at most.
>
> Did I forget something ?
>
> Best regards,
>
> ------
> Emmanuel Bourgerie <ma...@gmail.com>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org