Adobe Reader has an interface for highlighting hits in a browser window, which is documented in the Adobe Acrobat SDK. The interface requires the server to provide an XML file containing information about the hits in a document. MakePdfWebHighlightFile generates the XML necessary to highlight hits in the currently-selected item in search results.See Highlighting hits in PDF files for more information on working with PDF files.