OpenXMLDocuments Members

Applies to: SharePoint Foundation 2010

The OpenXMLDocuments control is an ActiveX control that allows a user of Microsoft SharePoint Foundation 2010 to create XML documents or forms based on a specified template, or to edit XML documents or forms with their associated applications.

The following table lists the members exposed by the OpenXMLDocuments control.

Public Methods

Name

Description

OpenXMLDocuments.CreateNewDocument Method

Creates an XML document or form based on the specified template.

OpenXMLDocuments.CreateNewDocument2 Method

Creates an XML document or form based on the specified template and instance of Internet Explorer.

CustomizeSharePointList

OpenXMLDocuments.CustomizeTemplate Method

Opens the specified XML document or form template for customization within its associated application.

OpenXMLDocuments.CustomizeTemplate2 Method

Opens the specified XML document or form template for customization within its associated application based on the specified instance of Internet Explorer.

OpenXMLDocuments.CustomizeTemplate3 Method

Opens the specified SharePoint Foundation form template (.xsn) file for customization within its associated application based on the specified list schema version, content type ID, and content type URL.

OpenXMLDocuments.CustomizeTemplate4 Method

Creates a custom SharePoint Foundation form template (.xsn) file based on the schema that is retrieved through the specified content type URL and content type ID.

OpenXMLDocuments.EditDocument Method

Opens the specified XML document or form for editing within its associated application.

OpenXMLDocuments.EditDocument2 Method

Opens the specified XML document or form for editing within its associated application.

OpenXMLDocuments.MergeDocuments Method

Opens the specified XML document or form for merging, or for handling multiple XML documents or forms, within its associated application.

OpenXMLDocuments.MergeDocuments2 Method

Opens the specified XML document or form for merging, or for handling multiple XML documents or forms, within its associated application, based on the specified instance of Internet Explorer.

OpenXMLDocuments.PromptedOnLastOpen Method

Used with the OpenXMLDocuments.CreateNewDocument2 Method method to determine whether the security dialog box that appears when an XML document or form is opened has already appeared.

OpenXMLDocuments.ViewDocument Method

Opens the specified XML document or form for reading instead of editing, so that the document is not locked on the server.

OpenXMLDocuments.ViewDocument2 Method

Opens the specified XML document or form in a specified window for reading instead of editing, so that the document is not locked on the server.

See Also

Reference

OpenXMLDocuments Control