Hello everybody,

I have the problem by getting the header of a docx file. My Code;

--
XWPFDocument doc = new XWPFDocument(OPCPackage.open(new
java.io.File(myDocxFile)));
XWPFHeaderFooterPolicy policy = new XWPFHeaderFooterPolicy(doc);
XWPFHeader headerpolicy = policy.getDefaultHeader();
System.out.println(headerpolicy);
--

but i get "null".

Any idea, Why?

Thanks in advance.
Sars



--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Problem-by-getting-header-from-a-docx-file-tp5711934.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