You could remove all paragraphs/runs similar to how I added them in the example code from previous emails.
On Fri, Mar 8, 2013 at 8:41 AM, Paul C. <[email protected]> wrote: > Guys, > Does anyone know how to remove the footer/header from a word doc? > I was hoping there would be something like: > XWPFDocument document....... > document.getHeaderFooterPolicy().removeFooter(). > However, the HeaderFooterPolicy does not seem to have any method for > something like that. > Anyone aware of some other way of achieving this? > Thanks in advance. > Paul > > > > -- > View this message in context: > http://apache-poi.1045710.n5.nabble.com/Create-Header-XWPF-tp5711976p5712281.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] > >
