We implemented a viewer that utilizes key data for fast key searches
of PDF documents. Works great! A fall back we provide (like your
viewer sample) is to provide a regular full document searche. Our
documents are typically 50,000 to 250,000 pages, so obviously very
slow going. We avoid the built in search text dialog because we ALSO
offer the keyed search in our enhanced UI. We use FindText for full-
document search mode. A few awkward issues though...
o FindText offers no working/progress for us to give feedback to the
user that its working.
o FindText offers no CANCEL
o We tried putting it in a background worker, so we could provide a UI
state for working, and then clear it when the worker returns, but
FindText returns immediately anyway.
o FindText highlights the found text, but we can't figure out how to
use this for print/selection (we had to override the print function as
well - trying to avoid defaulting to print-full-document)
o FindText quickly jumps to the next page, and then waits a long time
until it finds something before we hear back. Visually this is
confusing to the user.
Any help you can provide for chinking our way in to improve some of
these would be greatly appreciated. I'm always amazed at what is
possible.