powerpoint

Convert PPT into JPG/PNG on windows

别等时光非礼了梦想. 提交于 2019-12-04 05:45:20
问题 I would like to convert a ppt presentation in a collection of images, one per each slide, programmatically in a windows environment. I tried to modify the following code that transform a ppt to a pdf(perfectly working) but I dind't succed. Can anyone help me? Thanks a lot. Option Explicit Sub WriteLine ( strLine ) WScript.Stdout.WriteLine strLine End Sub ' http://msdn.microsoft.com/en-us/library/office/aa432714(v=office.12).aspx Const msoFalse = 0 ' False. Const msoTrue = -1 ' True. ' http:/

Changing the properties of elements in Office Ribbon using VBA

懵懂的女人 提交于 2019-12-04 05:23:20
I am a beginner in VBA and Office Ribbon UI. I am using Office 2007 and used Custom UI to develop a Ribbon in PPTM. I have added a set of XML like the one below: <group id="myGroup" label="Hello World" visible="false"> <labelControl id="lblUsername" label="Your Username: " /> <labelControl id="lblFullname" label="" /> </group> So, in this Hello World tab, I would like to change its visibility to true and change the the values of lblUsername and lblFullname . Currently this has to be done after the previous call by this button: <button id="signin" label="Sign In" image="signin" size="large"

powerpoint c# add-in shape grouping issue

限于喜欢 提交于 2019-12-04 04:20:55
问题 I developing a PowerPoint 2010 add-in using Visual Studio 2010 and am having significant issues with grouping two objects on a slide. I am trying to create the two objects, place them on the slide and group them all in the same function. Adding the objects and placing them on the slide is not an issue. When it comes to the grouping part though.... I have tried: PowerPoint._Application myPPT = Globals.ThisAddIn.Application; PowerPoint.Slide curSlide = myPPT.ActiveWindow.View.Slide; string[]

asp.net - Generate Powerpoint file on the fly

ε祈祈猫儿з 提交于 2019-12-04 02:54:53
I have a client of my web based application who heavily uses the data from our system for powerpoint presentations. We currently allow data to export in more traditional file types...PDF, CSV, HTML, and a few others. Powerpoint doesn't seem to be really automated. Is there a way, on the ASP.NET server side, to automate the creation and on-demand download of a powerpoint file format for a report from a system? In this article , Steve suggests using Aspose's Slide application. He also explains step by step on how to generate the PowerPoint file. Here are some code excerpts (in VB): Opening an

Best Way to Copy Excel Table into PowerPoint (2010)?

与世无争的帅哥 提交于 2019-12-04 02:07:54
问题 I'm trying to get a series of Excel tables into PowerPoint and successfully created a macro for this in Office 2013, but am trying to adapt it to Office 2010. The issue is when pasting the table to PowerPoint, Office 2010 seems to require a unique/different code. Originally I had: 'Copying Tables to PowerPoint Set PPApp = GetObject(, "Powerpoint.Application") Set PPPres = PPApp.ActivePresentation PPApp.ActiveWindow.ViewType = ppViewSlide For i = 0 To Table3 Sheets("Charts").Range(ChartStart,

js 下载文件转码

回眸只為那壹抹淺笑 提交于 2019-12-03 23:04:58
Ext MIME Type .doc application/msword .dot application/msword .docx application/vnd.openxmlformats-officedocument.wordprocessingml.document .dotx application/vnd.openxmlformats-officedocument.wordprocessingml.template .docm application/vnd.ms-word.document.macroEnabled.12 .dotm application/vnd.ms-word.template.macroEnabled.12 .xls application/vnd.ms-excel .xlt application/vnd.ms-excel .xla application/vnd.ms-excel .xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet .xltx application/vnd.openxmlformats-officedocument.spreadsheetml.template .xlsm application/vnd.ms-excel

Powerpoint content add-in on Windows just show an image in slide show mode instead of a web app

只愿长相守 提交于 2019-12-03 20:39:36
I developed a powerpoint content addin and it works fine on Mac. Then I test it on Windows and found out that when I go to slide show mode, Powerpoint just show an image (a snapshot at the time entering to slide mode) instead of a web app. There is no interaction to the addin on slide show mode, clicking on it just make it move to the next slide. The addin works fine in edit mode though. Strangely, this behaviour is not the same for all Powerpoint (2016) on Windows. I tested on another Windows laptop and everything works just fine. So I wonder if there is a settings or something for this, but

Paste a chart from Excel to a specific placeholder in a specific layout. Powepoint 2010

十年热恋 提交于 2019-12-03 20:25:12
I need to paste multiple charts from excel to powerpoint. I found some excellent VBA code (mainly on Jon Peltier's site). Now my powerpoint template has a number of layouts (e.g. with 1 chart occupying most of the slides or 1 chart and one text box in a slide, etc etc). What I want is the chart to become part of the slide layout so that if I reformat the slide - e.g. I change the layout as in the example given above - the chart will move accordingly. Currently I am able to paste in the spot where the placeholder is, with right size and everything, but it is not IN the placeholder, it's ON the

Create a new slide in VBA for PowerPoint 2010 with custom layout using Master

丶灬走出姿态 提交于 2019-12-03 15:58:59
I have the following VBA code to create a new PowerPoint slide: longSlideCount = ActivePresentation.Slides.Count With ActivePresentation.Slides Set slideObject = .Add(longSlideCount + 1, ppLayoutTitle) End With ...which inserts a new slide of type 'ppLayoutTitle', but I am wondering if it is possible to create a custom layout in the 'Slide Master View' and then insert that particular slide template into the presentation? Thanks in advance!!! All your custom layouts can be accessed via VBA through the CustomLayouts collection of the SlideMaster property of a Presentation object. When you create

Writing image into pdf file in java

泄露秘密 提交于 2019-12-03 14:29:32
I'm writing a code to convert Microsoft power-point(ppt) slides into images and to write the generated images into pdf file. Following code generates and writes the images into pdf file but the problem i'm facing is, when i write image into pdf file it's size is exceeding the pdf page size and i can view only 75% of the image rest is invisible. One more thing to notice here is, written images in pdf file look like zoomed or expanded. Take a look at the following snippet of code: for (int i = 0; i < slide.length; i++) { BufferedImage img = new BufferedImage(pgsize.width, pgsize.height,