Link to home
Start Free TrialLog in
Avatar of WestCoast_BC
WestCoast_BCFlag for Canada

asked on

CFSearch and context sensitive results

I am using cfsearch to search pdf and Word documents.  I see that cfsearch returns information about the context with the search words highlighted using contextHighlightBegin and contextHighlightEnd.  Is there a way to highlight these words automatically when the user opens the pdf or Word docoument.

Thanks for the help
Avatar of dagaz_de
dagaz_de

no, because that would mean that CF would modify your Documents, which is not possible.
Avatar of WestCoast_BC

ASKER

Do you know of other tools that could help me with this?  I know of DT search but I can't use it on my shared host (and it is expensive).

Thanks
No, i know no other Tool, sorry
Avatar of dgrafx
Are you familiar with CFDocument?

consult your cfdocs and I looked around a bit and found this link:
http://www.terrenceryan.com/blog/post.cfm/pulling-content-out-of-word-with-coldfusion-9

good luck ...
Thanks

I just found the following that will solve my problem for PDF files:
http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf

When I open a pdf file I can pass the parameter search=wordList and then my search words will automatically be highlighted.

Now I just need to find something similar for Word documents
ASKER CERTIFIED SOLUTION
Avatar of dgrafx
dgrafx
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial