check whether character is Wingdings

G

guenther

Hi,
I extract text from Powerpoint and retrieve the font.

( using CString strText =oTextRange.GetText(),
Font oFont = oTextRange.GetFont();
CString oFontName = oFont.GetName(); )


However, if the character is a Wingdings character, Powerpoint claims still
that the font is Arial.
If I add the character later into another slide, I have a problem since the
character won't display correctly.

Copy / Paste would work, but I need to save the character and its font info
explicitely for later use.

How can I retrieve programmatically the necessary font info from Powerpoint?
Can anybody give me a hint?

Regine
 
Top