Dear Support.
String filePath = "/Users/ganesh-2007/Downloads/resumes/AarthiShreyasResume.pdf";
//Instantiate the Document object
com.aspose.pdf.Document document = new com.aspose.pdf.Document(filePath);
//Create DocSaveOptions object
com.aspose.pdf.DocSaveOptions saveOptions = new com.aspose.pdf.DocSaveOptions();
//Set the recognition mode as Flow
saveOptions.setMode(com.aspose.pdf.DocSaveOptions.RecognitionMode.Flow);
saveOptions.setFormat(SaveFormat.DocX);
//Set the Horizontal proximity as 2.5
saveOptions.setRelativeHorizontalProximity(2.5f);
//Enable the value to recognize bullets during conversion process
saveOptions.setRecognizeBullets(true);
//Save the resultant DOC file
//document.save("/Users/ganesh-2007/Downloads/resumes/Jabi cv qatar_pdf.doc", saveOptions);
document.save("/Users/ganesh-2007/Downloads/resumes/AarthiShreyasResume_pdf.docx",saveOptions);