Wednesday, April 04, 2012 7:47 AM
we want to extend the behavior of the Bullets function (bulleted list) in "Text Boxes" in PowerPoint 2007/2010. Specifically we want to add functionality to e.g. reduce font size whenever a line is indented to the next level. This should not work by the push of a button or similar, but rather in real time whenever the Text Box is edited. In all other aspects, the box should look and behave as any other Text Box. I have seen similar before, so I know there must be a way.
I guess the best way would be to make a new class of Text Boxes that inherits all features from the PPT built-in one and gets just a few lines of extra code executed at the text editing event.
Does anybody know what technology we need to be looking at? Is there a way to derive new classes of a PowerPoint Text Box and put it on a slide? Or do you even know what exactly to do?
Thanks a lot for your help! It's highly appreciated!
Friday, April 06, 2012 6:58 AMModeratorHi H-ruddi,
Thank you for posting.
I will help you involve others to help you. There might be some delay about the response. Appreciate your patience.
Bruce Song [MSFT]
MSDN Community Support | Feedback to us
Saturday, April 07, 2012 8:47 AMModerator
Officially PowerPoint doesn't expose API to customize text box behavior in design.
However, a little bit information here is: the text box editor may use the CRichEditCtrl control(msftedit.dll), which is native Win32 control. There's an article about customizing this control on CodeProject. FYI: http://www.codeproject.com/Articles/9810/CRichEditControl50W-A-VC-Rich-Text-Edit-4-1-MFC-Co
Disclaimer: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.<o:p></o:p>
Forrest Guo | MSDN Community Support | Feedback to manager
Monday, April 09, 2012 10:55 AMThanks, Bruce!
Monday, April 09, 2012 10:56 AM
thanks a lot for your help! I feel this sounds like an interesting approach, let's see how it works.