Previous | Next | (P-PDF) PDF Accessibility
Topic: IPDDomDocument::GetTextSelection() doesn't always work
Conf: (P-PDF) PDF Accessibility, Msg: 145782
From: andreaspetersen
Date: 1/31/2006 10:43 PM
I try to access selected text in a pdf-document through the Accessible DOM Interface described in https://partners.adobe.com/public/developer/en/pdf/access.pdf
To get the selected text I get a hold of the IPDDomDocument through the MSAA-method AccessibleObjectFromWindow(), and then I use IPDDomDocument::GetTextSelection() to get the selected text as a string. This works fine and I am also able to get the selected text in some pdf-documents, but when I try to get selected text in https://partners.adobe.com/public/developer/en/pdf/access.pdf
it returns with the following errorcode: -2147417851.
The document is supposed to allow the extraction of text for accessibility.
Does anybody know why I am not able to get the selected text in this document?