We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

HTML Mail Merge Format Inheritance

Hello,

My current problem is that I’m retrieving some data from a database that’s going to be merged onto a Word document. The data is converted to an HTML string and sent to be merged onto the doc. I’ve investigated the issue and find that the merge is somehow causing the inheritance of styling to not take affect. I’ve verified that the HTML is all correct by simply placing it into a blank xml document and seeing the correct behavior of formatting.
ie:

test


In this case, test would only show up as underlined.
Is this an issue with ASPose.Words? Are there any fixes for this? Am I missing something? Thanks for your time.

Andrew

Hi Andrew,

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

Thanks for your request. Currently Aspose.Words does not support inheriting styles from parent objects in HTML. This is known issue #7234 in our defect database.

Issue #7234 - Support inheriting styles from parent objects.

Please see the following document to learn more about restrictions during HTML import/export.

http://www.aspose.com/community/files/51/file-format-components/aspose.words/entry108980.aspx

Best regards.