Esempio n. 1
0
        public static OpenXmlElement HtmlToOpenXml(IObjectRepository tdb, MainDocumentPart mainPart, string html, bool returnInvalid = false)
        {
            HtmlToOpenXmlConverter converter = new HtmlToOpenXmlConverter(tdb, mainPart);

            return(converter.Convert(html, returnInvalid));
        }
Esempio n. 2
0
        public static OpenXmlElement HtmlToOpenXml(this string html, IObjectRepository tdb, MainDocumentPart mainPart)
        {
            HtmlToOpenXmlConverter converter = new HtmlToOpenXmlConverter(tdb, mainPart);

            return(converter.Convert(html));
        }