I have seen mr Jason Harrop's code regarding image adding in a document. incase you havent seen it. here's the link:
http://www.docx4java.org/trac/docx4j/browser/trunk/docx4j/src/main/java/org/docx4j/samples/AddImage.java
and it works fine. but my question is. how do i position the image? or how do i place the image at the right side of the document. I think there might be a code where i can put spaces before the image to place it at the right side of the document. but adding a paragraph and adding the image will just put the image below the text so it will still be at the left side. i just need to put the image to the right side of the document. I am new to docx4j so I am not that knowledgeable about the properties to be used. thanks in advance