Search code examples
javaxwpf

Remove Header and Footer from .docx file


Can we remove header and footer of .docx file? I'm using XWPFDocument. If anyone has idea, please help me out.


Solution

  • People who wants answer for this question, please refer the link How to replace placeholders in header of docx in java using poi 3.8

    Thanks!