Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Note
iconfalse

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

Table of Contents

Table of Contents
Introducedin
4.1.0.1379
4.1.0.1379
Description

Excerpt

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.

Signature
C#
C#
<p>public static class SharePointIntegration</p>
Remarks

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.

Example

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.

Methods

Name

Description

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

Excerpt Include
SharePointIntegration.ImportData(Element, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList, DataBindingProperties)
SharePointIntegration.ImportData(Element, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList, DataBindingProperties)
nopaneltrue

ImportData(Element, Microsoft.SharePoint.SPList)

Excerpt Include
SharePointIntegration.ImportData(Element, Microsoft.SharePoint.SPList)
SharePointIntegration.ImportData(Element, Microsoft.SharePoint.SPList)
nopaneltrue

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

Excerpt Include
SharePointIntegration.Open(WordApplication, Microsoft.SharePoint.SPDocumentLibrary, String)
SharePointIntegration.Open(WordApplication, Microsoft.SharePoint.SPDocumentLibrary, String)
nopaneltrue

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

Excerpt Include
SharePointIntegration.Open(WordApplication, Microsoft.SharePoint.SPListItem, String)
SharePointIntegration.Open(WordApplication, Microsoft.SharePoint.SPListItem, String)
nopaneltrue

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

Excerpt Include
SharePointIntegration.Open(WordTemplate, Microsoft.SharePoint.SPDocumentLibrary, String)
SharePointIntegration.Open(WordTemplate, Microsoft.SharePoint.SPDocumentLibrary, String)
nopaneltrue

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

Excerpt Include
SharePointIntegration.Open(WordTemplate, Microsoft.SharePoint.SPListItem, String)
SharePointIntegration.Open(WordTemplate, Microsoft.SharePoint.SPListItem, String)
nopaneltrue

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

Excerpt Include
SharePointIntegration.Save(WordApplication, Document, Microsoft.SharePoint.SPListItem, String)
SharePointIntegration.Save(WordApplication, Document, Microsoft.SharePoint.SPListItem, String)
nopaneltrue

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

Excerpt Include
SharePointIntegration.Save(WordApplication, Document, Microsoft.SharePoint.SPDocumentLibrary, String, Boolean)
SharePointIntegration.Save(WordApplication, Document, Microsoft.SharePoint.SPDocumentLibrary, String, Boolean)
nopaneltrue

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

Excerpt Include
SharePointIntegration.Save(WordTemplate, Microsoft.SharePoint.SPListItem, String)
SharePointIntegration.Save(WordTemplate, Microsoft.SharePoint.SPListItem, String)
nopaneltrue

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

Excerpt Include
SharePointIntegration.Save(WordTemplate, Microsoft.SharePoint.SPDocumentLibrary, String, Boolean)
SharePointIntegration.Save(WordTemplate, Microsoft.SharePoint.SPDocumentLibrary, String, Boolean)
nopaneltrue

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

Excerpt Include
SharePointIntegration.SetDataSource(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList, String)
SharePointIntegration.SetDataSource(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList, String)
nopaneltrue

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

Excerpt Include
SharePointIntegration.SetDataSource(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList)
SharePointIntegration.SetDataSource(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList)
nopaneltrue

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

Excerpt Include
SharePointIntegration.SetDataSource(WordTemplate, Microsoft.SharePoint.SPList, String)
SharePointIntegration.SetDataSource(WordTemplate, Microsoft.SharePoint.SPList, String)
nopaneltrue

SetDataSource(WordTemplate, Microsoft.SharePoint.SPList)

Excerpt Include
SharePointIntegration.SetDataSource(WordTemplate, Microsoft.SharePoint.SPList)
SharePointIntegration.SetDataSource(WordTemplate, Microsoft.SharePoint.SPList)
nopaneltrue

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

Excerpt Include
SharePointIntegration.SetMailMerge(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList, Integer)
SharePointIntegration.SetMailMerge(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList, Integer)
nopaneltrue

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

Excerpt Include
SharePointIntegration.SetMailMerge(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList)
SharePointIntegration.SetMailMerge(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList)
nopaneltrue

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

Excerpt Include
SharePointIntegration.SetMailMerge(WordTemplate, Microsoft.SharePoint.SPList, Integer)
SharePointIntegration.SetMailMerge(WordTemplate, Microsoft.SharePoint.SPList, Integer)
nopaneltrue

SetMailMerge(WordTemplate, Microsoft.SharePoint.SPList)

Excerpt Include
SharePointIntegration.SetMailMerge(WordTemplate, Microsoft.SharePoint.SPList)
SharePointIntegration.SetMailMerge(WordTemplate, Microsoft.SharePoint.SPList)
nopaneltrue

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

Excerpt Include
SharePointIntegration.SetRepeatBlock(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList, String, Int)
SharePointIntegration.SetRepeatBlock(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList, String, Int)
nopaneltrue

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

Excerpt Include
SharePointIntegration.SetRepeatBlock(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList, String)
SharePointIntegration.SetRepeatBlock(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList, String)
nopaneltrue

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

Excerpt Include
SharePointIntegration.SetRepeatBlock(WordTemplate, Microsoft.SharePoint.SPList, String, Int)
SharePointIntegration.SetRepeatBlock(WordTemplate, Microsoft.SharePoint.SPList, String, Int)
nopaneltrue

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

Excerpt Include
SharePointIntegration.SetRepeatBlock(WordTemplate, Microsoft.SharePoint.SPList, String)
SharePointIntegration.SetRepeatBlock(WordTemplate, Microsoft.SharePoint.SPList, String)
nopaneltrue