extract a background from ppt powerpoint file - powerpoint

Does anyone know how to extract a background from a powerpoint ppt file? I have been googling about it and I read something about a slideshow master, but I don't see it anywhere.
I am running Microsoft PowerPoint 2008 on Mac.

You'll probably have to use Applescript to do the job if you intend to automate this. PPT 2008 lacks VBA. MacTech magazine has a thorough guide to automating Office 2008 via Applescript on their site, by the way.
In practice, if you know which slide's background you want to extract, and assuming you want to extract it as an image, you'd create a duplicate of the slide, delete all of the shapes on the slide (which'd leave just the background graphics), then use the Slide.Export method to save an image file at whatever resolution you need, up to 3000 pixels wide or so.
If there's any way to bag 2008 and use 2011 instead, life will be simpler and you'll leave it with more hair intact. ;-)

Related

Can you change the theme of an existing powerpoint with Python-pptx?

I was wondering if there was any way I could change the theme of an existing PowerPoint using Python-pptx.
I realise that the easiest way of inserting a specific theme of a powerpoint, you just open a "template powerpoint" with the theme in it. However, I want to automize converting themes of existing PowerPoints, I'm not creating new PowerPoints from scratch.
You might say: just copy and paste slides into the PowerPoint with a specific theme. However, copy and pasting slides is extremely error-prone as well, seeing they work with slide indices which seem quite tricky. And I'm not even sure whether the pasted slides automatically assume the theme of the new document.
Therefore I was wondering if anyone knew of some kind of theme object I could call and change using Python-pptx?
Thanks in advance
The short answer is no. Implementing that would be a fairly big deal and there are no current plans to add it.
If you wanted to do that to several decks, you might explore using Visual Basic for Applications to do it in a Microsoft Windows environment. You might also explore using the win32com interface to control the PowerPoint application from Python, I think that also requires a Windows environment.

How to Insert svg images in PowerPoint?

I was able to add svg images into PPT so far, now suddenly unable to add them. when I add, it comes as internet explore icon with name of the image. anybody have any ideas why it changed suddenly? Is there any way without opening it in Illustrator and bring to ppt?
In the web version of PowerPoint you can drag and drop an SVG from your computer into a slide and it will be inserted as an image.
I've used the following workaround: import the SVG file into a LibreOffice Impress (it might look a bit ugly in LibreOffice, but don't worry), and then save this as a PowerPoint presentation.
When you open this file in PowerPoint, you'll find that your vector graphic will be correctly displayed.
Note that the feature to import vector graphics is included in Microsoft's subscription-based Office 365.

How to open autocad and draw shapes?

I have a question.I have an application that users can draw various shapes on it.
I'd like to have a button so when it is clicked autocad opens and my shapes appear in autocad.how can I do this?
thanks in advance.
You need to save your shapes in dwg or dxf format. If you're already using ObjectARX it should be easy, if not, you might want to read about it. You can then open the file normally or run Autocad with the file name as a parameter to open it.
You have to write an AutoCAD plugin by using AutoCAD.Net SDK instead of writing application out of AutoCAD.
AutoCAD has no feature like office application for controlling it like Microsoft.Office.Interop for accessing from out of it.

Can I save a DMBL layout as a jpeg/png?

Is it possible to save the layout diagram from a DBML file as a jpeg/png or any other image format?
A manager wants to know what we are storing in our database and the print out wasn't enough he wants an electronic version.
I know I can use a screen-shot but wonder if there are any other options? I've just thought about printing to a PDF printer as well. Still would be nice if there was a save to PNG
Thanks
If you are a MSOffice user, you can use Microsoft OneNote (copy diagram over there and then export it to a PNG), or you can use Snipping Tool, which is basically a nice tool for taking screen shots out of portions of the screen.
In the end I just used a PDF printer which worked quite nicely.

Inject Open XML into an Open PowerPoint Presentation

I'm looking for a way to inject PresentationML and/or DrawingML into an open PowerPoint 2007/2010 presentation using the Open XML SDK or just System.IO.Packaging. There is an article on doing this with Word, but in that example it is using the Range.XML routine in Word's object model, which I cannot find an equivalant for in PowerPoint's object model.
The reason I'm looking to do this is if I have an item on it that the PowerPoint client does not support editing of but that Open XML does (and as a result, PowerPoint will display it). I want to set this myself via a managed-addin (VSTO) on the open presentation. An example would be the underline of text (not that I'm looking for this, but it is an example) - in PowerPoint, you cannot make the underline of text a picture <a:blip/>, but in Open XML you can.
Does anyone know how to do this?
I am using both OpenXML SDK 2 and the Object Model to process presentations.
What I do, simplistic as it sounds, is to save the presentation, close it, perform all the XML modifications I need using OpenXML SDK, and then load the presentation back and continue with the Object Model.
Nope, according to Microsoft support: http://www.ureader.com/msg/10972430.aspx

Resources