Dear Aspose Team,
Our issue is as follows:
We have a .pdf document which we are saving as .doc and .docx too with Aspose.Pdf. The Aspose version that we use is Version=20.8.0.0. There is a hyperlink on a sentence “How to report memoQ bugs”:
image.png (7.2 KB)
If we save the document as .doc or .docx with Aspose.Pdf, the hyperlink will be set on each word of the sentence separately (not for the entire sentence once):
image.png (41.8 KB)
image.png (14.7 KB)
This is causing us an issue. Simple code snippet is:
DocSaveOptions saveOptions = new DocSaveOptions();
saveOptions.Mode = DocSaveOptions.RecognitionMode.Flow;
Aspose.Pdf.Document pdfDoc = new Document(Path.Combine(docDir.FullName, TestFileName + TestFileExtension));
saveOptions.Format = DocSaveOptions.DocFormat.Doc;
pdfDoc.Save(Path.Combine(docDir.FullName, SaveFileName1), saveOptions);
saveOptions.Format = DocSaveOptions.DocFormat.DocX;
pdfDoc.Save(Path.Combine(docDir.FullName, SaveFileName2), Aspose.Pdf.SaveFormat.DocX);
Attaching also the .pdf document and the saved ones with Aspose.Pdf.
ImpExpData.zip (333.8 KB)
Please let us know if You can fix this issue.
We are waiting for Your findings/answer.
Kind regards,
Bordi Tamas
[BUG-3604]