Free Support Forum - aspose.com

Aspose.Word VS CSS

Hi,

I would like to know if it's possible to link a word file with a CSS. I have about a hundred web pages on my website, and sometimes we need to change page headers text formatting. As of today, i am opening every single word document and making every changes one by one. I would like to have a css file linked with my word documents so i could make my changes only in this file and then it would be applied to the html files made from my word documents.

If yes, how can i do it ?

Thanks

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. No, there is no way to attach Word document to CSS. However, you can define your styles in MS Word template and attach this template to your document. Please see the following link for more information:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net-and-java/aspose.words.document.attachedtemplate.html

Hope this could help you.

Best regards.