HtmlTrInfo 元素HtmlTrInfo element
3/9/2015
本文内容
适用于: SharePoint 2016 |SharePoint Foundation 2013 |SharePoint Online |SharePoint Server 2013Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
在 Htmltransinfo.xml 文件(\Program Files\Common Files\Microsoft Shared\web server extensions\12TEMPLATE\XML)中用于包含映射指令,用于在客户端计算机未安装 2007 Microsoft Office 系统时将请求定向到 URL 以处理请求。Used in the HtmlTransInfo.xml file (\Program Files\Common Files\Microsoft Shared\web server extensions\12TEMPLATE\XML) to contain mapping instructions for directing a request to the URL for handling a request when the client computer does not have the 2007 Microsoft Office system installed.
AcceptHeader = "Text"
Extension = "Text"
HandlerUrl = "Text"
ProgId = "Text" />
...
元素和属性Elements and attributes
下面各部分介绍了属性、子元素和父元素。The following sections describe attributes, child elements, and parent elements.
属性Attributes
无None
子元素Child elements
父元素Parent elements
无None
说明Remarks
当客户端计算机未安装 Office 应用程序时,Microsoft SharePoint Foundation 将使用服务器上的转换器程序创建页面的 HTML 格式副本。When the client computer does not have the Office application installed, Microsoft SharePoint Foundation creates an HTML rendition of the page by using a converter program on the server.
示例Example
下面的示例演示 HtmlTransInfo.xml 文件中使用的说明。The following example shows the instructions used in the HtmlTransInfo.xml file.
HandlerUrl="HtmlTranslate.aspx" />
HandlerUrl="HtmlTranslate.aspx" />