Support of conversion Word 97-2003 to PDF using Java at MAC

Hi ,

We already have a product that converts word documents to PDF however I am looking forward for replacement of this product with Aspose.words. I have the following question:

How does aspose process word to convert into PDF format internally? What if there is Virus in the uploaded document? Does it still process such documents or is there some kind of check that is being done to find the authenticity of the document internally?

Thanks,
Som.

Hi Soumya,

Thanks for your query. The Aspose.Words mimics the MS Word behavior upon converting documents to PDF. Please read following documentation link for your kind reference.

http://www.aspose.com/docs/display/wordsjava/How+to++Convert+a+Document+to+PDF

Please use the latest version of Aspose.Words for Java and let us know if you have any more queries.

Hi
Soumya,


Thanks for your inquiry.

I would like to supplement Tahir’s answer here i.e. viruses normally live in VBA code that is inside the document file. The virus will only be fired if the VBA code is executed. Currently, Aspose.Words has no means to execute any code inside the document; so, the virus can certainly be not triggered by Aspose.Words. However, Aspose.Words will preserve any VBA project and code intact. So, if there is a virus in the document, it will remain there.

Moreover, you can remove all macros (the VBA projects) as well as toolbars and command customizations from the document by using the Document.removeMacros() method.

Please let me know if I can be of any further assistance.

Best Regards,

Thanks for the quick reply. I also had another question. Does Aspose.words for java support conversion of word 97-2003 docs as well? I assumethat Aspose.words cannot convert ‘.pages’ to PDF however do you have any product in the aspose family which supports this conversion for MAC users.


Thanks,
Soumya.

@som

Thanks for your query. Yes, Aspose.Words for Java support conversion of Word 97-2003 documents. Please read the load and save formats from following links.

Document doc = new Document(MyDir + "in.docx");
doc.save(MyDir + "AsposeOut.doc", SaveFormat.DOC);
doc.Save(MyDir + "AsposeOut.pdf", SaveFormat.PDF);

Please let us know if you have any more queries.