powerpoint

How to get revisions from Excel or PowerPoint Files in C# using Interop?

偶尔善良 提交于 2019-12-13 04:46:47
问题 Am working on an application that needs to count words from documents and revisions. as you can see here, I have already resolved this for Word Documents (well, as much it can be resolved) but now i find myself wondering how to get that data from Excel or PowerPoint documents. The MSDN Documentation didn't help so far - i will keep looking but if anyone knows the answer i would appreciate a little help. EDIT: So taking the information provided by @Andrew (Thanks go to him) i got this code for

Generate Power Point Documents Wrapper DLL

天大地大妈咪最大 提交于 2019-12-13 04:38:13
问题 We are generating various Power Point documents on a regular basis using the built in automation in Office. This is problematic since natively power point and other office automation will not run in the background on a server without some hacks. Even with the hacks in place there are still some limitations and regular issues. Because the OpenXML is so radically different from the Application automation and due to how involved the steps are, I was hoping to find a third party or shared dll

Liveweb Plugin for Powerpoint: Support for HTML5 Canvas?

混江龙づ霸主 提交于 2019-12-13 04:29:55
问题 I'm thinking of using the Liveweb plugin for Powerpoint, to embed a web page in a Powerpoint presentation. Does Liveweb support HTML5 Canvas? Does it support Javascript? Thanks very much in advance to all for any info. 回答1: Shyam Pillai's LiveWeb? It simply embeds an instance of the browser control into your presentation. It doesn't support any web technologies ... just turns the browser loose on them, so it'll depend on the MSIE version in place and what it supports and your Internet

How do I paste a watermark on all slides of my PowerPoint Presentation with VBA?

流过昼夜 提交于 2019-12-13 03:58:07
问题 How do I add watermark(with shape slanted at 45 degrees-and grayed) to all slides of A PPT Presentation with VBA? I created an input box to accept a string variable that would be watermarked on all slides of a PPT. I also tried creating a shape and feeding the variable inputted into it. I now have a challenge pasting this shape on the rest of the slides in the presentation but sending backward. Option Explicit Public thepresentn As Presentation Public theslide As Slide Public thetex As Shape

How can I use Custom Xml / User-Defined Tags in .pptx /.pptm so PowerPoint 2013 won't wipe it?

人走茶凉 提交于 2019-12-13 03:44:14
问题 I need to embed custom data in a .pptx that I generate, so that it can later be uploaded and have the images in the doc updated by my code. I've tried a couple of methods now, and done lots of looking. I've found a couple of answers quite similar to this, but their solutions haven't worked for me - though perhaps I've just implemented them wrong. (links at the bottom) The methods I've tried are: 1) Storing the custom data in an ExtendedAttribute: //OpenXmlDrawing = DocumentFormat.OpenXml

power point printing problem using C#

浪子不回头ぞ 提交于 2019-12-13 03:38:38
问题 I'm using the COM objects from Office 2007 to handle and print ms-office files. I don't have any problems with word and excel documents, but i just can't print Power Point docs. the code bellow just opens the file send a job to the printer but nothing gets printed what am i doing wrong? =( using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Main { class PrintPPoint { public static void PrintPPointDocument(string filename, int copies, string range) {

Trying to use Azure Custom Script Extension to run a background job or a powershell task scheduler

非 Y 不嫁゛ 提交于 2019-12-13 03:35:20
问题 Hi after my vm gets created I run the Azure Custom Script Extension which runs a powershell script. So the script does some basic tasks like create a share create some files and creates a powershell script and stored it on the vm. the last step in the custom vm extension script I have it attempt to setup a task scheduler job to call a powershell script that was created above and the script should end fromt he extension. The problem isthe extension gets stuck in a running state and never stops

Automate Powerpoint Macro

血红的双手。 提交于 2019-12-13 02:35:41
问题 I have a PowerPoint Presentation that gets filled with pictures by a VBA script attached to it. I want to automatically open the Presentation and run the macro. Here's what I have tried: turning the script into an add-in as shown here: it ran when I clicked activated it, but never when I simply opened powerpoint. downloaded a pre-built add in, and called my script sub auto_open(). This worked, but because it is a macro enabled file(?), but I have to open powerpoint up and enable the add in

How to adjust export image size in PowerPoint using vba?

穿精又带淫゛_ 提交于 2019-12-13 02:13:32
问题 I'm creating a macro in PowerPoint VBA to export an image from the current slide. The export image will be the first image having a width larder than 250 units. The image is stored as a Shape , so I do a For Each ... Next loop to do it. The code works fine. Function FindAndSavePicture() As String ' ' Find the target picture at the active windows ' ' Dim myTempPath As String myTempPath = "C:\Users\" & Environ$("USERNAME") _ & "\AppData\Local\Microsoft\Windows\pic_VBA.jpg" With ActiveWindow

Link to a specific slide from Flash file embeded in PowerPoint

和自甴很熟 提交于 2019-12-13 02:06:18
问题 I am creating an interactive map in Flash that will be embedded in PowerPoint. I would like to have some hot spots on the Flash map that will link to specific PowerPoint slides within the presentation. Does anyone know how this would be coded? I found a video that uses VB inside PowerPoint to link to the next slide, but it does not show how to pick a single slide: http://youtu.be/9YLqd8dKhcg Thanks in advance. 回答1: From the link you provided: Private Sub ShockwaveFlash1_FSCommand(ByVa­l