Excel Home


译者:fanjy 来源:http://blogs.msdn.com/excel

Document Themes Part II

文档主题(Document Themes)—第2部分

Last time, we looked at what a Document Theme (“theme”) was, some of the places it shows up in the Excel UI, and a few examples of why themes are useful. Today I wanted to cover how to change, create, and modify themes, how to tweak themes, and themes and templates.
在上篇文章中,我们着重介绍了Document Theme(简称“theme”)(文档主题)的概念,它在Excel用户界面中显示的一些地方,并且还举例说明了为什么文档主题是有用的。今天,我将介绍如何改变、创建和修改文档主题,如何调整文档主题,以及主题和模板。

Changing and Creating Themes

Not everyone is going to like the default theme we ship out of the box, corporations and individuals are going to want to create their own themes, and some users will want special themes for special purposes (for example, grayscale for printing certain sorts of documents). Accordingly, users can easily switch between themes, create their own, load them from disk, etc. Here is a look at the UI for performing those tasks.

(Click to enlarge)

Changing the theme for your document is as simple as selecting a new theme from the gallery of options. As soon as you select a new theme, any themed content in your document is updated accordingly. For example, here is what the document from the previous post looks like after I select the “Academic” theme.

(Click to enlarge)

For reference, here is what the document looked like before the theme was changed

(Click to enlarge)

You can see all the theme elements – font, colours, effects – update to give the document a new, but still consistent and pleasant look. In addition, the colour pickers, font picker, and other galleries also update to reflect the new theme.

Two of the most common complaints about the “auto formatting” that we shipped in current versions of Excel were (1) that it got old and stale very quickly and (2) that it wasn’t possible to tweak it so that it looked exactly how you wanted it to look. In order to address these problems, we made sure that themes were “tweakable” on many levels. Users can change the colours, fonts, or effects used by a theme by using the appropriate controls on the Page Layout tab …
在现有Excel版本中,关于“自动套用格式”功能的最常见抱怨中的两个是:(1)(内置的格式)陈旧且没新意(2)不能按用户的需要进行调整。为了处理这些问题,我们确定:主题的多个方面都是可以调整的。通过在页面布置框(Page Layout tab…)中使用合适的按钮,用户能改变应用于主题的颜色、字体或效果。

(Click to enlarge)

Users can also create their own colour schemes and font schemes, mix and match various built-in and custom colour, font, and effects schemes, and even save the combinations as new themes for use in other documents. Finally, new themes will be available for users to download from Office Online.
用户也能够创建自已的颜色组合和字体组合,混合和搭配不同的内置和自定义的颜色、字体和效果组合,甚至保存合并的结果作为新的主题以便在其它的文档中使用。最后,新主题也可以在Office Online中下载。


(Click to enlarge)

Themes and Templates

One of the things we wanted to enable with this set of features was corporations deploying a standard “look and feel” to their documents across their organization. Themes, in conjunction with templates, should help considerably in this regard. Let me quickly clarify the relationship between themes and templates.

A theme file is a standalone file (you probably spotted that when looking at the Save As dialog above) that contains the colour, font, and effects information about the theme. Every document created with Office 2007 has a theme inside it; the information comes from a theme file. When a user applies a new theme, the information in the document is updated.
主题文件是一种独立类型的文件(当看到上面的另存为对话框时你可能已经发现了),包含颜色、字体和效果信息。在Office 2007中创建的每个文档都有一个主题,这个信息来源于主题文件。应用新的主题时,文档中的主题信息也相应地更新。

A template (.xltx in Excel 2007) is a special document type that has existed for many versions of Excel. Templates can contain content, layout, formatting, and, in Excel 2007, a theme. Accordingly, if a corporation (or an individual for that matter) wants to have a consistent look and feel for its documents, they simply need to design a theme (with the company colours in mind perhaps) and make that part of a template. The template can then be deployed to users at the same time as Office.
一个模板(在Excel 2007中后缀为.xltx)是一种已存在于多个Excel版本中特定的文档类型,包含了目录,版面,格式和主题(在Excel2007中)。因此,如果公司(或有特定目的的个人)想使他们的文档在外观和感觉上一致,只需简单地设计一个主题(或许带有公司的颜色)成为模板的一部分。模板能够在Office软件被部署时一同分发给用户。

Shared Architecture

One other point I want to make about themes is that Excel 2007, Word 2007, and PowerPoint 2007 all support the theme architecture. This means they all can read and write the same themes and theme files, which in turn means that it will be very easy to create spreadsheets, presentations, and documents that closely match each other. Additionally, since all three applications read the same theme files, updating the look of your spreadsheets, presentations, and documents is as simple as changing the theme file – the rest is handled automatically by the applications.
在Excel 2007、Word 2007和PowerPoint 2007中都支持主题结构。这意味着它们都能读和写相同的主题和主题文件,非常容易地创建电子表格、演示文档和文档,彼此相互兼容。此外,由于三个应用程序读相同的主题文件,更新你的电子表格、演示文档和文档的外观就像改变主题文件一样简便——剩下的就由应用程序来自动处理了。
That’s it for themes. Next, I will cover styles in a bit more detail (which is another set of features that show off theme capabilities).

Published Friday, March 24, 2006 8:45 PM by David Gainer

注:本文翻译自http://blogs.msdn.com/excel,原文作者为David Gainer(a Microsoft employee),Excel home授权转载。严禁任何人以任何形式转载,违者必究。


未经允许不得转载:ExcelHome » 文档主题_Excel2007的新特性(二)

本站特聘法律顾问:李志群律师   沪ICP备11019229号-2

沪公网安备 31011702000001号