Please advise:
If I save PDF as doc, the word Doc contains bookmarks, but save as Docx not.
Here my code:
using (Document pdfFile = new Document(Path.Combine(SampleFiles, "SampleBookMarks.pdf")))
{
pdfFile.Save(Path.Combine(SampleFiles, "SampleBookMarks.doc"), new DocSaveOptions()
{
Format = DocSaveOptions.DocFormat.Doc
});
pdfFile.Save(Path.Combine(SampleFiles, "SampleBookMarks.docx"), new DocSaveOptions()
{
Format = DocSaveOptions.DocFormat.DocX
});
}
(I know that I have workaround to use Aspose.Words …)
We have checked the data shared by you and found that the PDF file did not have any bookmark inside it. Would you please confirm if problem is related to bookmarks or TOC headings. We will test the scenario in our environment and address it accordingly.
We have observed the scenario at our end and logged issues as following:
PDFNET-45692
PDFNET-45693
We will surely look into details of your requirements and as soon as we have some definite updates regarding investigation process, we will inform you. Please be patient and spare us little time.