Indezine Logo

Theme XML Files

Learn how you can open up the files contained within the THMX wrapper, and edit Themes for Microsoft Office.


Product/Version: PowerPoint

OS: Microsoft Windows XP and higher

If you followed my previous topic about saving a theme, you know that your saved theme has the THMX file extension. THMX actually stands for an Office Theme Document file. However, what it hides is more important in this case than what it stands for.

A THMX file and any of the new file formats that Office 2007 and later use are actually XML based file formats. Also they are more like a wrapper that contain many disparate and related elements, as we will show you soon.

Brian Jones, a Program Manager for Microsoft Office has put up a detailed blog that discusses the new Office file formats. In addition to the file format itself, his blog talks about related stuff including ODF, OpenXML, etc. Here's a link to his blog.

And here's an interview with Brian Jones on the Channel9 site.

So how is a THMX file a wrapper? This one is easy. Just follow these steps:

  1. Make a copy of any of the THMX files in your system, or just save a THMX file from within PowerPoint and save it to somewhere easy to locate such as your Desktop (see Figure 1).
  2. A THMX file placed on the Desktop
    Figure 1: A THMX file placed on the Desktop
  3. Now ensure that your system is set to show file extensions.
  4. Now, right-click the file, and choose Rename, or just press F2. Add a ".zip" without the quotes right after the name of the file. For example if your original file name was:
  5. indezine theme.thmx
  6. It would be renamed to:
  7. indezine
  8. Windows will warn you that renaming the file extension could render this file unusable -- but since you are just working on a test file for now, go ahead and ignore this error by clicking the Yes button that you can see in Figure 2.
  9. Ignore this warning
    Figure 2: Ignore this warning
  10. Now that you have renamed the THMX file with a ZIP extension, would you believe if we told you that the original THMX file was in fact just another ZIP file with a new extension? You may or may not believe that. The easiest way to find out is by double-clicking on the renamed ZIP file.
  11. Depending upon whether you have a program like WinZip or similar installed or not, one of two things will happen:
  12. If you have no extra zipping or archiving programs installed, then the new ZIP file will open just like a conventional folder that you can see in Figure 3.
  13. The Theme Zip files shows up like a folder
    Figure 3: The Theme Zip files shows up like a folder
  14. On the other hand if you have WinZip or another compression/archiving program installed, then the ZIP file will open in that program as you can see in Figure 4.
  15. The Theme ZIP file open in WinZip shows folders and files
    Figure 4: The Theme ZIP file open in WinZip shows folders and files
  16. Either way, you can now see that the original THMX file was actually nothing more than a collection of folders and files that comprise the Theme -- you'll find all sorts of files within the THMX wrapper including XML files, JPEG images, etc.
  17. The cool part is that if you know what you are doing, you can actually edit these XML files, and even replace the JPEG files! There's no harm caused by playing with these files since you are just working with a test file.
  18. Once you have made any changes, go ahead and rename the ZIP extension back to THMX. You should be able to use this Theme file in your Office documents.

Remember: Even though we just renamed the THMX file ZIP in the example shown above, you should always work with a backup copy of your THMX file so that all is not lost if you make an error while editing it, or the contents within the THMX.

Compressed Folders

Do you like the compressed folders option in Microsoft Windows XP, Vista, and 7? Some people like it, some don't but we really like this option to be turned on because we like playing with THMX zip files without actually unzipping them.

We found these links that help you enable and disable these options in Windows XP and Windows Vista:

Disable (and Enable) Windows XP's Built In ZIP Support

How do we turn off Compressed Folders (built-in support for ZIP files) in Windows Vista and XP?

Related Links: Theme Builder | Opening Existing Themes in Theme Builder

See Also:

Themes – XML Editing: Theme XML Files (Index Page)

You May Also Like: Interactive Narration for e-Learning: Conversation with Joel Harband | Western Sahara Flags and Maps PowerPoint Templates

Popular Posts

Add Pattern Fills to Shapes in PowerPoint 2010 for Windows
Add Pattern Fills to Shapes in PowerPoint 2010 for Windows
Add pattern fills to shapes in PowerPoint 2010 for Windows.

Gradient Fills for Text in PowerPoint 2013
Gradient Fills for Text in PowerPoint 2013
Learn how to add gradient fills to selected text in PowerPoint 2013.

Formatting Outlines for Shapes (Dashes) in PowerPoint 2013 for Windows
Formatting Outlines for Shapes (Dashes) in PowerPoint 2013 for Windows
Learn how to apply the dash attribute to shape outlines in PowerPoint 2013 for Windows.

Change the Unit of Measurement in Windows 10
Change the Unit of Measurement in Windows 10
Learn how to change the unit of measurement from US to Metric, and vice versa in Windows 10.

PowerPoint Keyboard Shortcuts and Sequences:
PowerPoint 2016, 2013, 2011, 2010, 2007 and 2003 for Windows
PowerPoint 2016 and 2011 for Mac
PowerPoint Online for Windows and Mac

Have your ever used keyboard shortcuts and sequences in PowerPoint? Or are you a complete keyboard aficionado? Do you want to learn about some new shortcuts? Or do you want to know if your favorite keyboard shortcuts are documented?

Go and get a copy of our PowerPoint Keyboard Shortcuts and Sequences ebook.

This is the original page. An AMP (Accelerated Mobile Page) version of this page is also available for those on mobile platforms, at Theme XML Files.

Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.

Home | PowerPoint | Photoshop | PowerPoint Templates | PowerPoint Tutorials | Blog | Notes | Ezine | Media Kit | Feedback | Site Map | About Us | Contact Us

Link to Us | Privacy | Testimonials

PowerPoint Backgrounds | Christian PowerPoint Backgrounds | Business PowerPoint Presentation Templates

Plagiarism will be detected by Copyscape

©2000-2023, Geetesh Bajaj. All rights reserved.