Solved

Is it possible to store and access "hidden" images inside a PowerPoint .potm file?

Posted on 2014-02-18
4
305 Views
Last Modified: 2014-02-19
As we know, starting with 2007, MS Office applications save files in an format that is actually group of xml and other files inside a zip package.  I have experience cracking these open and seeing what's inside them.

Building a corporate template (.potx), and I can see where background images and other graphics are stored inside the ppt\media\ folder of the zip package.

My template includes a bunch of layouts with background images.  I'd like my user to be able to use macro buttons to swap in different background images matching an alternate theme.  I know how to do that with the image files living in a folder on the network or the computer.  But it would be cool if those images could be contained inside the template file so they all travel together.

So:  Is there a way to store image files INSIDE a .potx without having them appear in visible slides or layouts?   How can I then address and manipulate those image files inside the .potx using VBA?

Thanks.
0
Comment
Question by:versatilebb
  • 2
4 Comments
 
LVL 23

Accepted Solution

by:
JSRWilson earned 500 total points
ID: 39870997
Probably technically possible. You would probably need to rename the potx with code to .zip, unzip and extract the image with vba. For me not worth it.

We have created files with a custom layout that isn't used and with images set to visible= false. Easy to copy paste and set to visible with code.
0
 

Author Comment

by:versatilebb
ID: 39871242
I agree it would be easier to store these images with image visibility set to false.  I've used that technique before.

Please tell me more about  "...files with a custom layout that isn't used..."  Is there a way to tag a layout as hidden so it does not show up in the NewSlide dropdown gallery?
0
 
LVL 23

Expert Comment

by:JSRWilson
ID: 39871656
Unfortunately there isn't. I was just suggesting creating one that wasn't normally used. Though even if it is the images will not show in normal view
0
 
LVL 24

Expert Comment

by:Echo_S
ID: 39872431
You know, the two vertical layouts won't show in the New Slide gallery unless you have certain languages (right-to-left? vertical top-to-bottom?) installed or enabled or some such. (Obviously I'm fuzzy on the details right now.)

So if your users won't have, for example, Japanese installed then those layouts might be a good place to dump invisible holding shapes and images.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

 Regular Expressions Microsoft Word has sophisticated search tools that can search for patterns. For example if you wanted to search for all UK phone numbers that followed a pattern of five digits, a space and then six digits you can easily do th…
My experience with Windows 10 over a one year period and suggestions for smooth operation
This video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now