D
David Thielen
Hi;
Ok, I've read through all the Open XML docs and they say that the theme is
applied first for styles - but no where does it say how you find the
theme1.xml file or the named scheme in it.
I created a simple docx file (Hello World) and I see what is happening, but
not how to get it.
1) Where does it reference that the theme file is word\theme\theme1.xml? It
is listed in [Content_Types].xml and has a reference ID in
word\_rels\document.xml.rels but nowhere else does anything make use of that
reference id or filename? Do I assume there is only 1 theme file in
[Content_Types].xml?
2) In theme1.xml it has <a:fontScheme name='Office'> - I assume that there
can be multiple themes and the default or applied one is set by name. Where
do I find the name for the theme applied to the document?
3) In styles.xml it has "<w:rFonts w:asciiTheme="minorHAnsi"
w:eastAsiaTheme="minorHAnsi" w:hAnsiTheme="minorHAnsi"
w:cstheme="minorBidi"/>" under <w:rPrDefault><w:rPr> so I assume this is the
font to use if no font is specified. Then in theme1.xml it has "<a:minorFont>
<a:latin typeface="Calibri"/>". Does minorHAnsi map to minor/latin? If so,
what are all the mappings?
Is there somewhere where this is all documented?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
Ok, I've read through all the Open XML docs and they say that the theme is
applied first for styles - but no where does it say how you find the
theme1.xml file or the named scheme in it.
I created a simple docx file (Hello World) and I see what is happening, but
not how to get it.
1) Where does it reference that the theme file is word\theme\theme1.xml? It
is listed in [Content_Types].xml and has a reference ID in
word\_rels\document.xml.rels but nowhere else does anything make use of that
reference id or filename? Do I assume there is only 1 theme file in
[Content_Types].xml?
2) In theme1.xml it has <a:fontScheme name='Office'> - I assume that there
can be multiple themes and the default or applied one is set by name. Where
do I find the name for the theme applied to the document?
3) In styles.xml it has "<w:rFonts w:asciiTheme="minorHAnsi"
w:eastAsiaTheme="minorHAnsi" w:hAnsiTheme="minorHAnsi"
w:cstheme="minorBidi"/>" under <w:rPrDefault><w:rPr> so I assume this is the
font to use if no font is specified. Then in theme1.xml it has "<a:minorFont>
<a:latin typeface="Calibri"/>". Does minorHAnsi map to minor/latin? If so,
what are all the mappings?
Is there somewhere where this is all documented?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm