When exporting Word document containing watermark to PDF, the watermark into the PDF is showed under the contents.
P.S : sorry, example file generated is too big to be added as an attachment...
Document doc = new Document("Test1.docx");
Section section = doc.getSections().get(0);
Paragraph paragraph = section.getParagraphs().get(0);
//Add a Shape
ShapeObject shape = paragraph.appendShape(140, 60, ShapeType.Text_Plain_Text);
shape.setVerticalPosition(50);
shape.setHorizontalPosition(100);
shape.setRotation(315);
shape.getWordArt().setText("Test");
shape.setFillColor(Color.red);
shape.setTextWrappingStyle(TextWrappingStyle.In_Front_Of_Text);
shape.setLineStyle(ShapeLineStyle.Single);
shape.setStrokeColor(new Color(255, 192, 192, 255));
shape.setStrokeWeight(1);
doc.saveToFile("result.pdf", FileFormat.PDF);