Hi,
Has anyone ever dissected an xml theme file from inside a .potx PowerPoint 2007 template?
i.e. change the extension to .zip, navigate throught the folders ppt > theme, then edit one of the theme1.xml files?
Does anyone know anywhere where I can get info on these files? Failing that, does anyone know any of the following:
- In my template, in ppt > theme, there are three theme files (theme1.xml, theme2.xml and theme3.xml). What are these three files used for?
- In the theme files in my template, the xml can be broken down into the following (heavily trunkated by me for clarity) groups:
<a:themeElements>
<a:clrScheme name="COMPANY PowerPoint Colour Theme">
DEFINITION OF COLOURS FOR ACCENTS 1-6, ETC. </a:clrScheme>
<a:fontScheme name="COMPANY PowerPoint Font Theme">
<a:majorFont>...
<a:minorFont>...
</a:fontScheme>
<a:fmtScheme name="Office">
<a:fillStyleLst>
<a:solidFill>...
<a:gradFill rotWithShape="1">...
<a:gradFill rotWithShape="1">...
</a:fillStyleLst>
<a:lnStyleLst>...
<a:effectStyleLst>
<a:effectStyle>... X3
</a:effectStyleLst>
<a:bgFillStyleLst> <a:solidFill>...
<a:gradFill rotWithShape="1">...
<a:gradFill rotWithShape="1">...
</a:bgFillStyleLst>
</a:fmtScheme>
</a:themeElements>
<a:objectDefaults> <a:spDef>...
<a:lnDef>...
<a:txDef>...
</a:objectDefaults>
<a:extraClrSchemeLst> <a:extraClrScheme>
<a:clrScheme name="COMPANY PowerPoint Colour Theme">
DEFINITION OF COLOURS FOR ACCENTS 1-6, ETC </a:clrScheme>
<a:clrMap bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2"...
</a:extraClrScheme>
</a:extraClrSchemeLst>
</a:theme>
I'd like to know what each section does, especially the extra color scheme (extraClrSchemeLst) at the bottom.
- In theme elements, there are fillStyleLst defnitions.... are these what appears in the Format Shape > Fill > Gradient Fill > Preset Colors? If so what's the syntax to have my own sensible colours appear?
- What are the rules about editing these files. Clearly if I get it wrong PowerPoint gets rather upset... is that because certain elements are required, or because I may have produced some bad xml?
I did look at the suggestions that MS Answers threw up as I was asking this, and I did see these links:
http://www.echosvoice.com/2007/addcolorstotheme.htm
http://www.echosvoice.com/PPTFiles/addColorSchemes2.pdf
but that only covers colours, and it doesn't really explain what the extra colour scheme is for or how it can be used....
Many thanks in advance for any advice or info you can supply.
Cheers
Rich