These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Format Text to Headline Style or Title Case Format?

saj
Registered: Oct 15 2008
Posts: 52

Question 1: Is there a way to customize a field so when text is entered it will be entered in "headline style". Meaning the first and last words and all nouns, pronouns, adjectives, verbs, adverbs and subordinating conjunctions are capitalized. Words like a, an, the, and, but, or, for, nor are lower case--unless of course they are the beginning of the sentence?
Sounds like a lot to ask...but, thought there might be something out there.
 
Question 2: is there a way to customize a field so it's in Title Case format?
 
I know how to make a field all upper case and all lower case...but wondering if it's possible to go one step farther.
 
thanks,
sj

My Product Information:
Acrobat Pro Extended 10.1, Macintosh
try67
Expert
Registered: Oct 30 2008
Posts: 2398
The answer to both questions is Yes. The problem with the first one is that you'll have to create a dictionary (or some NLP algorithm) to identify the "nouns, pronouns, adjectives, verbs, adverbs and subordinating conjunctions" that you want to capitalize... There's no built-in function to do that.

There are many JS scripts available online for title case (or proper case). Here's one:
http://www.codeproject.com/KB/scripting/propercase.aspx

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com