D
david.f.jenkins
Sounds weird, doesn't it?
My users wanted a macro that would arbitrarily set the language to
English for every hunk of text in a presentation. That works fine.
But after they run the macro and do a spell check, they occasionally
get a whine from the PowerPoint spell checker that it doesn't have the
Japanese (or Spanish, or German ...) dictionary available. They then
ask me, "Hey - since you changed all the text to Emglish, how come
it's whining about non-English dictionaries?"
After investigating, I find that the cause of this is shapes that have
been created with a language specified, but for one reason or another
contain no text. (You can do this yourself rather easily: insert a
textbox, select it, and specify some language (not English). Look at
the bottom of the screen and you'll see that the langauge for that
textbox has been set to whatever language you selected. However, the
shape has no textframe ro text.)
I can't find any way to detect such shapes. Since they don't contain
text, there's no text frame, and since there's no textframe, there's
no textrange, and therefore I can't check the languageID.
I'm sure I'm missing something elemental - can somebody provide me
with the secret?
Thanks!
My users wanted a macro that would arbitrarily set the language to
English for every hunk of text in a presentation. That works fine.
But after they run the macro and do a spell check, they occasionally
get a whine from the PowerPoint spell checker that it doesn't have the
Japanese (or Spanish, or German ...) dictionary available. They then
ask me, "Hey - since you changed all the text to Emglish, how come
it's whining about non-English dictionaries?"
After investigating, I find that the cause of this is shapes that have
been created with a language specified, but for one reason or another
contain no text. (You can do this yourself rather easily: insert a
textbox, select it, and specify some language (not English). Look at
the bottom of the screen and you'll see that the langauge for that
textbox has been set to whatever language you selected. However, the
shape has no textframe ro text.)
I can't find any way to detect such shapes. Since they don't contain
text, there's no text frame, and since there's no textframe, there's
no textrange, and therefore I can't check the languageID.
I'm sure I'm missing something elemental - can somebody provide me
with the secret?
Thanks!