Adding script to converted HTML from DOC/DOCX

Hi ,

We have purchased Aspose.total for java 3 weeks back. We need to add some script code each time when the HTML is generated from doc/docx, depending on our business logic. Is there any option which can be used to add our scripts?


Thanks,

Ajay

Hi Ajay,

Thanks for your inquiry. I am afraid, there is no way to add Javascript or additional attributes to HTML using Aspose.Words. Aspose.Words does not deal with Javascript and no Javascript is read or written during open and save.
http://www.aspose.com/docs/display/wordsjava/Document+Features+Supported+on+HTML+Import

I think, adding Javascript to an output HTML document can be done with some simple post-processing. If we can help you with anything else, please feel free to ask.

Best regards,