Quantcast
Viewing all articles
Browse latest Browse all 3131

PDF to DOC Feature has many issues

Hi,

I recently tried  out the PDF to Doc feature of Aspose PDF and it seems that it is not very stable/mature enough to handle graphics and other elements in PDF

This is the code that I used to transform the PDF to DOC

    public static void main(String[] args) throws Exception {

        loadLicense();
        com.aspose.pdf.Document pdfDocument = new com.aspose.pdf.Document("c:/sample/test.pdf");
        //pdfDocument.save("c://sample/test.xml", SaveFormat.Xml);
        DocSaveOptions saveOptions = new DocSaveOptions();
        saveOptions.setMode(DocSaveOptions.RecognitionMode.Textbox);
        //saveOptions.setRelativeHorizontalProximity(2.5f);
        saveOptions.setRecognizeBullets(true);
        pdfDocument.save("c://sample/test2.doc", saveOptions);

    }//ends main

I have tried various combinations. Yet the word doc looks horribly wrong..

What all features of PDF are supported while converting PDF to Doc?

Thanks & Regards,
Smitha



Viewing all articles
Browse latest Browse all 3131