Hi,
This has been recorded before but I am using 19.12 & have tried 20.1 but the error persists.
simple code: -
public void test() {
License license = new License();
try {
license.setLicense(“c:/temp/Aspose.Total.Java.lic”);
Document document = new Document(“c:/temp/ForAspose.pdf”);
DocSaveOptions saveOption = new DocSaveOptions();
saveOption.setMode(DocSaveOptions.RecognitionMode.Textbox);
saveOption.setRelativeHorizontalProximity(2.5f);
saveOption.setRecognizeBullets(true);
saveOption.setFormat(DocSaveOptions.DocFormat.DocX);
document.save(“c:/temp/doesit.docx”, saveOption);
document.close();ForAspose.pdf (458.0 KB)
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
I have attached the pdf file.
Assume you can satisfy the license file
Thanks
Jan
ForAspose.pdf (458.0 KB)