What are the WordML ver 12 tags for w:defaultFonts

D

David Thielen

Hi;

In WordML 11 there is a section that has:
<w:defaultFonts w:ascii='Arial' .../>
What is the equivilent in WordML 12?

And there is a section that has:
<w:docPr>
<w:view ...
<w:mirrorMargins ...
<w:gutterAtTop ...
<w:defaultTabStop ...
<w:evenAndOddHeaders ...
What is the equivilent in WordML 12?

Finally, does WordML 12 have a setting of the locale to apply to the
document as a whole? I know it can be set/overridden in spans but if no
locale is set anywhere, what locale shoule be used?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
J

Jialiang Ge [MSFT]

Hello Dave,

For your first question about the <w:defaultFonts:
<w:defaultFonts sets the default font in the document. In Word 2007, the
default values will be defined in the word/styles.xml file:

<w:docDefaults>
<w:rPrDefault>
<w:rPr>
<w:rFonts w:ascii="Times New Roman" w:eastAsia="Times New Roman"
w:hAnsi="Times New Roman" w:cs="Times New Roman" />
<w:kern w:val="2" />
<w:sz w:val="21" />
<w:szCs w:val="22" />
<w:lang w:val="en-US" w:eastAsia="zh-CN" w:bidi="ar-SA" />
</w:rPr>
</w:rPrDefault>
<w:pPrDefault />
</w:docDefaults>

For the second question about the equivalent of <w:view, <w:mirrorMargins,
<w:defaultTabStop, and etc, they reside in the word/settings.xml, under the
<w:settings node. Here is a blog listing all the equivalent settings and
the corresponding sections in the spec.
http://blogs.msdn.com/brian_jones/archive/2007/02/20/beyond-the-basics.aspx

For the third question, do you mean to set the language code for the
document? If that, the language code can be set in word/styles.xml, <w:lang
w:val="en-US" w:eastAsia="zh-CN" w:bidi="ar-SA" /> (see the example for
the first question.). Language Code Table could be found in Section 2.15.52
of the spec: office Open Xml Part4. If I am off base, please feel free to
let me know.

Sincerely,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
For MSDN subscribers whose posts are left unanswered, please check this
document: http://blogs.msdn.com/msdnts/pages/postingAlias.aspx

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express/Windows Mail, please make sure
you clear the check box "Tools/Options/Read: Get 300 headers at a time" to
see your reply promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top