This project has moved and is read-only. For the latest updates, please go here.

Style not used to convert

Feb 21, 2014 at 1:54 PM
I am new to this library and OpenXML. I am using it to convert html document which defines the css styles within the html. During convertion to Word the styles are not applied. Is this possible with this library? I am using the demo program from documentation.

Feb 24, 2014 at 8:14 AM

CSS is partially supported. Only inline css (ie for example: <span style="font-family: Verdana; font-size: 12px"/>), not <style></style>
You can have a more detailled information on supported style in the documentation.
Mar 3, 2014 at 10:19 PM
I put <span style="font-family: Arial; font-size: 8px"> (using ver 1.5)

This did not work at all. I can use <font family="Arial" size="12pt"> but only Arial is applied, not the 12pt size.