SharePointIntegration is only available in WordWriter Enterprise Edition. (WordWriter Editions)

Table of Contents

The SharePointIntegration class contains the extension methods that allow users to bind SharePoint data sources to Word documents as well as open and save files in SharePoint lists and document libraries.

<p>public static class SharePointIntegration</p>

The SharePointIntegration class is to be used on a SharePoint server to use the WordTemplate, WordApplication, and Element objects with SharePoint. SharePointIntegration belongs to the SoftArtisans.OfficeWriter.WordWriter namespace and has the Microsoft.SharePoint class as a dependency. Additionally, the SharePointIntegration class belongs in a separate DLL, SoftArtisans.OfficeWriter.WordWriter.SharePointIntegration.dll, which must be added to the bin directory of your project.

SharePointIntegration is an abstract class which cannot directly be instantiated, but rather contains extension methods for the WordApplication, WordTemplate, and Element objects. Use SharePointIntegration extensions just as you would the other methods of each object, remembering to add references to the Microsoft.SharePoint namespace.

Name

Description

ImportData(Element, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList, DataBindingProperties)

ImportData(Element, Microsoft.SharePoint.SPList)

Open(WordApplication, Microsoft.SharePoint.SPDocumentLibrary, String)

Open(WordApplication, Microsoft.SharePoint.SPListItem, String)

Open(WordTemplate, Microsoft.SharePoint.SPDocumentLibrary, String)

Open(WordTemplate, Microsoft.SharePoint.SPListItem, String)

Save(WordApplication, Document, Microsoft.SharePoint.SPListItem, String)

Save(WordApplication, Document, Microsoft.SharePoint.SPDocumentLibrary, String, Boolean)

Save(WordTemplate, Microsoft.SharePoint.SPListItem, String)

Save(WordTemplate, Microsoft.SharePoint.SPDocumentLibrary, String, Boolean)

SetDataSource(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList, String)

SetDataSource(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList)

SetDataSource(WordTemplate, Microsoft.SharePoint.SPList, String)

SetDataSource(WordTemplate, Microsoft.SharePoint.SPList)

SetMailMerge(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList, Integer)

SetMailMerge(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList)

SetMailMerge(WordTemplate, Microsoft.SharePoint.SPList, Integer)

SetMailMerge(WordTemplate, Microsoft.SharePoint.SPList)

SetRepeatBlock(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList, String, Int)

SetRepeatBlock(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList, String)

SetRepeatBlock(WordTemplate, Microsoft.SharePoint.SPList, String, Int)

SetRepeatBlock(WordTemplate, Microsoft.SharePoint.SPList, String)