如何创建从AS3 .ppt文件?我需要添加一个图像到PowerPoint和保存按钮上点击.ppt文件。是否有任何的AS3库可用于保存文件为PPT? 任何帮助将是巨大的AP preciated。
How i can create a .ppt file from as3? i need to add one image to powerpoint and save the .ppt file on a button click. Is there any as3 library available for saving files as ppt? Any help would be immensely appreciated.
在此先感谢。
推荐答案
我编写VBA code Microsoft Office PowerPoint中为您服务。可以实现与此code你的目标。
I write VBA code in Microsoft Office PowerPoint for you. You can achieve to your goal with this code.
您必须按照下列顺序,当你想创建一个PowerPoint presentation(文本文件的路径必须是创建一个名为Info.txt的文本文件,你已经把我的连接InsertPicture-的Office 2007 .pptm和InsertPicture-的Office 2010和放大器; 2013.pptm的文件):
You must create a text file with name "Info.txt" in following order when you want to create a PowerPoint presentation (path of the text file must be in where you have placed my attached "InsertPicture-Office 2007.pptm" and "InsertPicture-Office 2010 & 2013.pptm" files):
从左侧的幻灯片图像的1号线距离
Line 1. Distance of the image from Left of the slide
图片从顶部滑动的2号线距离
Line 2. Distance of the image from Top of the slide
在滑线3图像宽度
在滑线4图像高度
5号线的完整路径和名称(扩展名为[.PPTX])保存的PowerPoint presentation文件
Line 5. Full path and name (with extension [.pptx]) for saving PowerPoint presentation file
图像中的PowerPoint演示presentation幻灯片中插入第6行完整路径和名称(带扩展名)
Line 6. Full path and name (with extension) of an image for inserting in the slide of the PowerPoint presentation
保存文本文件后,您只需运行InsertPicture办公2007.pptm或InsertPicture-的Office 2010和放大器; 2013.pptm文件,一切都将完成
After save the text file, you only must run the "InsertPicture-Office 2007.pptm" or "InsertPicture-Office 2010 & 2013.pptm" file and everything will be done.
请记住,必须启用所有宏的Microsoft Office PowerPoint中的下列方式:
Remember that you must "Enable all macros" for Microsoft Office PowerPoint from following way:
打开Microsoft Office PowerPoint中 - >文件 - >选项 - >信任中心 - >信任中心设置 - >宏设置 - >启用所有宏...
Open Microsoft Office Powerpoint -> File -> Options -> Trust Center -> Trust Center Settings -> Macro Settings -> Enable all macros ...
4Shared - > InsertPicture办公2007.pptm,InsertPicture-的Office 2010和放大器; 2013.pptm和Info.txt文件
SendSpace - > InsertPicture办公2007.pptm,InsertPicture-的Office 2010和放大器; 2013.pptm和Info.txt文件
您只能与变革,以什么我上面提到的Info.txt文件和InsertPicture办公2007.pptm或InsertPicture-的Office 2010和放大器的开一个测试它,2013.pptm 根据的Microsoft Office PowerPoint在你的系统中安装版本的文件。
You can test it only with change "Info.txt" file in order of what I'm mentioned above, and opening one of the "InsertPicture-Office 2007.pptm" or "InsertPicture-Office 2010 & 2013.pptm" files according to installed version of the Microsoft Office PowerPoint in your system.
相关推荐
最新文章