Free Support Forum - aspose.com

What specific html content is allowed loading into aspose.words?

We need to convert HTML to pdf, and other formats. Our pages will contain jscript, and will reference css files. How does aspose.words handle such content? Will it ignore it all? Will it throw? What is the input file specification for html that we load into aspose.words? Or can you advise us on preprocessing html files prior to conversion?

Hi Jeff,

Thanks for your inquiry.

Aspose.Words will ignore all Javascript when loading HTML. CSS will be imported as styles and the appropriate formatting applied to the imported content. Aspose.Words supports all types of CSS (inline, embedded, linked).

If we can help you with anything else, please feel free to ask.

Thanks,