powerpoint

Does anyone have an example of Apache POI converting PPTX to PNG

半世苍凉 提交于 2020-01-04 05:09:09
问题 Does anyone know of a good example of converting a PPTX powerpoint presentation to some form of image? PNG/GIF/etc? I can do it for a PPT but looking for a PPTX conversion example Thanks 回答1: In the meantime it works (... copied it from there): import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics2D; import java.awt.geom.AffineTransform; import java.awt.geom.Rectangle2D; import java.awt.image.BufferedImage; import java.io.FileInputStream; import java.io.FileOutputStream;

How to detect Theme fonts in Powerpoint 2007 VBA?

一笑奈何 提交于 2020-01-04 02:30:11
问题 Does anyone know how to detect the use of Theme fonts in Powerpoint 2007 slide objects using VBA? If one looks at Shape.TextFrame.TextRange.Font.Name the font name appears as simple name (ex: "Arial") whether or not the font was assigned as a fixed name or a Theme name (subject to change with the document theme). I don't see any other property in the Object Model that would flag the name as tied to a theme (such as ObjectThemeColor for colors). Thanks! 回答1: There is no direct method (that I

Delete pictures in PowerPoint using VBA macro

*爱你&永不变心* 提交于 2020-01-04 02:00:07
问题 I am using the following VBA Macro to delete all the pictures in a PowerPoint slide: Public Function delete_slide_object(slide_no) ' Reference existing instance of PowerPoint Set PPApp = GetObject(, "Powerpoint.Application") ' Reference active presentation Set PPPres = PPApp.ActivePresentation ' Delete object in slide Set PPSlide = PPPres.Slides(slide_no) For Each PPShape In PPSlide.Shapes If PPShape.Type = msoPicture Then PPShape.Delete End If Next PPShape Set PPShape = Nothing Set PPSlide =

Mac Powerpoint addins?

こ雲淡風輕ζ 提交于 2020-01-03 06:27:42
问题 Currently we have a DLL Windows Powerpoint addin written in C#. Is there anyway to translate that into the Mac version of Powerpoint? Obviously DLL doesn't exist on Macs, so what would be an alternative? What programming language would I have to write it in? is there a way to automatically convert? thank you 回答1: No need for AppleScript. Office 2011 for Mac is out already, and does support VBA (and hence add-ins) once again, with some nice improvements over the earlier VBA support that was

Export Excel Charts as Images using Powerpoint VBA

痴心易碎 提交于 2020-01-02 15:26:14
问题 I have the below code that I have written to export "Chart1" from an Excel sheet called "Sheet1" to a new slide in a created instance of powerpoint: Sub ChartsToPowerPoint() Dim pptApp As PowerPoint.Application Dim pptPres As PowerPoint.Presentation Dim pptSlide As PowerPoint.Slide Dim pptSlideCount As Integer Dim ws As Worksheet Dim intChNum As Integer Dim objCh As Object 'Open PowerPoint and create a new presentation. Set pptApp = New PowerPoint.Application Set pptPres = pptApp

solution to perform lots of calculations on 3 million data points and make charts

自古美人都是妖i 提交于 2020-01-02 09:55:37
问题 i have an excel spreadsheet that is about 300,000 rows and about 100 columns i need to perform various functions on this spreadsheet and out of this spreadsheet i need to create about 3000 other spreadsheets which are SIGNIFICANTLY smaller for every created spreadsheet i will need to have a separate powerpoint file that will have an automatically generated graph i've done lots of VBA programming, but i am a little lost with this project if i dump the data into a mysql file would it be easier

Access elements inside iframe using VBA

只谈情不闲聊 提交于 2020-01-02 09:30:51
问题 I'm trying to access the elements of an iframe, on a webpage that was made using the Wix Site Builder, using PowerPoint VBA. I tried everything I found on Google and also other webpages but I can't figure it out. Most common errors are "Automation error" when I try to use contentDocument and "Access Denied" when I try to use contentWindow . Dim objIE As InternetExplorer Set objIE = New InternetExplorer objIE.Visible = True objIE.navigate "https://pptgamespt.wixsite.com/mppp/tests2" Do While

Exporting several HighCharts graphs to Powerpoint slides

你离开我真会死。 提交于 2020-01-01 19:56:15
问题 we are planning to build a Angular based web application which has about 15-20 different charts rendered using HighCharts. The requirement is to export those charts into PPT slides. I know that HighCharts provides an export to image option. We can then embed that image in a PPT slide. We are planning to use Ruby and we have a ruby gem which does that. (We are not restricted to Ruby though, and there is one Node module which does the embed-image-in-ppt as well). Now the challenge is - the

EXcel VBA : Excel Macro to create table in a PowerPoint

无人久伴 提交于 2020-01-01 09:53:13
问题 My requirement is I have a Excel which contains some data. I would like to select some data from the excel and open a PowerPoint file and Create Table in PowerPoint and populate the data in to it Right now I have succeeded in collecting the data from excel opening a PowerPoint file through Excel VBA Code. Code for Opening the PowerPoint from Excel. Set objPPT = CreateObject("Powerpoint.application") objPPT.Visible = True Dim file As String file = "C:\Heavyhitters_new.ppt" Set pptApp =

asp.net - Generate Powerpoint file on the fly

可紊 提交于 2020-01-01 08:34:52
问题 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? 回答1: In this article, Steve suggests using Aspose's Slide application. He also