When i merge 2 docx that have not tetbox, there is no problem with this code.
public static void merge(XWPFDocument source, XWPFDocument append) throws Exception {
CTBody apn = append.getDocument().getBody();
source.getDocument().addNewBody().set(apn);
}
But if the docx have text boxes, source docx have a problem that is unspecified error.
How can i merge 2 docx that have textboxs?