I require to remove the header and footer images from .docx file by using java. I use XWPFDocument API. I dnt have any working code to show here. I'm able to remove the header texts by referring the link
How to replace placeholders in header of docx in java using poi 3.8
Please help me to resolve the issue.