I'm attaching example Word file that I'm using, in the result pdf I only have bunch of Div/Span tags.
Spire.Doc - v11.2.3
Windows 10, x64
.NET 7
Code that I'm running:
- Code: Select all
Document document = new Document();
document.LoadFromFile(@"WordToPDF-test.docx");
var pdfParams = new ToPdfParameterList();
pdfParams.PdfConformanceLevel = Spire.Pdf.PdfConformanceLevel.Pdf_A1A;
pdfParams.CreateWordBookmarks = true;
pdfParams.CreateWordBookmarksUsingHeadings = true;
document.SaveToFile("Sample.pdf", pdfParams);
Should I configure something more? Is it supported? Or could be?