The code:
String path = "C:\\Users\\z_jia\\Desktop\\a\\DMS\\";
Document word = new Document(path + "1.docx");
var builder = new DocumentBuilder(word);
for (int i = 0; i < word.getSections().getCount(); i++)
{
builde…...FOOTER_PRIMARY); var shape = builder.insertImage(path + "1.png"); shape.setWrapType(WrapType...setWrapType(WrapType.NONE); shape.setBehindText(true); var ps = word...