powerpoint

How to convert a .pptx to .pdf using Python

丶灬走出姿态 提交于 2019-12-03 11:52:52
I have been looking to convert a .pptx file to a .pdf file through a Python script for several hours but nothing seems to be working. What I have tried: I have tried 1) this script which calls windows32.client, and 2) unoconv , but none of them seem to be working for me. Problems encountered: Using script from first option throws up an error ( com_error: (-2147352567, 'Exception occurred.', (0, None, None, None, 0, -2147024894), None) ), whereas in second option Python can't seem to recognize unoconv even after installing it using pip. I also saw some recommended Pandoc , but I can't

Create Powerpoint with JavaScript

我是研究僧i 提交于 2019-12-03 11:44:14
JavaScript cannot create files locally on the clients filesystem. However, I am wondering, if it is possible to somehow create a Powerpoint MIME in a web page (a div or a iframe) from some JSON and then let the UserAgent figure out it is Powerpoint in the expectation that the UserAgent will offer the user the choice to display it as a powerpoint presentation? Note: The idea here is to be able to take some JSON and make a powerpoint presentation without having to make a request to a Server to create a Powerpoint file. One JavaScript library that can generate Powerpoint binary files is PptxGenJS

Renaming Objects in PowerPoint

∥☆過路亽.° 提交于 2019-12-03 11:33:12
问题 Probably a very stupid question but I can't figure how to rename an object in PowerPoint.. For example, all my Graphs are called by default "Graph 1" etc. Could someone help me on that? Thanks! 回答1: In PowerPoint 2007 you can do this from the Selection pane. To show the Selection pane, click on the Home tab in the ribbon, then click on Arrange and then 'Selection Pane...' at the bottom. The Selection pane will open on the right. (Or press CTRL+F10) To rename an object, first select the object

Microsoft PowerPoint文件管理控件Aspose.Slides新功能示例详解——支持字体回退

眉间皱痕 提交于 2019-12-03 10:52:57
Aspose.Slides for .NET 是独特的演示处理API,使应用程序能够读取,编写,修改和转换PowerPoint演示文稿。作为独立的API,它提供了管理PowerPoint关键功能的功能,例如管理文本,形状,表格和动画,向幻灯片添加音频和视频,预览幻灯片等等。 近期 ,Aspose.Slides for .NET 更新至最新版v19.10,现在有一些非常有趣且实用的功能值得为大家讲解一下,比如新增支持字体回退,以及在占位符中设置提示文本,接下来通过一些简单的示例来为大家说明一下! 支持字体回退 当遇到的字符不属于任何其他可用字体的组成部分时,将使用后备字体中的符号代替。通常,后备字体将包含代表各种类型的Unicode字符的符号。现在,该支持也已成为Aspose.Slides的一部分。 下面的代码示例演示如何使用FontFallBackRule对象设置字体回退。 uint startUnicodeIndex = 0x0B80; uint endUnicodeIndex = 0x0BFF; IFontFallBackRule firstRule = new FontFallBackRule(startUnicodeIndex, endUnicodeIndex, "Vijaya"); IFontFallBackRule secondRule = new

HTML embedded PDF all links override to open in a new tab (target=“_blank”)

你说的曾经没有我的故事 提交于 2019-12-03 10:50:38
I currently have a PDF embedded into an webpage. The PDF has several hyperlinks within it, but the links open in the parent frame when clicked. This takes the user to a new page with no option to return to the original PDF (navigation turned off). I can't seem to figure out how to get the links to open in a new window. Sample PDF <embed src="https://www.antennahouse.com/XSLsample/pdf/sample-link_1.pdf" type="application/pdf" /> Problem Clicking second( External ) link on this PDF will navigate to another website within the same tab. Working Plunkr The PDF documents were originally created in

Vba Powerpoint name a table

匿名 (未验证) 提交于 2019-12-03 09:10:12
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I just pasted a table from Excel to PowerPoint with this code: pptApp.CommandBars.ExecuteMso ("PasteAsTableSourceFormatting") There are other Shapes on this Slide. How can I make PowerPoint to find the pasted table on the Slide and name it? 回答1: Whenever you paste something in PowerPoint it appears on the topmost layer so you can get a reference to it and optionally set the name with this function: Option Explicit ' *********************************************************** ' Purpose: Get the topmost shape from the current slide. ' Inputs:

Delphi - OleContainer - PowerPoint - AutoPlay

匿名 (未验证) 提交于 2019-12-03 08:59:04
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Good afternoon :-), in my application I use OleContainer to view presentation from Microsoft Powerpoint. This code I use to load and run presentation file : with oleContainer do begin Parent := mediaPanel; Left := 0; Top := 0; Width := mediaPanel.Width; Height := mediaPanel.Height; CreateObjectFromFile('C:\Users\Nanik\Desktop\Present.ppt', false); Iconic := false; Visible := true; Run; end; The presentation was created as autoplay slideshow (in Microsoft PowerPoint working), but in my application presentation was still on first slide . Run

Exporting data from Excel to an existing PowerPoint slide using VBA

邮差的信 提交于 2019-12-03 08:28:50
i am writing a small excel add-in for some simple data analytics but unfortunately i am not a VBA-programmer ;) what i have done up to now: fetch data from a huge excel workbook and perform calculations write the results to a neatly preformatted excel 'skeleton' file what i want to do next: write the very same data to an also already neatly prepared ppt slide directly from the excel vba code. i think it is possible to define some sort of textboxes inside the slide and then just put the values into them... just havent found anything yet ! any help on this is appreciated ;) this is excel

embedding a R animated 3D plot in PowerPoint

十年热恋 提交于 2019-12-03 05:48:29
The rgl R package allows to plot interactive 3D figures and to save these figures in a html document (with the writeWebGL() function). I would like to put such an interactive 3D figure in a PowerPoint presentation. Is it possible ? EDIT: After studying Dieter Menne's answer with the help of Google, my conclusions are the following ones: Currently Luke Tierney's method to convert a 3D graphic to an U3D file and/or an Asymptote file only works for graphics created with the misc3d package, not the rgl package. The export of 3D rgl graphics to VRML/X3D files has been announced as a future plan.

Convert all “Worksheet Objects” to images in powerpoint

混江龙づ霸主 提交于 2019-12-03 03:44:47
Really not sure what stack site to place this on. Feel free to move it to the correct one. My question isn't really related to programming, but I have a ton of power points with these "Worksheet Objects" embedded in the slides. Some appear to be graphs from excel as well as other chart type items from Visio. I need to convert all these "Worksheet Objects" to just images within the slide. My process right now is copy the object > Paste as Image > Move to the correct location > Delete the "Worksheet Object". It's a very time consuming and tedious process. Is there a macro I can write or