XLSX - majorFont or minorFont

J

Jialiang Ge [MSFT]

Hello Dave,

As we know, minorFont is for body and majorFont is for heading. When we
create a custom font theme and apply the theme to the current workbook,
Excel 2007 internally copy the fonts to the <fonts> element in style.xml
and bind the cell's font style to the corresponding font id (You may find
that the cells are having a property s="1" which points to a style). The
fonts in theme.xml is just to let Excel know what font themes are available
to the current workbook, so that Excel could build the font theme list in
its UI. The cells are not bound to the theme but to the style. And Excel
does not know to use the theme1.xml <a:minorFont> fonts because it is using
the fonts in style.xml.

If you have any other concern or need anything else, 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.
 
J

Jialiang Ge [MSFT]

Hello Dave,

If there is no font set, it uses the first match (minor or major) in
styles.xml <fonts>. Those default entries in the <fonts> element are
hardcoded according to the application level settings, such as the default
font size, etc. The default font size could be configured in Excel Options
-> Popular -> Default size.

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

=================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
J

Jialiang Ge [MSFT]

Hi Dave,

If you need further assistance for this issue, feel free to let me know. I
will be more than happy to be of assistance.

Have a great day!

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

=================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=================================================
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