inm logo
Corporate Website | Contact | Store | Support | Login  

View categorized listing of all common frequently asked questions.
View our categorized library of downloads for all necessary manuals, software, etc.
 Article Options
Support Center » Knowledgebase » INM Impressario for Director » Impressario Find doesn't highlight words containing hyphens and other characters
Support Page Banner
 Impressario Find doesn't highlight words containing hyphens and other characters
Impressario for DirectorAllSearchAll


The AdobeĀ® PDF Library, underlying Impressario treats certain characters, including hyphens (-), apostrophes (') and parentheses, as word delimiters. Therefore the Impressario Find method cannot find and highlight words that contain those characters.


The workaround solution is to add a <space> character after the hyphen/apostrophe/parenthesis character in your search string, and pass that to the Impressario Find method. This workaround implies that the Impressario Find dialog box cannot be used. If you want to enable the end-user to enter a search string, you need to create your own Find dialog box and parse the search text entered so that you can replace those word-delimiter characters.


If your user enters the search text: "ABC-123", you should call
sprite(IMPSprite).Find("ABC- 123", #ShowDialog:False)

For an example of how to create your own Find dialog box, see the knowledgebase article named: How to implement the Find dialog as a MIAW

Article Details
Article ID: 47
Created On: 20 Jun 2006 12:39 PM

 This answer was helpful  This answer was not helpful

inm general footer
Services Xtras Go Products Support Gallery Store Download About Us Contact Newsroom