replace header image with another image

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

replace header image with another image

istiti
this is my code
                XWPFHeaderFooterPolicy policy= document.getHeaderFooterPolicy();
            XWPFHeader header = policy.getHeader(0);
            for (XWPFPictureData picture : header.getAllPictures()){
            System.out.println(picture.getFileName());
               
            }


how can I replace this picture by another image ?
Loading...