Sentence:  She...<WSD>cast</WSD> in her mind what manner of salutation this should be. 
Meaning of the word marked with <WSD> tags:  To consider; to turn or revolve in the mind; to plan.