Hi Mike,

I thank you so much for your support and for your help . It works now great! 

Additional to this code!

By getting the defaultHeader is better to use just XWPFHeader!
XWPFHeaderFooterPolicy returned always null! I done it also with;

--
XWPFHeader defaultHeader =doc.getHeaderList().get(0);
List<XWPFParagraph> listParagraph = defaultHeader.getListParagraph();
...
---

Best Regards
sars




--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Create-Header-XWPF-tp5711976p5712005.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to