powerpoint

Center-align text with Python-pptx

拈花ヽ惹草 提交于 2019-12-10 10:12:12
问题 Question in short: Is it possible to align text to the center in Python-pptx? Since I'm using Python-pptx, I have been able to automate quite a lot of things and I really enjoy using it! However, I've run into a problem. I'm trying to center my text horizontally on a slide. If you don't understand me: My text is now aligned to the left, similar to the text in the first two paragraphs. However, I'd like them to be aligned to the center, like those last two paragraphs. This is a snippet of my

Adding shapes to Powerpoint slide using XSLF (Apache POI Project)

你说的曾经没有我的故事 提交于 2019-12-10 09:48:55
问题 The apache POI project explains how to read a shape from a powerpoint slide http://poi.apache.org/slideshow/xslf-cookbook.html#GetShapes However, I can't find any doc on how to add a shape to a powerpoint slide using this part of the library. If I use an old powerpoint format (ppt as opposed to pptx), I can just use the hslf part of the libaray and do: SlideShow ppt = new SlideShow(); //add first slide Slide s1 = ppt.createSlide(); // create shapes./ java.awt.geom.GeneralPath path = new java

PowerPoint command like insert slide or apply theme equivalent on Office javascript API

微笑、不失礼 提交于 2019-12-10 09:46:40
问题 I'm developing a PowerPoint add-in and in future, it will be publish in Office Store. But it is VSTO project (C# and winforms) which could not be publish. Based on my search, it must be Office Web Add-in project (manifest xml and web pages). I'm trying to convert my development from VSTO to Office Web Add-in but some of functionalities like open presentation, insert slide and apply theme aren't found on the Office.js. Is there equivalent functions in Office.js? or other way? Hopefully someone

Software or Tricks For Live Coding Presentation

。_饼干妹妹 提交于 2019-12-10 04:17:26
问题 I am going to be giving an intro presentation / training class on Ruby on Rails soon. I would like to make it interesting and engaging while still seeming "polished". Since it's a hands-on class most people will be building an app along with me, I want to be able to show my terminal/editor and show the resulting web pages, however I'd like to not be always switching between windows. Keynote used to have the ability to embed webpages into slides, but it was removed, and PowerPoint Mac support

Chart with multi-level labels on x-axis

家住魔仙堡 提交于 2019-12-10 02:52:15
问题 I'm creating a VSTO add-in that among other things is supposed to create a line chart for some annual data. This data contains datapoints on a weekly basis. I would like the horizontal axis to be grouped in months, illustrated here: I can't however find anything in the VSTO documentations about whether this is possible or not. As far as I can tell a Series only takes a 1-dimensional array of values for the X-axis. Does anyone have any experience with this? 回答1: With help from the Microsoft

Exporting data from Excel to an existing PowerPoint slide using VBA

时间秒杀一切 提交于 2019-12-09 06:52:09
问题 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

How to convert PowerPoint (.ppt, .pptx) to several images of each slide?

巧了我就是萌 提交于 2019-12-09 06:29:20
问题 Do you guys have some .Net libraries which has ability to convert a PowerPoint Presentation file into images? 回答1: do check PPT slides to images https://stackoverflow.com/questions/733347/is-it-possible-to-convert-powerpoint-to-images-programatically 回答2: Using add reference to Microsoft.Office.Interop.PowerPoint.dll . To convert PowerPoint slides to PNG images: PowerPoint.Presentation pptPresentation = pptApplication.Presentations.Open2007(FILE); foreach (PowerPoint.Slide pptSlide in

Powerpoint: Manually set Slide Name

丶灬走出姿态 提交于 2019-12-09 02:49:31
问题 Context: A PowerPoint slide in C# has a property Slide.Name (usually contains an arbitrary string value). In my C# application I would like to use this property to identify slides (the slide order is to unreliable). Question: How can I manually set the Slide.Name property in the PowerPoint Application? My problem is very like to the: “How to name an object within a PowerPoint slide?” but just on the slide level. Any help would be appreciated. 回答1: There is no built-in functionality in

R ReporteRs: Editing Existing Slides

时光毁灭记忆、已成空白 提交于 2019-12-08 21:45:39
问题 I have a presentation in pptx format that I need to update frequently with graphs that I generate with an R script. I would like to automate the replacement of the graphs without having to copy and paste between screens a whole bunch of times. I have been playing with the ReporteRs package and it seems promising but I cannot figure out how to simply replace the graphs that are already in the presentation. All of the documentation on ReporteRs indicates that you have to add a new slide and

powerpoint 2013 - progress for export to video

て烟熏妆下的殇ゞ 提交于 2019-12-08 19:01:28
I'm working on an application which reads a Powerpoint presentation from disk and saves it in video format using the following pseudocode: var app = new ppt.Application(); ppt.Presentation file = app.Presentations.Open( this.SourceFilename, MsoTriState.msoFalse, MsoTriState.msoFalse, MsoTriState.msoFalse); file.CreateVideo(this.DestinationFilename); while (true) { switch (file.CreateVideoStatus) { case PpMediaTaskStatus.ppMediaTaskStatusDone: ... case PpMediaTaskStatus.ppMediaTaskStatusFailed: ... case PpMediaTaskStatus.ppMediaTaskStatusInProgress ... this process takes very long to complete,