I have a table in SQL Server that contains RTF code like this:
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Tahoma;}}\viewkind4\uc1\pard\f0\fs17 Lintel Inspection\par }
I then have a template word document that I need to insert this into and just wondering how to do that using OpenXML SDK?
I need to somehow convert RTF to OpenXML I suppose. I have found a couple of links to convert to HTML and then from HTML to OpenXML:
Hi,
There are few other HtmlToOpenXml translators. But, Html To OpenXml library that you have downloaded from codeplex is the best among all. It converts most of the Html Elements into OpenXml understandable format. You can go ahead with that.