Unable to search for words in a pdf document

Hi Aspose Team,

There is a WORD → PDF converting issue, which breaks search functionality in the Adobe Acrobat Reader (2018.011.20038)

This issue originally appeared in Aspose.Words 17.1.0 version.

Repro Steps:
Open test_result_17.1.pdf and try find something in the document, for example “is” word.
test.jpg (32.4 KB)

How to create PDF’s:

Document document = new Document("C:\\test.docx");

document.Save("C:\\test_result.pdf", SaveFormat.Pdf);

test.zip (72.2 KB)

Also a workaround exists.

Could you please take a look at this issue?

Thank you in advance.

@spectr100,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-16629. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

@spectr100,

Could you please try latest version of Aspose.Words for .NET 18.3? We have not found this issue while using latest version of Aspose.Words. Please check the attached output PDF and image. search word.png (22.0 KB)
18.3.pdf (35.4 KB)

The issue is still there (18.3.pdf): result.jpg (55.4 KB)

I’ve created a new test file: test2.zip (6.7 KB)

The issue disappears if you do the following::

  1. click on the Purge Cache Contents button
  2. save test document to DOCX/PDF through Microsoft Word

Thanks.

@spectr100,

Could you please share some more detail about this step?

This step from the workaround, so please do not do it.
Also do not re-save test document by Microsoft Word, it’s “fixes” the issue.

@spectr100,

Thanks for sharing the detail.

The issues you have found earlier (filed as WORDSNET-16629) have been fixed in this Aspose.Words for .NET 18.5 update and this Aspose.Words for Java 18.5 update.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan