I tried to convert an especific word document to pdf using the groupdocs version 3.0.0 in C#, but I got the message “failed to convert document.docx to Pdf”
After that, I opened the document on Word, selected the text and clicked to clear all formatting. Then I tried one more time to convert it to pdf and it worked.
After many attempts, I discovered that the conversion problem was in the formatting of a marked list that had another marked list inside of it and this internal marked list had another market list inside of it. When I cleared the formatting of that section and tried to convert again, it worked.
I would like to know if thare is any kind of rule to convert Word documents to PDF, because it’s strange not convert a document in that case described.
If there isn’t, I would like to know what I should do to fix this problem without change the version of the groupdocs.
The code snippet is above
var pdfType = FileType.Pdf;
var conversion = GroupdocsConversion.Instance();
convertResult = conversion.Convert(baseFileName, pdfName, pdfType);
David Tigredocument.zip (12.7 KB)