Forum Discussion
Hi Hoa,
For the MSAA engine to expose internal structure of a PDF file, this file must be tagged to enable accessibility. Open Document Properties and check out the Description > Advanced > Tagged PDF value - what does it say?
If your PDF is tagged, make sure that Internet Explorer isn't filtered out from Open Applications by the Process Filter in your project's properties.
If your PDF is untagged, you can try one of the following approaches:
* Add tags to the PDF file to make it MSAA-compatible. If the developers of your tested application could modify it so that it generates tagged PDF, that would be easier for you. If they cannot, you can add the tags yourself by using an authoring application such as Adobe Acrobat.
* If you have Adobe Acrobat (not Acrobat Reader) installed, you can access the PDF file contents using Acrobat's OLE Automation API (the AcroExch.App scripting object). For the Acrobat Automation API reference, check out this document.
* Alternatively, you can save the PDF file to a text file and retrieve data from this text file. You can find sample scripts for reading text files here.
Related Content
- 8 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 6 days ago