Hello -
I just installed Aspose.Word and I am attempting to generate a Word document from a Web page that has images. I am attempting to create the Word document from HTML code and I an getting the following error:
Cannot convert CSS unit types yet
Any ideas as to what the problem is? If this is a feature that is not ready, any ideas as to when it might be ready?
The attached file contains the HTML that was generated for the web page. This is what I wish to create a Word document from, including all images that are associated with the page.
Can this be done?
- John Mercure
Sorry CSS is not actually supported yet, no comments on any delivery dates. Please refer to the link I have posted in the neighbour thread to learn the latest converters information:
https://docs.aspose.com/words/net/features/
Avoid CSS and other unsupported features to convert your HTML into DOC.
Some CSS is supported.
Basically only inline styles are supported and units must be points. CSS exported by Aspose.Word is supported for importing.
Is there any update on when CSS tag will be supported? I am having some htmls that getting “Cannot convert CSS unit types yet” error as well.
I can’t get the latest supported tag list from the following URL. It seems broken.
https://docs.aspose.com/words/net/features/
Thanks
Shu Yih
Check the following link:
https://docs.aspose.com/words/net/features/
Seems we haven’t corrected it yet.
We’ve corrected the URL. You can access the speadsheet here
https://docs.aspose.com/words/net/features/
Sorry no news regarding CSS tags yet.
Is CSS supported now or not, any updates?
I need to convert a word doc to a HTML page and I want that the generated HTML page should follow the css. MS Word allows css with MHT format. Is there any way that I can use MHT features in aspose.word.
We do not support saving in MHT format yet. External CSS styles are also not supported yet, but internal CSS styles support has been extended and improved in the new versions.