摘要
介绍了在PowerPoint软件中开发倒计时器应用程序的实现过程。针对在PowerPoint中无定时器控件而在开发动态画面效果功能时所带来的困难以及传统ActiveX控件样式单一、展现力不足的缺点,提出了利用API函数构造定时器环境并结合PowerPoint对象模型的VBA实现方法。利用对象模型来替代ActiveX控件的使用,可以使在PowerPoint软件中二次开发的应用程序能够充分利用软件所提供的已有功能,包括配色方案、艺术字、音视频、动画等,从而提高程序展现力和开发效率,降低开发难度。在实际使用中已验证所实现的倒计时器程序稳定可靠。
This paper introduces the implementation process of countdown timer applied in PowerPoint.There is no timer control,which resulted in difficulties in the dynamic development,single style Active X control and unfriendly interface. In view of this,this paper proposes the VBA realization method using the API function to build timer environment and combined with PowerPoint object model. Object model instead of Active X control can take full advantage of existing function in PowerPoint secondary development,including color scheme,Word Art,audio and video,animation and so on,to improve the program strength and development efficiency and reduce development effort. The experimental results show that countdown timer program is stable and reliable in actual use.
出处
《信息技术》
2016年第3期91-96,100,共7页
Information Technology
基金
北京市青年英才计划项目(YETP0820)