Previous | Next | (P-PDF) PDF Accessibility
Topic: RE: IPDDomDocument::GetTextSelection() doesn't always work (Via Email)
Conf: (P-PDF) PDF Accessibility, Msg: 145815
From: Duff_Johnson
Date: 2/1/2006 05:25 AM
> 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?
This may be a bug - I've reported it to Adobe, and will report if/when
more information is available.
Duff Johnson
Document Solutions, Inc.
http://www.document-solutions.com