powerpoint

Programmatically Printing or converting a powerpoint to one note

Hello I want to create an application which will make things easier for me. I always need to convert a bunch of power point documents to one note, but the process takes a few minutes for each. The process goes as follows: 1.)I have to open the powerpoint and then print>Print to Onenote. 2.)Then once Onenote opens I have to, file>save ...

How do I get Powerpoint to call my VBA subroutine in an animation???

What I ultimately want to do is ShellExecute() a command-line program every time a new slide appears in my PowerPoint slide show. I'm using Office 2003 PowerPoint. I did the following: Tools > Options > Security Options > Macro Security > Security Level = Medium Tools > Options > Macro > VBA Editor: Sub OnSlideShowPageChange(ByVal SS...

powerpoint rogrammatically add textbox animation triggered by bookmark in mediaobject

I am trying to programmatically add an fade effect on a textbox which is triggered by a bookmark in a mediaobject, eg movie. So when the movie plays and reaches the bookmark the textbox will appear with the fade effect. I have gotten as far as being able to add the textbox to the slide and adding the bookmarks to the mediaobject shape ...

Correcting Powerpoint 2007 XML Errors

I'm currently writing a process that generates Powerpoint reports programmatically from a given template using the MSXML library via VBScript. The only manipulation of the XML I'm doing is to duplicate slides, insert data into the Excel datatables for charts and a couple of title-text text replacements. I'm testing on 2 templates which a...

PowerPoint 2003 with PowerPoint 2007 compatibility pack save as pptx

Hi, I want to create and save a PowerPoint presentation as PPTX using PowerPoint 2003 PIA, with office 2007 compatibility pack installed? is it possible how do i achieve this? PropertyValues.PptPresObj.SaveAs(_pptTemporaryFilePath, PpSaveAsFileType.ppSaveAsPresentation, _ MsoTriState.msoFalse) T...

When creating a presentation programatically, how to split a large blob of text between slides?

I am creating a presentation programatically using presentationml. The full presentation will be a long table with rows having various amounts of text. What is the best way to figure out where to split the table? Or is there a way to make PowerPoint split it by itself? ...

accessing SmartArt shapes when the SmartArt is inside a Placeholder (powerpoint 2007)

I need to go through each shape of a smart-art in PowerPoint 2007. When shape.Type=msoSmartArt then I could simply go through the shapes in shape.GroupItems. However, when shape.Type == msoPlaceholder && shape.PlaceholderFormat.ContainedType==msoSmartArt then shape.GroupItems is empty. How can I access the smart-art shapes in such a cas...

Powerpoint - Getting the original Shape from inside a Placeholder (programatically)

I'll give an example with a SmartArt Shape, but it could be asked about other shapes too. When I go over Slide.Shapes, one of the Shapes has: Shape.Type=msoPlaceholder and Shape.PlaceholderFormat.ContainedType=msoSmartArt Is there a way to get to the actual SmartArt Shape contained in the placeholder? Thanks, Arie ...

VSTO: How to forbid the context menu of chart in presentation slide ?

I'm developing an add-in of Powerpoint in VSTO. When I have inserted a chart into the slide, and I don't want show the context menu when user right-click the chart. I forbid some command button of powerpoint, <command idMso="TabChartToolsDesign" getEnabled="GetVisible"/> <command idMso="ChartChangeType" getEnabled="GetVisible"/> <comm...

Slides.InsertFromFile deletes hyperlinks from SmartArt (PowerPoint 2007)

(Powerpoint 2007) I have a slide with a "Vertical block List" Smart-Art. It contains several bullets, some of which have hyperlinks in the text. When I use Slides.InsertFromFile to insert that slide into another presentation, the text of the hyperlinks is still underlined but the link address is empty. (same happens with a "Basic block...

PowerPoint printing using activex control

Hi People, We have written an ActiveX control using C# to use it in Microsoft PowerPoint. The control has following Title: 'Test Viewer'. When I place the control in PowerPoint in edit mode, I see the title in control. But when I print the slide, it show me a big "X" in the print output. Print preview looks proper. I tried using 'Prin...

Activex issue in powerpoint

Hi People, We have written an ActiveX control using C# to use it in Microsoft PowerPoint. The control has following Title: 'Test Viewer'. When I place the control in PowerPoint in edit mode, I see the title in control. But when I print the slide, it show me a big "X" in the print output. Print preview looks proper. I tried using 'PrintD...

Generate report slideshow from .Net

I need to create a simple slide with text and pictures. This will be done from a .Net 4.0 application. I'm open to various formats. I could target PDF, XPS, or PowerPoint for example. My highest priority is that I can get up and running quickly. What API's can you recommend? Note, I am entirely unconcerned with document or vendor p...

Split and convert Microsoft PowerPoint presentations on a Linux server

Hi I have to implement a web service, which takes a Microsoft PowerPoint presentation as an input, and outputs: every slide as a standalone ppt file text for indexing optionally a preview picture It should also be able to combine ppt files together. Is openoffice headless can solve this task on a server, or should I go with .NET? ...

PowerPoint 2007 - Programatically insert data?

Hi, I know PowerPoint supports macros But is there a way I can insert data from a datasource into a placeholder or something? I've got a routine where I collect data from a database and store it in the registry. This data is then inserted into several Word templates. And this is working. But I can't find any bookmark support in PowerPoi...

Office 2007 is unable to open files when called through JACOB from a service

I'm using JACOB to do COM calls to PowerPoint and other Office applications from Java. On a particular Windows 7 box I'm getting the following message quite often, but not always: Source: Microsoft Office PowerPoint 2007 Description: PowerPoint could not open the file. From excel I get: ERROR - Invoke of: Open Source: Microsoft Offic...

Why doesn't my custom shape fill properly in PowerPoint?

I'm trying to create a number of AutoShapes in code (don't ask why...hehehe). I am using the parameters supplied by Open XML to re-create them and some are working okay, like creating a heart. In some cases, I can create the shape, but it doesn't fill properly. Here's the XML from DrawingML for a FoldedCorner shape: <foldedCorner> ...

SCORM Quizzes from Office

Does anyone know of MS Office (Word, Excel or PowerPoint) templates for create a SCORM quiz? Paid or free, but must be customizable in VSTO or VBA. Thx! ...

Is there a way to develop custom SmartArt?

Is there a way to develop custom SmartArt for PowerPoint. I'm not looking for a way to develop "fake" smart art, like add a bunch of shapes and then group them and copy/paste between presenations. I'd like to create a number of new SmartArts that are based on this kind of fake SmartArt that my company uses, but have it "smart", like hitt...

C# PowerPoint 2007 management: .Hyperlink.Address always NULL

Hi, I have this problem, I use : //someWord is a TextRange object from PPT TextBox String address = someWord.ActionSettings[PpMouseActivation.ppMouseClick].Hyperlink.Address; I'm sure that this is the way to read address to webpages in a link, I was using this in PPT 2003, and it works! BUT, now I'm trying to do the same in PPT 2007 ...