I want to add an image in a ods file .
Here is my code
shapes.addPicture(5, 5, InputStream)
This will insert the image in the cell position E5. But i would like to insert the image where it’s starting position must be in the middle of the cell E5 as in the attached file. How can i do that?
Note : I don’t know the left and top position of the image. Using the cell information i want to set the image position.