J
Joseph M. Newcomer
I have an automation interface to PowerPoint. Currently, I get a slide, so I have a
CSlide object (I'm programming in MFC). I want to get the slide title. I've tried
various forms of get_Title, but the poorly-documented (or, shall we call a spade and spade
and say what's really true, "undocumented') structure is nearly inpenetrable.
I need to ask if it has a title, and if it has a title, if the title has text, and if the
title has text, I want to get the text string. All of this in MFC. I've now spent too
much time on this, and I need to get on with the rest of the project. So I'd appreciate
some pointers on what the structure is,
I also discovered that if I copy slides from one presentation into another, it gets really
confused about the placeholders. It thinks I have 1 placeholder, whereas in the original
(or, if I add a new slide, and copy the title from the copied slide into the new slide,
and the text from the copied slide into the new slide) then it sees the placeholders again
and I get a count of 2 placeholders. This sounds like a serious bug in how copy is
implemented.
I'm using the last usable version of PowerPoint, PowerPoint 2003.
joe
Joseph M. Newcomer [MVP]
email: (e-mail address removed)
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
CSlide object (I'm programming in MFC). I want to get the slide title. I've tried
various forms of get_Title, but the poorly-documented (or, shall we call a spade and spade
and say what's really true, "undocumented') structure is nearly inpenetrable.
I need to ask if it has a title, and if it has a title, if the title has text, and if the
title has text, I want to get the text string. All of this in MFC. I've now spent too
much time on this, and I need to get on with the rest of the project. So I'd appreciate
some pointers on what the structure is,
I also discovered that if I copy slides from one presentation into another, it gets really
confused about the placeholders. It thinks I have 1 placeholder, whereas in the original
(or, if I add a new slide, and copy the title from the copied slide into the new slide,
and the text from the copied slide into the new slide) then it sees the placeholders again
and I get a count of 2 placeholders. This sounds like a serious bug in how copy is
implemented.
I'm using the last usable version of PowerPoint, PowerPoint 2003.
joe
Joseph M. Newcomer [MVP]
email: (e-mail address removed)
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm