Need to find Figure Caption placement using Java

Dear team,

We are extracting images from docx, but few case our tool taking like caption below cases to caption above and caption above cases to caption below so we need to find the Figure caption placement given files, please provide source code

@e503824 This question is already answered in another your thread:
https://forum.aspose.com/t/need-to-find-figure-caption-placement/251362