自定义"新"在Word选项卡后台添加自定义模板 [英] Customize "New" tab in Word backstage to add custom templates

查看:368
本文介绍了自定义"新"在Word选项卡后台添加自定义模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想自定义Word的后台在新建选项卡,而不是另一回事。结果
模板来自Web服务添加自定义模板。我使用的Office 2010应用程序是在C#和Visual Studio 2010开发。

I want customize Word's backstage to add custom templates in "New" tab and not another.
Templates come from a web service. I use Office 2010. Application is develop in C# with Visual Studio 2010.

这可能吗?

推荐答案

您可以添加自定义模板到的的Word的通过提供XML清单,其中描述了模板和预览图像的位置Backstage视图的标签。

You can add custom templates to the New tab of Word's backstage view by providing an XML manifest, which describes the template and the location of a preview image.

在这里介绍的详细步骤:

The detailed steps are described here:

部署在2007 Office自定义模板系统

Deploy custom templates in the 2007 Office system

要知道,虽然这是一个很少使用的功能,因此是相当支持甚少。例如,我发现了以下缺陷:

Be aware though that this is a rarely used feature and therefore is rather poorly supported. For example, I found the following shortcomings:


  • 当使用自定义打开文件夹模板第一次,视图是空的。您访问Backstage视图中的第二次,模板中。

  • 预览和缩略图缓存在本地。不过,我从来没有发现一种方法来更新本地高速缓存(缓存的位置是%LOCALAPPDATA%\Microsoft\Office\Spotlight\14 ,更换14与任何您的Office版本)。当手动删除缓存,您还必须删除以下注册表项: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common\Spotlight\Content\<供应商名称> (以您的Office版本是14替换)

  • When opening the folder with the custom templates the first time, the view is empty. The second time you access the backstage view, the templates are shown.
  • Preview and thumbnail images are cached locally. However, I never found a way to update the local cache (the location of the cache is %LOCALAPPDATA%\Microsoft\Office\Spotlight\14, replace 14 with whatever your Office version is). When manually deleting the cache, you will also have to delete the following Registry key: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common\Spotlight\Content\<provider name> (replace 14 with whatever your Office version is).

这篇关于自定义&QUOT;新&QUOT;在Word选项卡后台添加自定义模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆