Planet PDF Forum Archive

Planet PDF  ForumThe page you are viewing is part of our 160,000 page discussion forum archive. See below for PDF-related discussions spanning 1999-2008. To ask questions and get help, head to the live Planet PDF Forum.


How to search this archive. The quickest way is to use the filters on our Advanced Search page so that only archive pages are included in the results.


Previous | Next | (P-PDF) PDF Accessibility


Topic: IPDDomDocument::GetCaret(..) vs the documentation
Conf: (P-PDF) PDF Accessibility, Msg: 145864
From: andreaspetersen
Date: 2/2/2006 12:03 AM

IPDDomDocument::GetCaret(..) doesn't act as it is supposed to according to the documentation (https://partners.adobe.com/public/developer/en/pdf/access.pdf). At least as I read the documentation.

In the description of the function it says that "The node may be a word or a form field". But my experiments with this function shows that sometimes it returns a text node instead of a word node or a form field. The problem is furthermore that the index it also returns doesn't have anything to do with the text node. Instead it shows the index in the word node (that should have been returned).

Do I read the documentation wrong? How are you supposed to understand the word 'may'? I see it as the returned node CAN ONLY be a word node or a form field. But even if it is not only word nodes or text fields, then I guess that the index should match the returned node.

I don't have a bulletproof way of re-creating this problem, but it often happens when I choose the selection-tool (to get a caret), then double-click on a word in the pdf-document to select it and then use IPDDomDocument::GetCaret(..) on the document.

I use Adobe Reader 7.0.5, Microsoft Visual Studio .NET 2003 and C++. I get the Interfaces from the adobe homepage at:
http://partners.adobe.com/public/developer/en/pdf/ClientFiles.zip
linked from this page:
http://partners.adobe.com/public/developer/acrobat/index_advanced.html

Any help is appreciated - thanks

PDF In-Depth Free Product Trials Ubiquitous PDF

Pitstop Pro

Now graphic arts professionals have even broader and more expert control over their PDF documents. With...

Download free demo

ARTS PDF Aerialist

The ultimate plug-in for Adobe Acrobat and #1 selling product at PDF Store. Advanced splitting, merging,...

Download free demo

Ubiquitous PDF: Free short film distribution guide released

Nigel Smith, an award-winning producer of short films, has released a free PDF guidebook to help budding filmmakers find wider audiences for their short films.

December 04, 2008
Search Planet PDF
more searching options...




PDF Resources
Platinum Sponsor
Create & Edit PDF - Nitro PDF Software

ARTS PDF

Silver Sponsors

PDF-Tools enfocus

FileOpen PDFNet SDK: PDF Component. Cross-platform PDF library

PDF Converter: Create, Convert PDF to Word/Excel Visual Integrity: Convert, Create, Extract, Merge and Modify PDF

Debenu: Desktop Document Management, Archiving and Tagging Software SmartSoft

Get Nitro PDF Professional
Featured Product

NITRO PDF Professional

Built from the ground up, the perfect desktop PDF product for business and enterprise. Nitro PDF Professional has an uncompromising feature set so you can create, combine, edit, collaborate on and...

Featured Event

No upcoming events

PDF Store Categories