next up previous contents index
Next: 3.4 Document Library Up: 3. Viewer Previous: 3.2.8 Lookup Options   Contents   Index


3.3 Find Function

The viewer uses its own find function to search through the records in a document. Tap on the left lens in the toolbar, choose Go|Find... or use the Graffiti shortcut /F to start a new search. The last search pattern will be shown in the find field and by using the search history you can recall any of the last 10 search patterns.

Figure 3.9: The Find Function.

It is possible to make a case-insensitive or case-sensitive search and also to choose between only searching in the current record, in all records in the document, in all records starting with the present point, or recursively in sub- pages, i.e., pages linked from this one and so on. Moreover, you can choose to search for a phrase (all the characters entered must be in the document as entered) or for a number of words in a paragraph in which case each space separated sequence of characters in the search string must occur in the same paragraph (but need not appear as a complete word).

More sophisticated than case-insensitive searches are transliteration searches. These transliterate the text in the document according to a a fixed transliteration table before searching. This can be used to search for accented characters without knowing what the accentuation is or to search for characters in the document's encoding that are difficult to enter via Graffiti or that your Palm localization does not support, but that are supported via a custom font. You can make your own transliteration tables via the tools in the source code viewer/xlit directory. Each transliteration table is a separate .pdb database. Here are some common ones.

Latin1.pdb
Drop Latin 1 accents before searching. Also, change Drop Latin 1 accentsall extended characters to ASCII characters. Searching for e will find é, è, ë and ê, etc. If case the search is case insensitive, it will also find É, È, Ë and Ê.
Latin2.pdb
Drop Latin 2 accents before searching. This is the same as Latin1.pdb but for the ISO-8859-2 (Eastern European) encoding.
CP1250.pdb
Drop CP-1250 accents. This is the same as Latin2.pdb but for the Windows Eastern European character encoding.
NonASCIIToPeriod.pdb
Non-ASCII to period. All characters not in the ASCII printable range 32-126 are transliterated to a period (.). Thus, you can search for èglise by entering .glise and for ``goat'' including the curly quotes by entering .goat..
PBGreekKeys.pdb
PB+GreekKeys to ASCII. This transliterates GreekKeys encoded text (including PalmBible+ extensions) to ASCII using the same Greek transliteration as in the Online Bible and PalmBible+ programs.

Except for PBGreekKeys.pdb, all the transliterations are symmetric, i.e. the transliteration is applied not just to the document before searching but also to the entered search text. So if you use the ``Drop Latin 1 accents before searching'' option and search for ábâ, you will also find àbä, aba, abá, etc.

Figure 3.10: The Result Page.

When searching in the current record the viewer will jump to the location of a match and highlight it. If the search is for all records in the document a result page will be shown with matches. If you tap on one of the matches in the list the viewer will open that record and just as when you search in the current record it will jump to the location of the match and highlight it.

The right lens (and Go|Find Again... or Graffiti shortcut /A) will search for the next occurrence of a found word or phrase with a single tap.


next up previous contents index
Next: 3.4 Document Library Up: 3. Viewer Previous: 3.2.8 Lookup Options   Contents   Index
The Plucker Team