We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have tried to convert HTML to OpenXML. When I want to open the generated file I get this error:
This is my code:
string background = ((dynamic)obj).Entity.Background as string; HtmlConverter converter = new HtmlConverter(mainDocumentPart); IList<OpenXmlCompositeElement> convertedToHTML = converter.Parse(background); List<OpenXmlElement> openXmlElementList = new List<OpenXmlElement>(); convertedToHTML.ToList().ForEach(q => { var convertedOpenXmlElement = q as OpenXmlElement; openXmlElementList.Add(convertedOpenXmlElement); }); addAction(new Run(convertedToHTML.ToList()));
The text was updated successfully, but these errors were encountered:
Solved
Sorry, something went wrong.
I am facing similar issue. seems like html is not right ? any thoughts how do you resolved ?
No branches or pull requests
I have tried to convert HTML to OpenXML. When I want to open the generated file I get this error:
This is my code:
The text was updated successfully, but these errors were encountered: