Solved

CFSearch and context sensitive results

Posted on 2011-02-26
6
658 Views
Last Modified: 2012-06-22
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
0
Comment
Question by:WestCoast_BC
  • 2
  • 2
  • 2
6 Comments
 
LVL 3

Expert Comment

by:dagaz_de
ID: 34995614
no, because that would mean that CF would modify your Documents, which is not possible.
0
 

Author Comment

by:WestCoast_BC
ID: 34997432
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
0
 
LVL 3

Expert Comment

by:dagaz_de
ID: 35004925
No, i know no other Tool, sorry
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 25

Expert Comment

by:dgrafx
ID: 35009174
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 ...
0
 

Author Comment

by:WestCoast_BC
ID: 35009822
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
0
 
LVL 25

Accepted Solution

by:
dgrafx earned 500 total points
ID: 35009880
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

PROBLEM: How to add your own buttons to the bottom toolbar with paging info ( result count ). While creating a cfgrid, I ran into an issue where I wanted to embed my own custom buttons where the default ones ( insert / delete / etc… ) are for aes…
Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now