poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike McCullough <mike.mccullo...@gmail.com>
Subject Re: Create Header XWPF
Date Thu, 24 Jan 2013 15:51:27 GMT
Make certain you created the correct header in your template document.
There are three different types defined by XWPFHeaderFooterPolicy (DEFAULT,
EVEN, and FIRST), and I'm assuming that you created a header for only the
first page, but I could be wrong.

On Thu, Jan 24, 2013 at 10:46 AM, sars84 <salimarslan84@googlemail.com>wrote:

> It is the header! DefaultHeader is Null. But i have headers in my input
> file
>
> XWPFHeaderFooter header = headerFooterPolicy.getDefaultHeader();
>                 System.out.println(header.getText());
>
>
>
> --
> View this message in context:
> http://apache-poi.1045710.n5.nabble.com/Create-Header-XWPF-tp5711976p5711980.html
> Sent from the POI - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message